@charset "UTF-8";
/* reference source https://coliss.com/articles/build-websites/operation/css/acab-reset-css.htm */
/* reference source https://github.com/mayank99/reset.css */
/* 上記を元に自分用にカスタムしたリセットcss */
*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

: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: 100dvb;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
  line-height: 1.5;
  -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) {
  block-size: 0;
  overflow: visible;
  color: inherit;
  border: none;
  border-block-start: 1px solid;
}

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

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

/*
 全ページ共通の基礎設定
*/
/* 対応してるブラウザにはdvh(dvw)、それ以外にはvh(vw)を返す */
body {
  min-height: 100vh;
  margin: 0;
  font-size: 16px;
  color: rgb(255, 255, 255);
}
body::before {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  content: "";
  background: url(../assets/img/bg_border.png) repeat, linear-gradient(-45deg, rgb(31, 29, 80), rgb(83, 43, 101));
}

.container {
  width: 100%;
}

section {
  padding: 42px 18px 0 18px;
}

section:nth-child(n+2) {
  padding-top: 0;
  margin-top: 72px;
}

.sp {
  display: block;
}

.pc {
  display: none;
}

@media screen and (width >= 768px) {
  .sp {
    display: none;
  }
  .pc {
    display: block;
  }
}
button {
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: none;
  border: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}

.none-display {
  display: none !important;
  pointer-events: none;
  opacity: 0;
}

.title-logo {
  max-inline-size: 100vw;
  width: calc(94vw - 14px);
  margin-left: -14px;
}

.btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-block: 54px;
}

.loading {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  padding-bottom: 30px;
}
.loading img {
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
}
.loading h3 {
  font-size: 18px;
  animation: blink 0.93s ease-in infinite alternate;
}

@keyframes blink {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.5;
  }
}
.pc section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  height: calc(100dvh - 60px);
  padding-bottom: 60px;
  margin: 0 auto;
}

.pc__title-logo {
  width: 90%;
  max-width: 400px;
}

.pc__txt {
  margin-top: 32px;
  margin-left: 64px;
  font-size: 24px;
  line-height: 1.5;
  text-align: center;
}

.pc__txt div {
  margin-top: 24px;
  font-size: 18px;
}

footer {
  height: 60px;
  padding: 12px;
  font-size: 12px;
  text-align: center;
  background: rgb(4, 4, 58);
  box-shadow: 0 50vh 0 50vh rgb(4, 4, 58);
}

.lang-btn {
  display: block;
  width: 100%;
  max-width: 216px;
  padding-block: 6px;
  transition: padding 0.1s;
}
.lang-btn img {
  filter: drop-shadow(3px 6px 0 rgb(246, 171, 67));
  transition: filter 0.1s;
}
.lang-btn:active {
  padding-top: 12px;
  padding-bottom: 0;
}
.lang-btn:active img {
  filter: drop-shadow(0 0 0 rgb(246, 171, 67));
}

.up-down-arrow {
  display: block;
  width: 26px;
  margin: 16px 0 8px 0;
  animation: flipY 3s step-end infinite;
}

@keyframes flipY {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
}
.mv {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100vw;
  width: 100svw;
  height: 100vh;
  height: 100svh;
  background: rgb(4, 4, 58);
}

