@charset "utf-8";

* {
  margin: 0;
  outline: 0;
  padding: 0;
}

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

body {
  color: #191924;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 1.6rem;
  overflow-x: hidden;
}

/* 汎用 */
.e-anchor:link {
  color: #555;
  text-decoration: none;
}
.e-anchor:hover {
  text-decoration: underline;
}
.e-anchor:visited {
  color: #555;
}

.m-small {
  font-size: 1.2rem;
}
.e-li {
  list-style-type: none;
}
.e-para {
  line-height: 1.76;
}

/* メイン */
.main {
  align-items: center;
  display: flex;
  height: 100dvh;
  overflow: hidden;
  width: 100vw;
}

button {
  cursor: pointer;
}

.info {
  align-items: center;
  display: flex;
  flex-direction: column;
  width: 45vw;
}
.info .hl {
  margin: 0 auto;
  max-width: 50%;
}

.roulette {
  align-items: center;
  display: flex;
  height: 100vh;
  position: relative;
  width: calc(55vw - 40px);
}

.roulette .box {
  opacity: 0;
  position: absolute;
  transition: 0.3s all;
  visibility: hidden;
  width: 100%;
}
.roulette .box.-on {
  opacity: 1;
  visibility: visible;
}

.standby img {
  transform: scale(1.3);
}

.roulette .img {
  transform: scale(0);
  transition: 0.5s all;
}
.roulette .img.-on {
  transform: scale(1.2);
}

.offside {
  margin-top: 140px;
  text-align: center;
}
.offside h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.offside img {
  margin: 0 auto 10px;
}
.offside p {
  font-size: 1.7rem;
}
.offside .e-anchor {
  color: #005ead;
  display: block;
  font-size: 2rem;
  margin: 10px auto 0;
}

.result div {
  height: calc(55vw - 40px);
}
.result .rsltbox {
  position: relative;
  width: 100%;
}
.result .inbox {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 100%;
}
.result .inbox h2 {
  font-family: "Shippori Mincho", serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.76;
  text-align: center;
}
.result .inbox img {
  display: block;
  margin: 0 auto;
  max-width: 750px;
  width: 100%;
}
.result .retry {
  bottom: 20px;
  display: block;
  height: 100%;
  max-height: 160px;
  max-width: 160px;
  position: absolute;
  right: 20px;
  width: 100%;
}
.result .inbox a {
  color: #005ead;
  display: block;
  font-size: 1.4rem;
  margin: 0 auto;
}
.result .inbox a:hover {
  text-decoration: none;
}

/* メディアクエリ */
.m-sp {
  display: none;
}
.m-pc {
  display: block;
}

@media screen and (max-width: 1023px) {
  .main {
    flex-direction: column;
    justify-content: space-evenly;
  }

  .info,
  .roulette {
    height: auto;
    width: 100vw;
  }

  .info .hl {
    margin-top: 40px;
    max-width: 292px;
  }

  .roulette {
    height: 100vw;
  }
  .standby img {
    margin: 0 auto;
    max-width: 50dvh;
    transform: scale(1.2);
  }
  .result .inbox h2 {
    font-size: 1.6rem;
    padding: 0 20px;
  }
  .result div {
    height: 100vw;
    max-height: calc(100dvh - 260px);
  }
  .result .retry {
    max-height: 60px;
    max-width: 60px;
  }
  .result .inbox img {
    max-width: calc(100% - 40px);
  }

  .offside {
    margin-bottom: 20px;
    margin-top: 0;
  }
  .offside img {
    margin-bottom: 5px;
    max-width: 127px;
  }
  .offside h2 {
    font-size: 1.4rem;
    margin: 0;
  }
  .offside p,
  .offside .e-anchor {
    font-size: 1.2rem;
    margin: 0;
  }

  .m-sp {
    display: block;
  }
  .m-pc {
    display: none;
  }
}
