/**************
reset.css start
**************/

/* http://meyerweb.com/eric/tools/css/reset/ */

/* v1.0 | 20080212 */
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,
font,
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 {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/*
body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
*/
/* remember to define focus styles! */

/*
:focus {
  outline: 0;
}
*/

/* remember to highlight inserts somehow! */

/*
ins {
  text-decoration: none;
}
*/

/*
del {
  text-decoration: line-through;
}
*/

/* tables still need 'cellspacing="0"' in the markup */

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

/**************
reset.css end
**************/

.pc {
  display: block;
}

.sp {
  display: none;
}

html {
  font-size: 62.5%;
  overflow: hidden;
}

body {
  display: block;
  background-color: #000;
  color: #fff;
  /*font-family: 'HelveticaNeueLTStd-Lt', 'HelveticaNeueLTStd-Roman', 'NotoSansCJKjp-Light','NotoSansCJKjp-DemiLight', 'Lato', sans-serif;*/
  /*font-weight: 300;*/
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
}

#canvasContainer {
  width: 100%;
  height: 100%;
  position: fixed;
}

h1 {
  position: absolute;
  top: 50%;
  transform: translate3d(95px, -203px, 0);
  overflow: hidden;
}

h1.completed {
  overflow: inherit;
  width: auto !important;
}

h1 img {
  width: 417px;
}

nav {
  position: absolute;
  top: 50%;
  transform: translate3d(95px, -71px, 0);
  opacity: 0;
}

nav.show {
  opacity: 1;
}

nav ul {
  display: flex;
  flex-wrap: nowrap;
}

nav ul li .pc.container {
  display: flex;
  overflow: hidden;
}

nav ul li .pc.container img {
  height: 112px;
  pointer-events: none;
}

nav ul li .pc.over {
  position: absolute;
  opacity: 0;
  top: 0;
}

nav ul li .pc.over img {
  height: 112px;
}

nav ul li:nth-child(5) {
  display: flex;
}

nav ul li:nth-child(5) > img {
  width: 107px;
  height: 112px;
}

nav ul.grab {
  cursor: grab;
}

nav ul.grab a {
  cursor: grab;
}

.scroll_ui {
  position: absolute;
  top: 50%;
  right: 18px;
  left: 100%;
  transform: translate3d(-195px, 118px, 0);
  display: flex;
  align-items: center;
  opacity: 0;
}

.scroll_ui.show {
  opacity: 1;
}

.scroll_ui.addOverflow {
  overflow: hidden;
}

.scroll_ui.over div.def {
  display: none;
}

.scroll_ui.over div.hover {
  display: block;
}

.scroll_ui div.def {
  position: relative;
  pointer-events: none;
}

.scroll_ui div.def span.scroll {
  margin-right: 103px;
}

.scroll_ui div.def span.scroll img {
  width: 74px;
}

.scroll_ui div.def span.bars {
  position: absolute;
  top: 6px;
  left: 75px;
}

.scroll_ui div.def span.bars span.base_bar {
  width: 120px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
  display: inline-block;
}

@keyframes loop {
  0% {
    left: 0;
    width: 0px;
  }

  50% {
    left: 0px;
    width: 120px;
  }

  100% {
    left: 120px;
    width: 0;
  }
}

.scroll_ui div.def span.bars span.bar {
  position: relative;
  top: -10px;
  width: 60px;
  height: 1px;
  background-color: white;
  display: inline-block;
  animation: loop 1.3s infinite;
}

.scroll_ui div.hover {
  display: none;
}

.scroll_ui div.hover span img {
  width: 74px;
}

.scroll_ui div.hover span.next {
  margin-left: 5px;
}

.scroll_ui div.hover span.prev,
.scroll_ui div.hover span.next {
  position: relative;
  cursor: pointer;
  top: -7px;
}

.scroll_ui div.hover span.prev img,
.scroll_ui div.hover span.next img {
  width: 49px;
}

.loading {
  position: fixed;
  width: 100%;
  height: 100%;
}

.loading.hide {
  display: none;
}

.loading .mask {
  position: relative;
  transform: translate3d(-40vw, 0, 0);
  display: flex;
  width: 140vw;
}

.loading .mask img {
  height: 100vh;
}

.loading .mask span {
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  display: inline-block;
}

.loading .mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0.08;
  height: 95.4%;
}

.loading .mark img {
  height: 100%;
}

.loading .txt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  white-space: nowrap;
}

.loading .txt img {
  height: 7px;
  width: 7px;
  margin-left: 9px;
}

.loading .txt img:first-child {
  height: 40px;
  width: auto;
  margin-left: 35px;
}

.loading .txt img:nth-child(2) {
  animation: blink1 1.2s infinite;
}

@keyframes blink1 {
  0% {
    opacity: 0;
  }

  24.9% {
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

.loading .txt img:nth-child(3) {
  animation: blink2 1.2s infinite;
}

@keyframes blink2 {
  0% {
    opacity: 0;
  }

  49.9% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 900px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  body {
    /*overflow-x: hidden;*/
    /*overflow-y: auto;*/
  }

  h1 {
    top: 16.4vh;
    left: 5.3vw;
    transform: inherit;
  }

  h1 img {
    width: auto;
    height: 6.3vh;
  }

  nav {
    top: 28.6vh;
    left: 5vw;
    transform: inherit;
  }

  nav ul {
    display: block;
    transform: inherit !important;
  }

  nav ul li {
    margin-bottom: 4.4vh;
  }

  nav ul li .pc.container {
    display: none;
  }

  nav ul li .sp.container {
    display: flex;
    overflow: hidden;
  }

  nav ul li .sp.container img {
    height: 4.6vh;
    width: auto;
  }

  nav ul li:nth-child(5) {
    display: block;
  }

  nav ul li:nth-child(5) div.sp.line {
    width: 55vw;
    height: 1px;
    margin-top: 4.4vh;
  }

  nav ul li:nth-child(5) div.sp.line span {
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: inline-block;
    transform-origin: left top;
  }

  .scroll_ui {
    display: none;
  }

  .loading .mask {
    transform: translate3d(-46vw, 0, 0);
  }
}
