@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Noto+Sans+JP:wght@400;700&display=swap&subset=japanese");
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

html, body {
  height: 100%;
}

html, body, input, button, textarea, select {
  font-size: 5vw;
}

body {
  margin: 0;
  padding: 0;
  color: #4d4d4d;
  font-family: 'Open Sans', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  background-color: #ffffff;
  -webkit-text-size-adjust: 100%;
}

::selection {
  color: #ffffff;
  background-color: #85307f;
}

a {
  outline: none !important;
  -moz-transition: color 0.4s ease-in-out, opacity 0.4s ease-in-out, background-color 0.4s ease-in-out;
  -o-transition: color 0.4s ease-in-out, opacity 0.4s ease-in-out, background-color 0.4s ease-in-out;
  -webkit-transition: color 0.4s ease-in-out, opacity 0.4s ease-in-out, background-color 0.4s ease-in-out;
  transition: color 0.4s ease-in-out, opacity 0.4s ease-in-out, background-color 0.4s ease-in-out;
}

a:link, a:visited {
  color: #0033cc;
  text-decoration: none;
}

a:hover, a:focus, a:active {
  color: #ff7f00;
  text-decoration: underline;
}

img {
  max-width: 100%;
  vertical-align: text-bottom;
}

strong {
  font-weight: 700;
}

sup {
  vertical-align: super;
  font-size: 60%;
}

.textcenter {
  text-align: center;
}

.textright {
  text-align: right;
}

.textleft {
  text-align: left;
}

.roulette_lp {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

/* Header
---------------------------------------------------------------- */
.header {
  border-bottom: solid 1px #ededed;
}

/* Main
---------------------------------------------------------------- */
.main {
  position: relative;
  min-height: 144vw;
  background: url("../img/main_bg.jpg") no-repeat center top;
  -moz-background-size: contain;
  -o-background-size: contain;
  -webkit-background-size: contain;
  background-size: contain;
}
.main .copy {
  margin-bottom: 1.06667vw;
}
.main .panel {
  position: relative;
  width: 100%;
  height: 74.66667vw;
  background: url("../img/roulette_bg.png") no-repeat center center;
  -moz-background-size: contain;
  -o-background-size: contain;
  -webkit-background-size: contain;
  background-size: contain;
}
.main .panel .arrow {
  position: absolute;
  top: -14.4vw;
  left: 50%;
  z-index: 10;
  width: 29.06667vw;
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.main .panel .roulette, .main .panel .judgement {
  position: absolute;
  top: 8vw;
  left: 21.33333vw;
  width: 58.66667vw;
}
.main .panel .roulette.spin {
  -moz-animation: spin 2s linear infinite;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
.main .panel .judgement {
  display: none;
}
.main .panel .judgement.goal {
  -moz-animation: goal-1 1s 0s linear 1, goal-2 2.5s 1s linear 1 forwards;
  -webkit-animation: goal-1 1s 0s linear 1, goal-2 2.5s 1s linear 1 forwards;
  animation: goal-1 1s 0s linear 1, goal-2 2.5s 1s linear 1 forwards;
}
.main .panel .judgement.again {
  -moz-animation: again-1 1s 0s linear 1, again-2 2.5s 1s linear 1 forwards;
  -webkit-animation: again-1 1s 0s linear 1, again-2 2.5s 1s linear 1 forwards;
  animation: again-1 1s 0s linear 1, again-2 2.5s 1s linear 1 forwards;
}
.main .panel .stop {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25.6vw;
  height: 25.6vw;
  cursor: pointer;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.main .panel .stop img {
  -moz-animation: bounce 2.5s linear 0s infinite normal;
  -webkit-animation: bounce 2.5s linear 0s infinite normal;
  animation: bounce 2.5s linear 0s infinite normal;
}
.main .panel .stop.stopsecond {
  display: none;
}
.main .panel .stop.click {
  pointer-events: none;
}
.main .panel .stop.click img {
  -moz-animation: none;
  -webkit-animation: none;
  animation: none;
}
.main .hazure {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
.main .hazure h3 {
  margin-bottom: 4vw;
}
.main .hazure .again {
  text-align: center;
  cursor: pointer;
}
.main .hazure .again:hover {
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
  opacity: 0.7;
}
.main .hazure .again img {
  width: 87.86667vw;
}

@keyframes goal-1 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(180deg);
  }
}
@keyframes goal-2 {
  0% {
    transform: rotate(-180deg);
  }
  25% {
    transform: rotate(-110deg);
  }
  50% {
    transform: rotate(-50deg);
  }
  75% {
    transform: rotate(-12deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
@keyframes again-1 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(180deg);
  }
}
@keyframes again-2 {
  0% {
    transform: rotate(-180deg);
  }
  25% {
    transform: rotate(-105deg);
  }
  50% {
    transform: rotate(-45deg);
  }
  75% {
    transform: rotate(10deg);
  }
  100% {
    transform: rotate(36deg);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes bounce {
  0% {
    transform: scale(0.9, 0.9);
  }
  5% {
    transform: scale(1.2, 1.2);
  }
  10% {
    transform: scale(1, 1);
  }
  15% {
    transform: scale(1.4, 1.4);
  }
  20% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(1, 1);
  }
}
/* Atari
---------------------------------------------------------------- */
.atari {
  display: none;
  position: relative;
}
.atari video {
  width: 100%;
}
.atari .fig01 {
  text-align: center;
  background-color: #fefee6;
}
.atari .fig01 img {
  width: 85.2vw;
}
.atari .last {
  text-align: center;
  position: absolute;
  bottom: 20vw;
  width: 100%;
}
.atari .last img {
  width: 86.93333vw;
}

/* Footer
---------------------------------------------------------------- */
.footer {
  padding: 2vw 0;
  background-color: #85307f;
}
.footer p {
  color: #ffffff;
  font-size: 1.86667vw;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

/* RWD
---------------------------------------------------------------- */
@media only screen and (min-width: 750px) {
  html, body, input, button, textarea, select {
    font-size: 16px;
  }

  .main {
    min-height: 1080px;
  }
  .main .copy {
    margin-bottom: 8px;
  }
  .main .panel {
    height: 560px;
  }
  .main .panel .arrow {
    top: -108px;
    width: 218px;
  }
  .main .panel .roulette, .main .panel .judgement {
    top: 60px;
    left: 160px;
    width: 440px;
  }
  .main .panel .stop {
    width: 192px;
    height: 192px;
  }
  .main .hazure h3 {
    margin-bottom: 30px;
  }
  .main .hazure .again img {
    width: 659px;
  }

  .atari .fig01 img {
    width: 639px;
  }
  .atari .last {
    bottom: 130px;
  }
  .atari .last img {
    width: 652px;
  }

  .footer {
    padding: 15px 0;
  }
  .footer p {
    font-size: 14px;
  }
}