.mv__video {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.mv__ok {
  position: absolute;
  display: flex;
  width: 100%;
  height: 100%;
}

.ok-btn {
  display: block;
  width: 100%;
  max-width: 216px;
  padding-block: 6px;
  transition: padding 0.1s;
}
.ok-btn img {
  filter: drop-shadow(3px 6px 0 rgb(246, 171, 67));
  transition: filter 0.1s;
}
.ok-btn:active {
  padding-top: 12px;
  padding-bottom: 0;
}
.ok-btn:active img {
  filter: drop-shadow(0 0 0 rgb(246, 171, 67));
}
.ok-btn {
  margin: 340px auto 0 auto;
}

.mv__skip {
  width: 100%;
  height: 100%;
}

.skip-btn {
  position: absolute;
  right: 4vw;
  bottom: 6vh;
  display: block;
  width: 100%;
  max-width: 100px;
  padding-block: 3px;
  transition: padding 0.1s;
}
.skip-btn img {
  filter: drop-shadow(1.5px 3px 0 rgb(246, 171, 67));
  transition: filter 0.1s;
}
.skip-btn:active {
  padding-top: 6px;
  padding-bottom: 0;
}
.skip-btn:active img {
  filter: drop-shadow(0 0 0 rgb(246, 171, 67));
}

/*
 遊び方ページ
    以下の4セクション
        howto-top
        howto-steps
        howto-start
        howto-notice
*/
.btn-start {
  display: block;
  width: 100%;
  max-width: 400px;
  padding-block: 8px;
  transition: padding 0.1s;
}
.btn-start img {
  filter: drop-shadow(4px 8px 0 rgb(246, 171, 67));
  transition: filter 0.1s;
}
.btn-start:active {
  padding-top: 16px;
  padding-bottom: 0;
}
.btn-start:active img {
  filter: drop-shadow(0 0 0 rgb(246, 171, 67));
}

.howto-top .btn {
  margin-top: 48px;
}

.howto-top__caution {
  max-width: 240px;
  margin: 24px auto 0 auto;
  font-size: 18px;
  font-weight: bold;
  line-height: 2;
  text-align: center;
  word-break: keep-all;
  border: 2px solid;
  -o-border-image: linear-gradient(90deg, rgb(246, 171, 67) 14px, transparent 14px calc(100% - 14px), rgb(246, 171, 67) calc(100% - 14px)) 2;
     border-image: linear-gradient(90deg, rgb(246, 171, 67) 14px, transparent 14px calc(100% - 14px), rgb(246, 171, 67) calc(100% - 14px)) 2;
}

.howto-top__caution p {
  margin: 8px 8px 0 12px;
}

.howto-top__down-arrow {
  display: block;
  width: 18px;
  margin: 52px auto 0 auto;
}

.howto-window {
  width: 100%;
  margin: 48px 0;
  color: rgb(187, 228, 249);
  text-align: center;
  border: solid 3px rgb(246, 171, 67);
  border-radius: 8px;
}

.howto-window__title {
  width: 100%;
  padding: 12px 0;
  font-size: 24px;
  background: rgb(246, 171, 67);
  border-radius: 4px 4px 0 0;
}

.howto-window__title h2 {
  -webkit-text-stroke: 6px rgb(31, 29, 80);
  paint-order: stroke;
}

.howto-window__step {
  padding: 16px 8px;
  margin: 24px 16px;
  font-size: 18px;
  background: linear-gradient(45deg, rgba(83, 43, 101, 0.3), rgba(139, 78, 119, 0.3));
  border-radius: 8px;
}

.howto-window__step h3 {
  line-height: 1.8;
  word-break: keep-all;
}

.howto-window__step h3 span {
  text-wrap: nowrap;
}

.howto-window__step img {
  margin: 16px auto 0 auto;
}

.step1 img {
  width: 90%;
}

.howto-window__separator {
  width: 90%;
  margin: 0 auto;
}

.howto-start {
  margin-top: 24px;
}

.howto-start .btn {
  margin: 12px auto 18px auto;
}

.howto-start__decoration {
  opacity: 0.9;
}

.howto-notice {
  padding-block: 48px 56px;
  margin-top: 24px;
  color: rgb(0, 0, 0);
  letter-spacing: 0.1em;
  background: rgb(255, 255, 255);
}

.notice__heading {
  font-size: 16px;
}

.notice__item-list {
  margin-top: 8px;
}

.notice__item {
  margin-top: 6px;
  font-size: 12px;
}

.notice__item--annotation {
  margin-top: 8px;
  margin-left: 16px;
  color: rgb(82, 82, 82);
  letter-spacing: 0.05em;
}

.notice__item--annotation::before {
  margin-left: -10px;
  content: "※ ";
}

.notice__caution {
  margin-top: 36px;
  list-style: square;
}

.notice__caution .notice__item-list {
  margin-left: 16px;
  list-style: square outside;
}

.howto-loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  visibility: hidden;
  pointer-events: all;
  background: rgba(0, 0, 0, 0.8);
}

