@charset "UTF-8";

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(to bottom, rgba(98, 8, 183, 0.82),#6A007A, rgb(60, 6, 110));
  position: relative;
  font-family: "DotGothic16", sans-serif;
  font-weight: 400;
  font-style: normal;
  overflow-x: hidden;

}

/* 星の空 */
#sky {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 0;
  top: 0;
  left: 0;
  pointer-events: none;
}
/* 星 */
.star {
  z-index: 0;
  background-color: white;
  position: absolute;
  border-radius: 50%;
  animation-name: hoshi;
  animation-iteration-count: infinite;  /* ずっと続ける！ */ 
}

@keyframes hoshi {
  50% {
    transform: scale(0.2);   /*  20%に縮小！*/
  }
} 
/* 流れ星をふらせたい！ */
.shoot {
  position: absolute;
  top: -100px;
  width: 2px;
  height: 80px;
  background: white;
  opacity: 0.8;
  transform: rotate(-45deg);  /* 左上から右下へふらせる！ */
  animation: shoot 1.3s linear forwards;   /* 1.3秒でふらせる！元にもどらせない！ */
  pointer-events: none;
  z-index: 1;
}

@keyframes shoot {
  0% {
    transform: translate(0, 0) rotate(-45deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate(600px, 600px) rotate(-45deg);
    opacity: 0;
  }
}


/* メニュー */
.menu_line {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 32px;
  cursor: pointer;
  z-index: 2000;
}
/* = */
.menu_line::before,
.menu_line::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #fff;
  transition: transform 0.3s ease;
}

.menu_line::before {
  top: 0;
}
.menu_line::after {
  bottom: 0;
}
.menu_line:hover::before {
  transform: translateY(-2px);
}

.menu_line:hover::after {
  transform: translateY(2px);
}
/* メニューたち */
.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 200px;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); 
  color: #fff;
  padding: 60px 20px;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 999;
}

.side-menu.active {
  transform: translateX(0);
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu li {
  font-size: 20px;
  margin: 20px 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.side-menu a{
  color: #fff;
  text-decoration: none;

}
.side-menu a:hover {
  color: #ffd700; 
}
/* 上に戻るボタン */ 
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background-color: #ffffffb3;
  color: #280d35;
  font-size: 20px;
  cursor: pointer;
  z-index: 1000;
}
