@charset "UTF-8";
/*----------
	Reset
----------*/
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  background: transparent;
  font-weight: inherit;
  font-size: inherit;
  font-style: inherit;
  -webkit-tap-highlight-color: transparent;
}

article,
aside,
details,
figcaption,
figure,
picture,
main,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ul,
ol {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

button {
  font-family: inherit;
}

/*----------
	base
----------*/
html {
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #fff;
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  line-height: 1.4;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

a {
  text-decoration: none;
  color: #333;
}

a.visited, a:visited {
  color: #333;
}

@media (min-width: 768px) {
  a:hover {
    text-decoration: none;
  }
}
img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

/*----------
	utility
----------*/
@media (max-width: 1023px) {
  .u-sp-none {
    display: none !important;
  }
}
@media (min-width: 1024px) {
  .u-pc-none {
    display: none !important;
  }
}
/*----------
	animation
----------*/
@keyframes btn-flash {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/*----------
	Layout
----------*/
.l-content {
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  height: min(100dvh, 100svh, 100vh);
  background: #000;
}
.l-content__bg-left, .l-content__bg-right {
  display: none;
}
@media (min-width: 1025px) {
  .l-content {
    background: #000 url(../img/bg_game.jpg) no-repeat center center/cover;
  }
  .l-content__bg-left {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc((100vw - var(--game-w)) / 2);
    height: 100%;
  }
  .l-content__bg-left img {
    width: 100%;
    max-width: 480px;
    height: auto;
  }
  .l-content__bg-right {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc((100vw - var(--game-w)) / 2);
    height: 100%;
    padding: 0 20px;
  }
  .l-content__bg-right img {
    width: 100%;
    max-width: 360px;
    height: auto;
  }
}

.l-game {
  position: relative;
  display: flex;
  opacity: 1;
  justify-content: center;
  align-items: center;
  max-height: 100vh;
  max-height: min(100dvh, 100svh, 100vh);
  aspect-ratio: 800/1600;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 20px 0 #000512;
  transition: opacity 0.2s;
  touch-action: manipulation;
}
.l-game.is-hide {
  opacity: 0;
}

/* リザルト画面 */
.l-result {
  visibility: hidden;
  overflow-y: auto;
  opacity: 0;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 40px 0;
  transform: translateY(8%);
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s, transform 1.5s cubic-bezier(0.33, 1, 0.68, 1);
}
.l-result.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.6s, visibility 0.3s, transform 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}
.l-result__inner {
  position: relative;
  width: calc(100% - 20px);
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px 30px;
  background-color: rgba(10, 11, 55, 0.9);
  border: solid 1px #92A8FF;
}
.is-campaign .l-result__inner {
  padding-bottom: 40px;
}
.l-result__share-img {
  position: relative;
  margin: 0 auto 20px;
}
.l-result__share-img > canvas {
  display: block;
  aspect-ratio: 1200/630;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border: solid 1px #fff;
}
.l-result__guide {
  display: flex;
  gap: 3px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 1.2rem;
}
.l-result__guide::before {
  content: "※";
  display: inline-block;
}
.l-result__btn-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 0 10px;
}
.l-result__btn-item {
  width: 100%;
  max-width: 247px;
}
.l-result__btn-reload {
  text-align: center;
}
.l-result__btn-reload > .c-btn-small {
  margin-top: 30px;
}
.l-result__btn-close {
  position: absolute;
  right: 10px;
  top: -28px;
  cursor: pointer;
}
.l-result__btn-close > img {
  width: 56px;
  height: auto;
}
@media (min-width: 768px) {
  .l-result__inner {
    width: calc(100% - 40px);
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (min-width: 1024px) {
  .l-result {
    padding: 60px 0;
  }
  .l-result__inner {
    width: calc(100% - 120px);
    padding: 60px 60px 30px;
  }
  .is-campaign .l-result__inner {
    padding-bottom: 60px;
  }
  .l-result__share-img {
    width: auto;
    max-width: 100%;
    height: 420px;
  }
  .l-result__share-img > canvas {
    width: auto;
    height: 100%;
  }
  .l-result__guide {
    font-size: 2rem;
  }
  .l-result__btn-group {
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 0 13px;
  }
  .l-result__btn-item {
    max-width: 330px;
  }
  .l-result__btn-close {
    right: -42px;
    top: -42px;
  }
  .l-result__btn-close > img {
    width: 84px;
  }
}
@media (min-width: 1024px) and (hover: hover) {
  .l-result__btn-close::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    opacity: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: url(../img/btn_close_hover.png) no-repeat center center/contain;
    transition: opacity 0.2s;
  }
  .l-result__btn-close:hover::after {
    opacity: 1;
  }
}

/* リザルト画面 */
.l-played {
  visibility: hidden;
  overflow-y: auto;
  opacity: 0;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 40px 0;
  transform: translateY(8%);
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s, transform 1.5s cubic-bezier(0.33, 1, 0.68, 1);
}
.l-played.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.6s, visibility 0.3s, transform 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}
.l-played__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc(100% - 20px);
  max-width: 1200px;
  height: 62vh;
  min-height: 343px;
  margin: auto;
  padding: 40px 20px;
  background-color: rgba(10, 11, 55, 0.9);
  border: solid 1px #92A8FF;
}
.l-played__logo {
  text-align: center;
}
.l-played__logo > img {
  width: 100%;
  max-width: 315px;
}
.l-played__text {
  color: #FFFFFF;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.8;
  text-align: center;
}
@media (min-width: 768px) {
  .l-played__inner {
    width: calc(100% - 40px);
    height: 60vh;
    min-height: 394px;
    padding: 40px;
  }
}
@media (min-width: 1024px) {
  .l-played {
    padding: 60px 0;
  }
  .l-played__inner {
    width: calc(100% - 120px);
    height: 80vh;
    min-height: 434px;
    padding: 60px;
  }
  .l-played__logo > img {
    max-width: 480px;
  }
  .l-played__text {
    font-size: 3rem;
  }
}
@media (min-width: 1280px) {
  .l-played__inner {
    height: 70vh;
  }
}
@media (min-width: 1440px) {
  .l-played__inner {
    height: 63vh;
  }
}

