*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:where([hidden]:not([hidden=until-found])) {
  display: none !important;
}

:where(html) {
  -webkit-text-size-adjust: none;
  color-scheme: dark light;
}

@supports not (min-block-size: 100dvb) {
  :where(html) {
    block-size: 100%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  :where(html:focus-within) {
    scroll-behavior: smooth;
  }
}
:where(body) {
  block-size: 100%;
  block-size: 100dvb;
  line-height: 1.5;
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

:where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
}

:where(textarea) {
  resize: vertical;
  resize: block;
}

:where(button, label, select, summary, [role=button], [role=option]) {
  cursor: pointer;
}

:where(:disabled) {
  cursor: not-allowed;
}

:where(label:has(> input:disabled), label:has(+ input:disabled)) {
  cursor: not-allowed;
}

:where(button) {
  border-style: solid;
}

:where(a) {
  text-underline-offset: 0.2ex;
}

:where(ul, ol) {
  list-style: none;
}

:where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block;
}

:where(img, picture, svg) {
  max-inline-size: 100%;
  block-size: auto;
}

:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}

:where(h1, h2, h3) {
  line-height: calc(1em + 0.5rem);
}

:where(hr) {
  border: none;
  -webkit-border-before: 1px solid;
          border-block-start: 1px solid;
  color: inherit;
  block-size: 0;
  overflow: visible;
}

:where(:focus-visible) {
  outline: 2px solid var(--focus-color, Highlight);
  outline-offset: 2px;
}

