@charset "UTF-8";

html {
  font-size: clamp(5px, min(2.8vw, 2.2svh), 15px);
}

@media screen and (max-width:769px) {
  html {
    font-size: clamp(1px, min(3.0vw, 2.8svh), 50px);
  }
}

body {
  position: relative;
  width: 100%;
  height: 100dvh;
  padding: 0;
  margin: 0;
  background: #000;
  color: #fff;
  font-family: "Noto Sans JP", メイリオ, Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Sans", sans-serif;
  overflow: hidden;
}

.body_inner {
  overflow: hidden;
}

.main_block {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

audio {
  display: none;
}


/*** input_block ***/
.input_block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 100;
  opacity: 1;
  transition: opacity 1.1s 2.2s ease-in-out;
}

.input_block.inactive {
  opacity: 0;
  pointer-events: none;
}

.input_block__heading {
  line-height: 1.1;
  margin: 0 auto 0.93em;
  font-size: 2.2rem;
}

.input_block input.name {
  display: block;
  padding: 0.5em 1em 0.55em;
  margin: 0 auto 2.5rem;
  border-radius: 0.5rem;
  font-size: 1.9rem;
  letter-spacing: 0.04em;
}

.input_block__btn {
  --color01: #e6604f;
  --color02: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3.2px solid var(--color01);
  background: var(--color01);
  color: var(--color02);
  border-radius: 2rem;
  width: 20rem;
  max-width: 100%;
  height: 1.73em;
  padding: 0.25em 0.44em 0.44em;
  font-size: 1.5rem;
  line-height: 1.1;
  cursor: pointer;
}

.input_block__btn:hover {
  background: var(--color02);
  color: var(--color01);
}



/*** hb_block ***/
.hb_block {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 700px;
  height: 100%;
  background: transparent;
  z-index: 10;
  overflow: hidden;
}

.hb_block__characters {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hb_block__characters img {
  display: block;
  width: 100%;
  height: 50%;
  object-fit: cover;
  line-height: 1;
  opacity: 0;
  transform: translateX(0);
  transition: 0.82s ease-in-out;
  pointer-events: none;
}

.hb_block__characters img:nth-of-type(1) {
  transform: translateX(0);
}

.hb_block__characters img:nth-of-type(2) {
  transition-delay: 0.73s;
}

.hb_block__characters.active img {
  opacity: 1;
}


.hb_block__contents {}

.hb_block__contents.active {}

.hb_block__text {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-41.73%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  margin: 0 auto;
  font-size: 4.73rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  z-index: 100;
  filter: drop-shadow(1px 1px 0.1em #fff) drop-shadow(1px 1px 0.1em #fff) drop-shadow(1px 1px 0.1em #fff) drop-shadow(1px 1px 0.5em #fff);
  opacity: 0;
  transition: transform 0.32s 0.4173s ease-in, opacity 0.39s 0.4173s ease-in;
}

.hb_block__contents.active .hb_block__text {
  opacity: 1;
  transform: translateX(-50%) translateY(-1.73%);
}

.hb_block__text_hb,
.hb_block__name {
  display: block;
  background: linear-gradient(-90deg, rgb(0, 136, 200) 0%, rgb(143, 63, 255) 14.7%, rgba(240, 96, 178, 1) 32.9%, rgba(255, 82, 61, 1) 43.2%, rgba(224, 52, 104, 1) 50%, rgba(255, 82, 61, 1) 56.9%, rgba(240, 96, 178, 1) 66.2%, rgb(151, 77, 255) 82.9%, rgb(0, 134, 196) 100%);
  background-position: 100.73%;
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hb_block__name {
  font-size: 0.73em;
  word-break: break-all;
}

@keyframes bg_gradient_anime {
  from {
    background-position: 110%;
  }

  to {
    background-position: -90%;
  }
}