.mode-btn {
  display: block;
  width: 100%;
  max-width: 340px;
  padding-block: 6px;
  transition: padding 0.1s;
}
.mode-btn img {
  filter: drop-shadow(3px 6px 0 rgb(246, 171, 67));
  transition: filter 0.1s;
}
.mode-btn:active {
  padding-top: 12px;
  padding-bottom: 0;
}
.mode-btn:active img {
  filter: drop-shadow(0 0 0 rgb(246, 171, 67));
}

.mode-btn-challenge {
  margin-top: 24px;
}
.mode-btn-challenge img:nth-child(1) {
  display: block;
}
.mode-btn-challenge img:nth-child(2) {
  display: none;
}

.stage {
  height: 20px;
  margin-top: 12px;
}

.offsite .mode-btn-challenge {
  pointer-events: none;
  display: block;
  width: 100%;
  max-width: 340px;
  padding-block: 6px;
  transition: padding 0.1s;
}
.offsite .mode-btn-challenge img {
  filter: drop-shadow(3px 6px 0 rgb(149, 114, 0));
  transition: filter 0.1s;
}
.offsite .mode-btn-challenge:active {
  padding-top: 12px;
  padding-bottom: 0;
}
.offsite .mode-btn-challenge:active img {
  filter: drop-shadow(0 0 0 rgb(149, 114, 0));
}
.offsite .mode-btn-challenge img:nth-child(1) {
  display: none;
}
.offsite .mode-btn-challenge img:nth-child(2) {
  display: block;
}
.offsite .stage-honban {
  filter: brightness(0.7);
}

/* ############ */
/* ############  エラーダイアログ  ###############  */
/* ############ */
#error_dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75vw;
  margin: 0px;
  padding: 30px 20px;
  text-align: center;
  color: #221e1f;
  /*border: 1px solid #aaa;*/
  border: solid 3px #221e1f;
  /*box-shadow: 2px 2px 4px #888;*/
  font-weight: bold;
  font-size: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  display: none;
  z-index: 200;
}

.error_diag_btn_class {
  font-size: 14px;
  font-weight: bold;
  padding: 10px 10px;
  color: #fff;
  border-style: none;
  /* ボタンの影の指定*/
  /*box-shadow: 2px 2px 3px 1px #666;*/
  /*-moz-box-shadow: 2px 2px 3px 1px #666;*/
  /*-webkit-box-shadow: 2px 2px 3px 1px #666;*/
  /* テキストの影の指定*/
  /*text-shadow: 1px 1px 2px #000;*/
  /* 背景色を明るい青色に指定 */
  background-color: #221e1f;
  /*background-color: #87cefa;*/
  /* 角丸の指定 */
  border-radius: 5px;
  text-align: center;
  margin: 0px 5px;
}

@media screen and (orientation: landscape) {
  /* 横向きの場合のスタイル */
  #error_dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    margin: 0px;
    padding: 30px 20px;
    display: none;
    text-align: center;
    color: #221e1f;
    border: solid 3px #221e1f;
    /*box-shadow: 2px 2px 4px #888;*/
    font-weight: bold;
    font-size: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    display: none;
    z-index: 200;
  }
  .error_diag_btn_class {
    font-size: 18px;
    font-weight: bold;
    padding: 10px 10px;
    color: #fff;
    border-style: none;
    /* ボタンの影の指定*/
    /*box-shadow: 2px 2px 3px 1px #666;*/
    /*-moz-box-shadow: 2px 2px 3px 1px #666;*/
    /*-webkit-box-shadow: 2px 2px 3px 1px #666;*/
    /* テキストの影の指定*/
    /*text-shadow: 1px 1px 2px #000;*/
    /* 背景色を明るい青色に指定 */
    background-color: #221e1f;
    /*background-color: #87cefa;*/
    /* 角丸の指定 */
    border-radius: 5px;
    text-align: center;
    margin: 0px 20px;
  }
}
#error_icon {
  width: 36px;
  height: 36px;
}

#error_msg_title {
  font-size: 0.9em;
  line-height: 2.5;
}

#error_msg_text {
  font-size: 0.6em;
  line-height: 1;
}

/* ############ */
/* ############ */