/*----------
	Component
----------*/
/* 挑戦ボタン */
.c-btn-start {
  position: absolute;
  z-index: 10;
  top: 61.5%;
  left: 3.7%;
  width: 95.5%;
  height: 11.7%;
  cursor: pointer;
}
.c-btn-start::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  opacity: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: url(../img/btn_start_on.png) no-repeat center top/contain;
}
.c-btn-start::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  opacity: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: url(../img/btn_start_no.png) no-repeat center top/contain;
}
.c-btn-start:not([disabled]):active {
  transform: translate(clamp(3px, 0.75vw, 6px), clamp(3px, 0.75vw, 6px));
}
.c-btn-start.is-disabled {
  cursor: default;
}
.c-btn-start.is-disabled::after {
  opacity: 1;
  transition: opacity 0.2s 0.25s;
}
.c-btn-start.is-disabled > img {
  opacity: 0;
  transition: opacity 0.2s 0.25s;
}
.c-btn-start.is-hide {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}
.c-btn-start > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}
@media (hover: none) {
  .c-btn-start.is-flash::before {
    animation: btn-flash 0.12s ease 1 0.05s;
  }
}
@media (hover: hover) {
  .c-btn-start::before {
    transition: opacity 0.2s;
  }
  .c-btn-start:not([disabled]):hover::before {
    opacity: 1;
  }
}

/* 継続チャレンジボタン */
.c-btn-continue {
  position: absolute;
  z-index: 11;
  top: 61.5%;
  left: 3.7%;
  width: 95.5%;
  height: 11.7%;
  cursor: pointer;
}
.c-btn-continue::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  opacity: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: url(../img/btn_continu_on.png) no-repeat center top/contain;
}
.c-btn-continue::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  opacity: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: url(../img/btn_continu_no.png) no-repeat center top/contain;
}
.c-btn-continue:not([disabled]):active {
  transform: translate(clamp(3px, 0.75vw, 6px), clamp(3px, 0.75vw, 6px));
}
.c-btn-continue.is-disabled {
  cursor: default;
}
.c-btn-continue.is-disabled::after {
  opacity: 1;
  transition: opacity 0.2s 0.25s;
}
.c-btn-continue.is-disabled > img {
  opacity: 0;
  transition: opacity 0.2s 0.25s;
}
.c-btn-continue.is-hide {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}
.c-btn-continue > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}
@media (hover: none) {
  .c-btn-continue.is-flash::before {
    animation: btn-flash 0.12s ease 1 0.05s;
  }
}
@media (hover: hover) {
  .c-btn-continue::before {
    transition: opacity 0.2s;
  }
  .c-btn-continue:not([disabled]):hover::before {
    opacity: 1;
  }
}