:where(.visually-hidden:not(:focus, :active, :focus-within, .not-visually-hidden)) {
  -webkit-clip-path: inset(50%) !important;
          clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.pc {
  display: none !important;
}

.sp {
  display: block !important;
}

@media (min-width: 768px) {
  .pc {
    display: block !important;
  }
  .sp {
    display: none !important;
  }
}
html *:focus-visible {
  outline: none;
}
html a img:hover, html .hoverBtn img:hover {
  opacity: 0.7;
  cursor: pointer;
}

body {
  background: #570000;
}

.wrapper {
  max-width: 1500px;
  margin: 0 auto;
}

header {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: no-repeat top center url("../img/bg_name_top.png");
  background-size: cover;
}
header .site-logo {
  position: absolute;
  top: 10px;
  left: 0;
  width: 33%;
}
@media (min-width: 768px) {
  header .site-logo {
    width: 300px;
  }
}
header .chara {
  pointer-events: none;
  -webkit-animation: fadeInAnime forwards 1.5s;
          animation: fadeInAnime forwards 1.5s;
}
.op header .chara {
  opacity: 0;
}
@-webkit-keyframes fadeInAnime {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeInAnime {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
header h1 {
  position: absolute;
  top: -5%;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  -webkit-animation: fadeUpAnime forwards 0.3s ease 1.2s normal;
          animation: fadeUpAnime forwards 0.3s ease 1.2s normal;
}
.op header h1 {
  opacity: 0;
}
@-webkit-keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
header .effects {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
header .effects img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  mix-blend-mode: color-dodge;
}

section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -85%;
  padding: 29% 0 15%;
  background: no-repeat top center url("../img/bg_name_middle.png");
  background-size: cover;
}
@media (min-width: 768px) {
  section {
    margin-top: -62%;
  }
}
@media (min-width: 1280px) {
  section {
    margin-top: -57%;
  }
}
section .catch-text {
  position: relative;
  display: flex;
  width: 95%;
  z-index: 200;
  justify-content: center;
}
@media (min-width: 1280px) {
  section .catch-text {
    width: initial;
  }
}
section .input_name {
  width: 88%;
  padding: 0.3em 1em;
  margin: 3% 0;
  color: #000;
  text-align: center;
  font-size: 18px;
  background-color: #fff;
  border: solid 5px #c80000;
  box-shadow: 0 0 4px 4px #e4823a, inset 2px 2px 6px 2px rgba(146, 146, 146, 0.6);
  border-radius: 2em;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  section .input_name {
    width: 24em;
    font-size: 24px;
  }
}
@media (min-width: 1280px) {
  section .input_name {
    font-size: 30px;
  }
}
section .submitbtn {
  width: 80%;
  background-color: transparent;
  border: none;
}
section .submitbtn img {
  width: 100%;
}
section .submitbtn:hover img {
  filter: hue-rotate(30deg) brightness(150%);
}
@media (min-width: 768px) {
  section .submitbtn {
    width: 452.3076923077px;
  }
}
@media (min-width: 1280px) {
  section .submitbtn {
    width: initial;
  }
}
section .sitetop {
  width: 40%;
  margin: 5% 0 0;
}
section .sitetop img {
  width: 100%;
}
@media (min-width: 768px) {
  section .sitetop {
    width: 269.2307692308px;
  }
}
@media (min-width: 1280px) {
  section .sitetop {
    width: initial;
  }
}

footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  margin-top: -12%;
  padding-top: 18%;
  background: no-repeat top center url("../img/bg_name_bottom.png");
  background-size: contain;
  z-index: 300;
}
footer a {
  color: inherit;
  text-decoration: none;
}
footer .store {
  width: 90%;
}
@media (min-width: 768px) {
  footer .store {
    width: 70%;
  }
}
@media (min-width: 1280px) {
  footer .store {
    width: 50%;
  }
}
footer .store h2 {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: -4%;
  z-index: 1;
}
footer .store h2 img {
  width: 40%;
}
@media (min-width: 768px) {
  footer .store h2 img {
    width: 30%;
  }
}
@media (min-width: 1280px) {
  footer .store h2 img {
    width: initial;
  }
}
footer .store ul {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5%;
  background-image: linear-gradient(to right, transparent, rgb(255, 255, 255) 50%, transparent);
  border: solid #e56700;
  border-width: 3px 0;
  box-shadow: inset 0 3px 0 #e50000, inset 0 -3px 0 #e50000;
  -webkit-mask-image: linear-gradient(to right, transparent, black 3em, black calc(100% - 3em), transparent);
          mask-image: linear-gradient(to right, transparent, black 3em, black calc(100% - 3em), transparent);
}
footer .store ul li {
  padding: 0 2%;
}
@media (min-width: 768px) {
  footer .store ul li {
    width: 240px;
  }
}
footer .store ul li img {
  width: 100%;
}
footer dl {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
footer dl dt {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -100%);
}
footer dl.share {
  margin-top: 5em;
}
footer dl.share dt {
  width: 80px;
}
footer dl.share dd {
  box-sizing: content-box;
  width: 40px;
  padding: 15px 5px;
}
footer p.links {
  display: inline-block;
  text-align: center;
  font-size: 13px;
  margin-top: 1em;
}
footer p.links span a:hover {
  text-decoration: underline;
}
footer p.corplogo {
  width: 120px;
  margin-top: 2em;
}
footer p.copyright {
  margin: 0.5em 0 2em 0;
  padding: 0 5%;
  font-size: 14px;
  text-align: center;
}

#result {
  opacity: 0;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-backdrop-filter: blur(7px);
          backdrop-filter: blur(7px);
  z-index: 1000;
  pointer-events: none;
  overscroll-behavior-y: contain;
  overflow-y: scroll;
  background-color: rgba(255, 255, 255, 0.85);
}
.op #result {
  pointer-events: initial;
}
#result #kyojin {
  position: absolute;
  top: 25%;
  opacity: 0;
  width: 50%;
}
.op #result #kyojin {
  opacity: 1;
  -webkit-animation: kyojin forwards 0.3s 3.9s, rubberBand forwards 1.2s 0.3s infinite;
          animation: kyojin forwards 0.3s 3.9s, rubberBand forwards 1.2s 0.3s infinite;
}
@-webkit-keyframes kyojin {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes kyojin {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
#result #resultimg {
  width: 100%;
}
@media (min-width: 768px) {
  #result #resultimg {
    width: 75%;
  }
}
@media (min-width: 1280px) {
  #result #resultimg {
    width: 50%;
  }
}
#result #resultimg img {
  opacity: 0;
  -webkit-animation: jackInTheBox forwards 1s 4.2s;
          animation: jackInTheBox forwards 1s 4.2s;
}
#result img {
  margin: 0 auto;
}
#result .header {
  position: absolute;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 1%;
}
#result .header p {
  width: 25%;
  min-width: 100px;
}
@media (min-width: 768px) {
  #result .header p {
    width: 20%;
  }
}
@media (min-width: 1280px) {
  #result .header p {
    width: 15%;
  }
}
#result .header p img {
  width: 100%;
}
#result .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 66%;
  max-width: 1000px;
}
#result .links {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#result .links, #result h3 {
  opacity: 0;
}
.op #result .links, .op #result h3 {
  -webkit-animation: bounceIn forwards 0.3s 4.5s;
          animation: bounceIn forwards 0.3s 4.5s;
}
#result h3 {
  width: 100%;
  margin: 15vw 0 2%;
}
@media (min-width: 768px) {
  #result h3 {
    width: 75%;
    margin: 12% 0 2%;
  }
}
@media (min-width: 1280px) {
  #result h3 {
    margin: 6% 0 2%;
  }
}
#result h3 img {
  width: 100%;
}
@media (min-width: 1280px) {
  #result h3 img {
    width: initial;
  }
}
#result h4 {
  width: 70%;
  margin: 5vw 0 2%;
}
@media (min-width: 768px) {
  #result h4 {
    margin: 6% 0 2%;
  }
}
#result .tweet {
  width: 100%;
}
@media (min-width: 768px) {
  #result .tweet {
    width: 75%;
  }
}
@media (min-width: 1280px) {
  #result .tweet {
    width: 60%;
  }
}
#result .playnow, #result .back {
  width: 70%;
  margin: 10% 0;
}
@media (min-width: 1280px) {
  #result .playnow, #result .back {
    width: initial;
  }
}
#result .saishindan {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#result #resultNum, #result #resultTxt {
  display: none;
}