/* ==========================================================================
Foundation
========================================================================== */
/* Reset
----------------------------------------------------------------- */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Base
	----------------------------------------------------------------- */
html {
  background: #fff;
}

body {
  color: #cb213c;
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.02em;
  overflow: hidden;
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer */
  -khtml-user-select: none;
  /* KHTML browsers (e.g. Konqueror) */
  -webkit-user-select: none;
  /* Chrome, Safari, and Opera */
  -webkit-touch-callout: none;
  /* Disable Android and iOS callouts*/
}

body.is-disabled_scroll {
  position: fixed;
  width: 100%;
  height: 100%;
}

body:not(.is-win) {
  -webkit-font-smoothing: antialiased;
}

a {
  cursor: pointer;
  outline: none;
  text-decoration: none;
  -webkit-transition: opacity 0.4s;
  transition: opacity 0.4s;
  color: #cb213c;
}

@media screen and (min-width: 821px) {
  a:hover {
    opacity: 0.7;
    -webkit-transition: opacity 0s;
    transition: opacity 0s;
    text-decoration: none !important;
  }
}

strong {
  font-weight: bold;
}

img {
  vertical-align: bottom;
}

/* ==========================================================================
	Layout
========================================================================== */
body.is-noscroll {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.header__logo {
  font-size: 12px;
  line-height: 1;
  padding: 15px;
  background: linear-gradient(45deg, #fff 10px, #fff 10px), linear-gradient(-45deg, transparent 10px, #fff 10px), linear-gradient(225deg, #fff 10px, #fff 10px), linear-gradient(-225deg, #fff 10px, #fff 10px);
  background-position: bottom left, bottom right, top right, top left;
  background-size: 51% 51%;
  background-repeat: no-repeat;
}

.header__logo img {
  width: 150px;
  height: auto;
  margin-top: 10px;
}

.copyright {
  font-size: 10px;
  position: fixed;
  width: 100%;
  text-align: center;
  bottom: 0;
  padding: 5px;
  display: block;
  color: #fff;
}

/* ==========================================================================
	Object
========================================================================== */
/* Component
----------------------------------------------------------------- */
/* Project
----------------------------------------------------------------- */
.ui-loading {
  position: fixed;
  left: 0;
  top: 0;
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  height: 100%;
  z-index: 200;
  -webkit-transition: top 1s;
  transition: top 1s;
}

.ui-loading:after {
  content: '';
  width: 150px;
  height: 150px;
  background: url(/asset/img/site-logo_branch.svg) no-repeat center center;
  display: block;
}

.ui-loading.is-complete {
  top: -100%;
}

.ui-font_en {
  font-family: "Press Start 2P", cursive;
}

.ui-menu {
  position: fixed;
  top: -100%;
  left: 50%;
  margin-top: -30px;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-transition: background-color 0.4s, -webkit-transform 0.4s;
  transition: background-color 0.4s, -webkit-transform 0.4s;
  transition: background-color 0.4s, transform 0.4s;
  transition: background-color 0.4s, transform 0.4s, -webkit-transform 0.4s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-transition: top 0.6s;
  transition: top 0.6s;
}

.ui-menu .ui-button {
  font-size: 16px;
}

.ui-menu.is-active {
  top: 50%;
}

.ui-menu a + a {
  margin-top: 10px;
}

.ui-button {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  min-width: 150px;
  color: #fff;
  line-height: 1;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: "Press Start 2P", cursive;
  background: linear-gradient(45deg, transparent 5px, #ff4e6c 5px), linear-gradient(-45deg, transparent 5px, #ff4e6c 5px), linear-gradient(225deg, transparent 5px, #ff4e6c 5px), linear-gradient(-225deg, transparent 5px, #ff4e6c 5px);
  background-position: bottom left, bottom right, top right, top left;
  background-size: 51% 51%;
  background-repeat: no-repeat;
  padding: 10px 20px;
  position: relative;
  text-align: center;
}

.ui-button span {
  display: inline-block;
  position: relative;
}

.ui-button:before {
  content: '';
  display: block;
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  background: linear-gradient(45deg, transparent 5px, #cb213c 5px), linear-gradient(-45deg, transparent 5px, #cb213c 5px), linear-gradient(225deg, transparent 5px, #cb213c 5px), linear-gradient(-225deg, transparent 5px, #cb213c 5px);
  background-position: bottom left, bottom right, top right, top left;
  background-size: 51% 51%;
  background-repeat: no-repeat;
  padding: 0;
}

@media screen and (min-width: 821px) {
  .ui-button:hover {
    opacity: 1;
  }
  .ui-button:hover:before {
    background: linear-gradient(45deg, transparent 5px, #ff5e79 5px), linear-gradient(-45deg, transparent 5px, #ff5e79 5px), linear-gradient(225deg, transparent 5px, #ff5e79 5px), linear-gradient(-225deg, transparent 5px, #ff5e79 5px);
    background-position: bottom left, bottom right, top right, top left;
    background-size: 51% 51%;
    background-repeat: no-repeat;
  }
}

.ui-timer {
  position: fixed;
  top: 20px;
  display: inline-block;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
  font-family: "Press Start 2P", cursive;
  font-size: 24px;
  background: #fff;
  padding: 10px 10px 5px;
  line-height: 1;
  display: none;
}

.ui-timer.is-active {
  display: block;
}

@media screen and (max-width: 600px) {
  .ui-timer {
    top: 80px;
    font-size: 20px;
  }
}

/* CONTROLLER */
.ui-toggle_ctrl {
  position: fixed;
  left: 50%;
  bottom: -100px;
  -webkit-transition: bottom 0.4s;
  transition: bottom 0.4s;
  -webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
}

.ui-toggle_ctrl.is-active {
  bottom: 145px;
}

.ui-toggle_ctrl .ui-button {
  font-size: 11px;
  padding: 7px 14px;
}

.ui-toggle_ctrl .ui-button:before {
  top: 2px;
  left: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
}

.ui-toggle_ctrl .ui-button span:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(/asset/img/icn-stick.svg) no-repeat center center;
  background-size: contain;
  margin-right: 10px;
  vertical-align: middle;
  margin-top: -3px;
}

.ui-toggle_ctrl.is-stick .ui-button span:before {
  background: url(/asset/img/icn-wasd.svg) no-repeat center center;
  background-size: contain;
}

.ui-joystick {
  width: 100px;
  height: 100px;
  position: absolute;
  left: 50%;
  bottom: -130px;
  margin: 0 0 0 -50px;
  z-index: 100;
  -webkit-transition: bottom 0.4s;
  transition: bottom 0.4s;
}

.ui-joystick.is-active {
  display: block;
  bottom: 30px;
}

.ui-joystick .nipple .back {
  background: #cb213c !important;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 3px solid #ff4e6c;
  opacity: 1 !important;
}

.ui-joystick .nipple .front {
  background: #ffffff;
  opacity: 1 !important;
}

.ui-wasd,
.ui-turn {
  position: fixed;
  bottom: 20px;
  width: 180px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  z-index: 100;
}

.ui-wasd:after,
.ui-turn:after {
  content: '';
  display: block;
  width: 100%;
  height: 0;
  clear: both;
}

.ui-wasd li,
.ui-turn li {
  background: #cb213c;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 33%;
  height: 0;
  padding-top: calc( 33% - 6px);
  position: relative;
  border-radius: 5px;
  border: 3px solid #ff4e6c;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  line-height: 1;
  cursor: pointer;
}

@media screen and (min-width: 821px) {
  .ui-wasd li:hover,
  .ui-turn li:hover {
    background-color: #ff5e79;
  }
}

.ui-wasd li.is-active,
.ui-turn li.is-active {
  background-color: #ff5e79;
}

.ui-wasd li:before,
.ui-turn li:before {
  content: '';
  background: url(/asset/img/icn-arrow.svg) no-repeat center center;
  background-size: 60% 60%;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.ui-wasd li:after,
.ui-turn li:after {
  content: '';
  display: inline-block;
  position: absolute;
  font-size: 11px;
  right: 5px;
  bottom: 5px;
}

.ui-wasd li.ui-ctrl__q:before,
.ui-turn li.ui-ctrl__q:before {
  background: url(/asset/img/icn-turn.svg) no-repeat center center;
  background-size: 70% 70%;
}

.ui-wasd li.ui-ctrl__w:before,
.ui-turn li.ui-ctrl__w:before {
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
}

.ui-wasd li.ui-ctrl__e:before,
.ui-turn li.ui-ctrl__e:before {
  background: url(/asset/img/icn-turn.svg) no-repeat center center;
  background-size: 70% 70%;
  -webkit-transform: scale(-1, 1);
          transform: scale(-1, 1);
}

.ui-wasd li.ui-ctrl__a:before,
.ui-turn li.ui-ctrl__a:before {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.ui-wasd li.ui-ctrl__s:before,
.ui-turn li.ui-ctrl__s:before {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.ui-wasd li.ui-ctrl__q:after,
.ui-turn li.ui-ctrl__q:after {
  content: 'Q';
}

.ui-wasd li.ui-ctrl__w:after,
.ui-turn li.ui-ctrl__w:after {
  content: 'W';
}

.ui-wasd li.ui-ctrl__e:after,
.ui-turn li.ui-ctrl__e:after {
  content: 'E';
}

.ui-wasd li.ui-ctrl__a:after,
.ui-turn li.ui-ctrl__a:after {
  content: 'A';
}

.ui-wasd li.ui-ctrl__s:after,
.ui-turn li.ui-ctrl__s:after {
  content: 'S';
}

.ui-wasd li.ui-ctrl__d:after,
.ui-turn li.ui-ctrl__d:after {
  content: 'D';
}

.ui-wasd {
  left: -200px;
  -webkit-transition: left 0.4s;
  transition: left 0.4s;
}

.ui-wasd.is-active {
  left: 20px;
}

.ui-wasd li:first-child {
  margin-left: 33%;
  margin-right: 33%;
}

@media screen and (max-width: 600px) {
  .ui-wasd.is-active {
    left: 10px;
  }
}

.ui-turn {
  right: -200px;
  -webkit-transition: right 0.4s;
  transition: right 0.4s;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.ui-turn.is-active {
  right: 20px;
}

@media screen and (max-width: 600px) {
  .ui-turn.is-active {
    right: 10px;
  }
}

.ui-help {
  background: linear-gradient(45deg, transparent 5px, #fff 5px), linear-gradient(-45deg, #fff 5px, #fff 5px), linear-gradient(225deg, #fff 5px, #fff 5px), linear-gradient(-225deg, #fff 5px, #fff 5px);
  background-position: bottom left, bottom right, top right, top left;
  background-size: 51% 51%;
  background-repeat: no-repeat;
  position: fixed;
  right: 0;
  top: 0;
  padding: 7px;
  z-index: 100;
}

/* MODAL */
.ui-modal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: -250%;
  left: 0;
  z-index: 200;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: opacity 0.3s, top 0s 0.4s, -webkit-transform 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: opacity 0.3s, top 0s 0.4s, -webkit-transform 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: transform 0.4s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.3s, top 0s 0.4s;
  transition: transform 0.4s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.3s, top 0s 0.4s, -webkit-transform 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  -webkit-transform: scale(2, 2);
          transform: scale(2, 2);
  opacity: 0;
  background: rgba(0, 0, 0, 0.2);
}

.ui-modal.is-active {
  top: 0;
  -webkit-transform: scale(1, 1);
          transform: scale(1, 1);
  opacity: 1;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: opacity 0.3s, -webkit-transform 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: transform 0.4s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.3s;
  transition: transform 0.4s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.3s, -webkit-transform 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.ui-modal__box {
  pointer-events: all;
  background: #fff;
  width: 90%;
  max-width: 600px;
  background: linear-gradient(45deg, transparent 10px, rgba(255, 255, 255, 0.85) 10px), linear-gradient(-45deg, transparent 10px, rgba(255, 255, 255, 0.85) 10px), linear-gradient(225deg, transparent 10px, rgba(255, 255, 255, 0.85) 10px), linear-gradient(-225deg, transparent 10px, rgba(255, 255, 255, 0.85) 10px);
  background-position: bottom left, bottom right, top right, top left;
  background-size: 50.01% 50.01%;
  background-repeat: no-repeat;
  padding: 30px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-align: center;
}

.ui-modal__title {
  font-size: 24px;
  text-align: center;
  font-weight: bold;
  font-family: "Press Start 2P", cursive;
  border: 2px solid #cb213c;
  display: inline-block;
  position: relative;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px 20px;
}

.ui-modal__title:after {
  content: '';
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: 2px solid #b3b162;
}

.ui-modal__title:before {
  content: '';
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: block;
  position: absolute;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  top: 2px;
  left: 2px;
  border: 2px solid #ffffff;
}

.ext-help .ui-modal__title {
  border: none;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
}

.ext-help .ui-modal__title:before, .ext-help .ui-modal__title:after {
  display: none;
}

.ui-modal__table {
  font-size: 16px;
  text-align: center;
  margin: 20px auto 0;
  font-family: "Press Start 2P", cursive;
}

.ui-modal__table th {
  text-align: right;
  padding-right: 10px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding-bottom: 10px;
  font-weight: bold;
}

.ui-modal__table td {
  text-align: left;
  padding-bottom: 10px;
}

.ui-modal__table tr:last-child th, .ui-modal__table tr:last-child td {
  padding-bottom: 0;
}

.ui-modal__subtitle {
  font-size: 16px;
  text-align: center;
  margin-top: 20px;
}

.ext-help .ui-modal__subtitle {
  font-weight: bold;
}

.ui-modal__text {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
}

.ui-modal__text + .ui-modal__text {
  margin-top: 20px;
}

.ext-help .ui-modal__text a {
  text-decoration: underline;
}

.ui-modal__note {
  margin-top: 0;
  font-size: 11px;
  text-align: center;
}

.obi {
  width: 400px;
  height: 17px;
  position: fixed;
  top: 0;
  right: -150px;
  z-index: 50;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  pointer-events: none;
}

.obi.ext-alt {
  top: auto;
  bottom: 0;
  left: -150px;
}

.obi div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 5px;
}

.obi span,
.obi div:after,
.obi div:before {
  display: block;
  width: 100%;
  height: 1px;
}

.obi div:after,
.obi div:before {
  content: '';
}

.obi div:nth-child(1) span, .obi div:nth-child(1):after, .obi div:nth-child(1):before {
  background-color: #cb213c;
}

.obi div:nth-child(2) span, .obi div:nth-child(2):after, .obi div:nth-child(2):before {
  background-color: #b3b162;
}

.obi div:nth-child(3) span, .obi div:nth-child(3):after, .obi div:nth-child(3):before {
  background-color: #fff;
}

/* Utility
----------------------------------------------------------------- */
@media screen and (max-width: 820px) {
  .u-pc_only {
    display: none;
  }
}

@media screen and (min-width: 821px) {
  .u-sp_only {
    display: none;
  }
}

.u-clearfix:after {
  content: " ";
  display: block;
  clear: both;
}

.u-breakctrl {
  display: inline-block;
}

/* Margin ============== */
.u-margin_top_short {
  margin-top: 1em !important;
}

.u-margin_top_medium {
  margin-top: 3em !important;
}

.u-margin_top_long {
  margin-top: 5em !important;
}

/* image ============== */
.u-image__responsive {
  max-width: 100%;
  height: auto;
}

/* Text ============== */
.u-text__center {
  text-align: center !important;
}

.u-text__left {
  text-align: left !important;
}

.u-text__right {
  text-align: right !important;
}

@media screen and (max-width: 820px) {
  .u-sp_text__center {
    text-align: center !important;
  }
  .u-sp_text__left {
    text-align: left !important;
  }
  .u-sp_text__right {
    text-align: right !important;
  }
}

/* Animation ============== */
@-webkit-keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: block;
    opacity: 0;
  }
  100% {
    display: block;
    opacity: 1;
  }
}
@keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: block;
    opacity: 0;
  }
  100% {
    display: block;
    opacity: 1;
  }
}

@-webkit-keyframes fade-out {
  0% {
    display: block;
    opacity: 1;
  }
  99% {
    display: block;
    opacity: 0;
  }
  100% {
    display: none;
    opacity: 0;
  }
}

@keyframes fade-out {
  0% {
    display: block;
    opacity: 1;
  }
  99% {
    display: block;
    opacity: 0;
  }
  100% {
    display: none;
    opacity: 0;
  }
}

/* Animation
----------------------------------------------------------------- */