/* 演出変更ボタン */
.c-btn-change {
  position: absolute;
  z-index: 10;
  top: 72.7%;
  left: 3.7%;
  width: 95.5%;
  height: 11.7%;
  cursor: pointer;
}
.c-btn-change::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  opacity: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: url(../img/btn_change_on.png) no-repeat center top/contain;
}
.c-btn-change::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  opacity: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: url(../img/btn_change_no.png) no-repeat center top/contain;
}
.c-btn-change:not([disabled]):active {
  transform: translate(clamp(3px, 0.75vw, 6px), clamp(3px, 0.75vw, 6px));
}
.c-btn-change.is-disabled {
  cursor: default;
}
.c-btn-change.is-disabled::after {
  opacity: 1;
  transition: opacity 0.2s 0.25s;
}
.c-btn-change.is-disabled > img {
  opacity: 0;
  transition: opacity 0.2s 0.25s;
}
.c-btn-change.is-hide {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}
.c-btn-change > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}
@media (hover: none) {
  .c-btn-change.is-flash::before {
    animation: btn-flash 0.12s ease 1 0.05s;
  }
}
@media (hover: hover) {
  .c-btn-change::before {
    transition: opacity 0.2s;
  }
  .c-btn-change:not([disabled]):hover::before {
    opacity: 1;
  }
}

/* 汎用ボタン（大） */
.c-btn-large {
  position: relative;
  display: block;
  width: 100%;
  padding: 2px;
  background: linear-gradient(to bottom, #9cb8ea, #92a5d9);
  border-top-left-radius: 3px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 10px;
  transform: skewX(-29deg);
  text-align: center;
  cursor: pointer;
}
.c-btn-large__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  background: linear-gradient(to bottom, #2973E0, #1B4DBC);
  border-top-left-radius: 2px;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 2px;
  border-bottom-left-radius: 6px;
}
.c-btn-large__icon {
  position: relative;
  z-index: 2;
  transform: skewX(29deg);
  width: 26px;
  height: auto;
}
.c-btn-large__icon--download {
  margin-right: 10px;
  margin-left: 4px;
}
.c-btn-large__icon--x {
  margin-right: 15px;
}
.c-btn-large__text {
  position: relative;
  z-index: 2;
  transform: skewX(29deg);
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
}
.c-btn-large.is-loading {
  background: #8893c7;
  pointer-events: none;
}
.c-btn-large.is-loading .c-btn-large__inner {
  background: #0C2697;
}
.c-btn-large.is-loading .c-btn-large__icon {
  opacity: 0.5;
}
.c-btn-large.is-loading .c-btn-large__text {
  color: #8893c7;
}
.c-btn-large.is-loading::after {
  display: none;
}
.c-btn-large.is-loading:hover {
  box-shadow: none;
}
@media (min-width: 1024px) {
  .c-btn-large__inner {
    height: 58px;
  }
  .c-btn-large__icon {
    width: 30px;
  }
  .c-btn-large__icon--download {
    margin-right: 15px;
    margin-left: 0;
  }
  .c-btn-large__icon--x {
    margin-right: 15px;
  }
  .c-btn-large__text {
    font-size: 2.4rem;
  }
}
@media (min-width: 1024px) and (hover: hover) {
  .c-btn-large::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    z-index: 1;
    opacity: 0;
    display: block;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    box-shadow: inset 0 0 15px rgb(255, 255, 255);
    border-top-left-radius: 2px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 6px;
  }
  .c-btn-large:hover {
    box-shadow: inset 0 0 15px rgb(255, 255, 255);
  }
  .c-btn-large:hover::after {
    opacity: 1;
  }
}

/* 汎用ボタン（小） */
.c-btn-small {
  position: relative;
  display: inline-block;
  padding: 1px;
  background-color: #92A8FF;
}
.c-btn-small__inner {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 6px 19px;
  background-color: #0C2697;
  cursor: pointer;
}
.c-btn-small__icon {
  margin-right: 5px;
  line-height: 1;
}
.c-btn-small__icon--reload > img {
  width: 16px;
  height: auto;
}
.c-btn-small__text {
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
}
@media (min-width: 1024px) and (hover: hover) {
  .c-btn-small::after {
    content: "";
    position: absolute;
    left: 1px;
    top: 1px;
    z-index: 1;
    opacity: 0;
    display: block;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    box-shadow: inset 0 0 10px rgb(255, 255, 255);
    transition: opacity 0.2s;
  }
  .c-btn-small:hover {
    box-shadow: inset 0 0 10px rgb(255, 255, 255);
  }
  .c-btn-small:hover::after {
    opacity: 1;
  }
}

