.game {
  background: #fff;
}

.game__header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  position: relative;
}
@media (max-width: 1023px) {
  .game__header {
    padding: 4.1666666667vw 4.1666666667vw 0;
  }
}
@media (min-width: 1024px) {
  .game__header {
    padding: 34px 28px 0;
  }
}
.game__header .game__back {
  border: 2px solid #000;
  display: inline-flex;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}
@media (max-width: 1023px) {
  .game__header .game__back {
    font-size: 3.125vw;
    padding: 1.6927083333vw 2.0833333333vw;
  }
}
@media (min-width: 1024px) {
  .game__header .game__back {
    font-size: 16px;
    padding: 14px 30px;
  }
}
.game__header .game__header__list {
  display: flex;
}
@media (max-width: 1023px) {
  .game__header .game__header__list {
    align-items: center;
    -moz-column-gap: 3.125vw;
         column-gap: 3.125vw;
  }
}
@media (min-width: 1024px) {
  .game__header .game__header__list {
    position: absolute;
    top: unset;
    left: unset;
    bottom: 0;
    right: 27px;
    flex-direction: column;
    row-gap: 10px;
    transform: translateY(100%);
  }
}
.game__header .game__header__list img {
  display: block;
}
@media (max-width: 1023px) {
  .game__header .game__header__list .item {
    width: 5.7291666667vw;
  }
}
@media (min-width: 1024px) {
  .game__header .game__header__list .item {
    width: 30px;
  }
}
@media (max-width: 1023px) {
  .game__header .game__header__list .item:has([src$="txt_share.svg"]) {
    width: 9.375vw;
  }
}

.game__head {
  text-align: center;
}
@media (max-width: 1023px) {
  .game__head {
    margin: 7.5520833333vw auto 3.6458333333vw;
  }
}
@media (min-width: 1024px) {
  .game__head {
    margin: 0 auto 22px;
  }
}

.game__head__title-wrap {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}
@media (max-width: 1023px) {
  .game__head__title-wrap {
    gap: 1.0416666667vw;
  }
}
@media (min-width: 1024px) {
  .game__head__title-wrap {
    gap: 6px;
  }
}
.game__head__title-wrap .game__head__title {
  font-weight: 800;
}
@media (max-width: 1023px) {
  .game__head__title-wrap .game__head__title {
    font-size: 6.7708333333vw;
  }
}
@media (min-width: 1024px) {
  .game__head__title-wrap .game__head__title {
    font-size: 52px;
  }
}
@media (max-width: 1023px) {
  .game__head__title-wrap .game__head__icon {
    width: 6.1197916667vw;
  }
}
@media (min-width: 1024px) {
  .game__head__title-wrap .game__head__icon {
    width: 46px;
  }
}

.game__head__sub-title {
  font-weight: 800;
}
@media (max-width: 1023px) {
  .game__head__sub-title {
    font-size: 4.6875vw;
  }
}
@media (min-width: 1024px) {
  .game__head__sub-title {
    font-size: 24px;
  }
}

.game__head__intro {
  font-weight: 500;
}
@media (max-width: 1023px) {
  .game__head__intro {
    font-size: 3.7760416667vw;
    margin-top: 6.25vw;
  }
}
@media (min-width: 1024px) {
  .game__head__intro {
    font-size: 16px;
    margin-top: 26px;
  }
}
.game__head__intro .game__head__howto {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 1023px) {
  .game__head__intro .game__head__howto {
    gap: 1.5625vw 0.78125vw;
    margin-top: 2.6041666667vw;
  }
}
@media (min-width: 1024px) {
  .game__head__intro .game__head__howto {
    gap: 8px;
    margin-top: 8px;
  }
}
.game__head__intro .game__head__key {
  background: #e3e6e8;
  border: 1px solid #9fa6ad;
  border-radius: 5px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
  display: inline-flex;
  line-height: 1;
}
@media (max-width: 1023px) {
  .game__head__intro .game__head__key {
    font-size: 3.2552083333vw;
    padding: 1.5625vw 3.125vw;
  }
}
@media (min-width: 1024px) {
  .game__head__intro .game__head__key {
    font-size: 14px;
    padding: 7px 16px 9px;
  }
}
@media (max-width: 1023px) {
  .game__head__intro .game__head__br {
    width: 100%;
  }
}
@media (min-width: 1024px) {
  .game__head__intro .game__head__br {
    display: none;
  }
}
@media (max-width: 1023px) {
  .game__head__intro .game__head__note {
    font-size: 2.6041666667vw;
    margin: 5.46875vw 3.6458333333vw 0;
    text-align: left;
  }
}
@media (min-width: 1024px) {
  .game__head__intro .game__head__note {
    font-size: 12px;
    margin-top: 34px;
  }
}

