/* body */
body {
  font-family: "Shippori Mincho B1", serif;
  text-align: center;
  background: linear-gradient(to bottom,
      #320418 10%,
      #260622 20%,
      #020944 100%);
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  margin: 0;
}

/* 年齢確認 */
#age-check {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  z-index: 9999;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* 月のマスク */
#mask-layer {
  position: fixed;
  width: 300%;
  height: 300%;
  top: -100%;
  left: -100%;
  z-index: 9997;
}

#mask-layer.hide {
  animation: moonOpen 3s ease forwards;
}

/* 月アニメーション */
@keyframes moonOpen {
  0% {
    transform: rotate(0deg) scale(1);
    width: 300%;
    height: 300%;
    top: -100%;
    left: -100%;
    opacity: 100;
  }

  30% {
    transform: rotate(20deg) scale(1);
    width: 300%;
    height: 300%;
    top: -100%;
    left: -100%;
    opacity: 100;
  }

  60% {
    transform: rotate(0deg) scale(1);
    width: 300%;
    height: 300%;
    top: -100%;
    left: -100%;
    opacity: 100;
  }

  100% {
    transform: rotate(0deg) scale(1.5);
    opacity: 0;
  }
}

/* 年齢確認テキスト */
.age-text {
  color: #000000;
}

/* 年齢確認の枠 */
.age-box {
  background: white;
  padding: 30px;
  text-align: center;

  position: relative;
  z-index: 10000;

  animation: fadeUp 0.8s ease;
}

/* 年齢確認アニメーション */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 年齢確認のボタン */
.age-box button {
  margin: 10px;
  padding: 10px 20px;
}

/* ロゴ */
.logo {
  position: fixed;
  left: 50%;
  top: 0%;
  transform: translateX(-50%) translateY(0%);
  margin-top: 20px;
  margin-bottom: 20px;
  width: clamp(10%, 500px, 80%);
  z-index: 5;
  /*width:30%;*/
}

/* boothのリンク */
.booth_link {
  width: 50px;
}

/* Twitterのリンク */
svg {
  fill: white;
  width: 18px;
}

/* ビル */
.building {
  width: 55%;
  position: fixed;
  bottom: 0px;
  right: 0px;
  pointer-events: none;
  z-index: 1;
}

/* キャラクター */
.character {
  width: clamp(23%, 50%, 500px);
  position: fixed;
  bottom: 1%;
  right: 3%;
  z-index: 2;
}

/* 月 */
.moon {
  width: 5%;
  position: fixed;
  top: 80px;
  left: 120px;
  z-index: 2;
}

/* 注意書き */
.copywrite_notion_text {
  position: fixed;
  bottom: 10px;
  left: 10px;
  color: white;
  font-size: 8px;
  text-align: left;
}

/* 概要 */
.gaiyou_text {
  color: white;
  margin-top: clamp(135px, 25vw, 200px);
  font-size: clamp(10px, 1.8vw, 18px);
}

/* スマホ対応 */
@media screen and (max-width: 480px) {

  /* 月アニメーション */
  @keyframes moonOpen {
    0% {
      transform: rotate(0deg) scale(1.5);
      width: 300%;
      height: 300%;
      top: -100%;
      left: -100%;
      opacity: 100;
    }

    30% {
      transform: rotate(30deg) scale(1.5);
      width: 300%;
      height: 300%;
      top: -100%;
      left: -100%;
      opacity: 100;
    }

    60% {
      transform: rotate(0deg) scale(1.5);
      width: 300%;
      height: 300%;
      top: -100%;
      left: -100%;
      opacity: 100;
    }

    100% {
      transform: rotate(0deg) scale(2);
      opacity: 0;
    }
  }

  /* ロゴの下透過 */
  #logo_mask {
    background: linear-gradient(to bottom,
        #320418 10%,
        #260622 20%,
        #020944 100%);
    -webkit-mask-image: linear-gradient(to bottom,
        black clamp(110px, 20vw, 150px),
        transparent clamp(150px, 30vw, 160px));
    mask-image: linear-gradient(to bottom,
        black clamp(110px, 20vw, 150px),
        transparent clamp(150px, 30vw, 160px));
    position: fixed;
    left: 0%;
    top: 0%;
    width: 100%;
    height: 100%;
    z-index: 4;
  }

  /*ビルの透過*/
  #building_mask {
    background: linear-gradient(to bottom,
     #320418 10%,
        #260622 20%,
        #020944 100%);
   -webkit-mask-image: linear-gradient(to top,
        #808080c2 clamp(10px, 20vw, 40px),
        transparent clamp(150px, 30vw, 160px));
    mask-image: linear-gradient(to top,
        #808080c2 clamp(10px, 20vw, 40px),
        transparent clamp(150px, 30vw, 160px));
    position: absolute;
    width: 100vw;
    height: 100vh;
    bottom: 0px;
    left: 0px;
    z-index: 4;
  }

  /* ビル */
  .building {
    position: fixed;
    width: 130%;
    margin-top: 40px;
    right: 0px;
    bottom: 0px;
  }

  /* キャラクター */
  .character {
    position: relative;
    width: 70%;
    margin: 40px auto 0;

    right: auto;
    bottom: auto;

    display: block;
  }

  /* 月 */
  .moon {
    position: relative;
    width: 20px;
    top: -520px;
    left: 70px;
    display: block;
  }

  /* 注意書き */
 .copywrite_notion_text {
    position: relative;
    max-width:95vw;
    color: white;
    font-size: 8px;
    text-align: left;
    z-index: 5;
  }

}