/* 筐体 */
.c-machine {
  position: relative;
  z-index: 2;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  max-height: 100%;
  object-fit: contain;
}

/* 動画エリア */
.c-screen {
  position: absolute;
  z-index: 1;
  left: 3%;
  top: 18%;
  width: 92%;
  height: 46%;
}
.c-screen__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* TOTAL欄 */
.c-total {
  position: absolute;
  left: 35.5%;
  top: 12.8%;
  width: 59%;
  height: 10%;
  z-index: 10;
}
.c-total__digits {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.c-total__digits img {
  width: 21%;
  height: auto;
  margin-left: -3.6%;
}
.c-total__digits img:first-child {
  margin-left: 1.8%;
}
.c-total__cong {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  left: 7%;
  top: 5%;
  width: 86%;
  transform: scale(140%);
  pointer-events: none;
  transition: opacity 0.2s, visibility 0s, transform 1.5s;
}
.c-total.is-god .c-total__digits {
  display: none;
}
.c-total.is-god .c-total__cong {
  opacity: 1;
  visibility: visible;
  transform: scale(100%);
  pointer-events: auto;
  transition: opacity 1s, visibility 0s, transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

/* 継続回数欄 */
.c-count {
  position: absolute;
  left: 5.5%;
  top: 12.6%;
  width: 23%;
  height: 10%;
  z-index: 10;
  color: #fff;
  font-weight: 400;
  font-size: calc(var(--game-w) / 600 * 94);
  text-align: center;
  line-height: 1.15;
}

/* 演出タイトル */
.c-effect-title {
  position: absolute;
  left: 22.8%;
  top: 54.7%;
  width: 55%;
  height: 5.6%;
  z-index: 10;
  background: no-repeat 0 0/contain;
}
.c-effect-title > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

/* 速度変更タップエリア */
.c-speed-btn {
  position: absolute;
  left: 7%;
  top: 24%;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 80%;
  height: 33%;
  padding-top: 2%;
  cursor: pointer;
}
.c-speed-btn__label {
  padding-left: 1.3em;
  color: #fff;
  font-size: calc(var(--game-w) / 600 * 40);
  font-weight: bold;
  text-shadow: 0 0 10px #000;
  text-align: center;
  cursor: pointer;
}

/* ローディング画面 */
.c-loading {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #000;
}
.c-loading__inner {
  margin-bottom: 20px;
}
.c-loading__bar {
  width: 200px;
  height: 10px;
  margin-bottom: 20px;
  background-color: #333;
}
.c-loading__bar-fill {
  display: block;
  width: 0%;
  height: 10px;
  background-color: #96a7f9;
  transition: width 1s linear;
}
.c-loading__text {
  display: flex;
  justify-content: space-between;
  width: 200px;
  color: #fff;
  font-size: 2rem;
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
}
.c-loading.is-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.65, 0, 0.35, 1), visibility 0s 0.3s;
}

/* エラーアラート */
.c-alert {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1000;
  width: 80%;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  font-size: 1.6rem;
  transform: translate(-50%, -50%);
}

/* 音声ON/OFFボタン */
.c-btn-sound {
  position: absolute;
  z-index: 11;
  top: 50%;
  right: 3.5%;
  width: 17.3%;
  height: 3.5%;
  cursor: pointer;
}
.c-btn-sound::before, .c-btn-sound::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.c-btn-sound::before {
  z-index: 1;
}
.c-btn-sound::after {
  z-index: 2;
  transition: opacity 0.2s;
}
.c-btn-sound__img-on, .c-btn-sound__img-off {
  width: 100%;
  height: auto;
  display: none;
}
.c-btn-sound.is-on .c-btn-sound__img-on {
  display: block;
}
.c-btn-sound.is-on::after {
  background: url(../img/btn_sound_on_hover.png) no-repeat center top/contain;
}
.c-btn-sound.is-off .c-btn-sound__img-off {
  display: block;
}
.c-btn-sound.is-off::after {
  background: url(../img/btn_sound_off_hover.png) no-repeat center center/contain;
}
@media (min-width: 1024px) and (hover: hover) {
  .c-btn-sound:hover::after {
    opacity: 1;
  }
}