.game__contents {
  aspect-ratio: 1520/666;
  background: #000;
  position: relative;
}
@media (min-width: 1024px) {
  .game__contents {
    margin-inline: auto;
    width: 79.1666666667vw;
  }
}
.game__contents iframe {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.game__contents::after {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(35, 24, 21, 0.6);
  content: "";
  transition: opacity 0.3s;
}
.game__contents:not(.-gameover)::after {
  opacity: 0;
  pointer-events: none;
}

.game__score {
  position: absolute;
  top: 50%;
  left: 50%;
  align-items: center;
  aspect-ratio: 500/400;
  background-color: rgba(255, 212, 25, 0.9);
  display: flex;
  flex-direction: column;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  row-gap: 6%;
  transition: opacity 0.3s;
  translate: -50% -50%;
  z-index: 1;
}
@media (max-width: 1023px) {
  .game__score {
    width: 78.125vw;
  }
}
@media (min-width: 1024px) {
  .game__score {
    width: 500px;
  }
}
.game__contents:not(.-gameover) .game__score {
  opacity: 0;
  pointer-events: none;
}

.game__score__chara {
  width: 30%;
}
.game__score__chara img {
  width: 100%;
}

.game__score__txt {
  margin-top: -4%;
}
@media (max-width: 1023px) {
  .game__score__txt {
    font-size: 4.6875vw;
  }
}
@media (min-width: 1024px) {
  .game__score__txt {
    font-size: 30px;
  }
}

.game__score__num {
  margin-top: -3%;
}
@media (max-width: 1023px) {
  .game__score__num {
    font-size: 14.0625vw;
  }
}
@media (min-width: 1024px) {
  .game__score__num {
    font-size: 90px;
  }
}

.game__score__share {
  align-items: center;
  aspect-ratio: 220/60;
  background-color: #231815;
  color: #fff;
  display: flex;
  justify-content: center;
  width: 44%;
}
@media (max-width: 1023px) {
  .game__score__share {
    font-size: 3.6458333333vw;
  }
}
@media (min-width: 1024px) {
  .game__score__share {
    font-size: 24px;
  }
}
.game__score__share img {
  width: 10%;
}

.game__score__close {
  position: absolute;
  top: 0;
  right: 0;
  aspect-ratio: 1;
  background-color: #000;
  margin: 3% 3% 0 0;
  width: 10%;
}
.game__score__close::before, .game__score__close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border-top: 1px solid #fff;
  content: "";
  rotate: 45deg;
  translate: -50% -50%;
  width: 112%;
}
.game__score__close::after {
  rotate: -45deg;
}

.game__bnr {
  margin-inline: auto;
}
@media (max-width: 1023px) {
  .game__bnr {
    height: 18.2291666667vw;
    margin-top: 11.8489583333vw;
    width: 91.1458333333vw;
  }
}
@media (min-width: 1024px) {
  .game__bnr {
    height: 128px;
    margin-top: 58px;
    width: 640px;
  }
}
.game__bnr .game__bnr-swiper {
  height: 100%;
  overflow: hidden;
}
.game__bnr .swiper-wrapper {
  height: 100%;
}
.game__bnr .swiper-slide {
  height: 100%;
  width: 100%;
}

.game__bnr-link {
  align-items: center;
  background: #000;
  display: flex;
  height: 100%;
  justify-content: center;
  text-decoration: none;
}
.game__bnr-link img {
  display: block;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

.game__bnr-pagination {
  align-items: center;
  display: flex;
  justify-content: center;
}
@media (max-width: 1023px) {
  .game__bnr-pagination {
    gap: 2.4739583333vw;
    margin-top: 3.515625vw;
  }
}
@media (min-width: 1024px) {
  .game__bnr-pagination {
    gap: 13px;
    margin-top: 21px;
  }
}
.game__bnr-pagination .swiper-pagination-bullet {
  background: #c8c8c8;
  border-radius: 50%;
  cursor: pointer;
  opacity: 1;
}
@media (max-width: 1023px) {
  .game__bnr-pagination .swiper-pagination-bullet {
    height: 1.6927083333vw;
    width: 1.6927083333vw;
  }
}
@media (min-width: 1024px) {
  .game__bnr-pagination .swiper-pagination-bullet {
    height: 9px;
    width: 9px;
  }
}
.game__bnr-pagination .swiper-pagination-bullet-active {
  background: #505050;
}

.game__note {
  color: #232629;
  text-align: center;
}
@media (max-width: 1023px) {
  .game__note {
    font-size: 3.125vw;
    margin-top: 11.9791666667vw;
  }
}
@media (min-width: 1024px) {
  .game__note {
    margin-top: 74px;
    font-size: 12px;
  }
}