html {
  background: var(--color-yellow);
}

.trim {
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.trim2 {
  margin: calc(0.5em - 0.5lh) 0;
}

.ex-text {
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
  white-space: pre;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-yellow);
  line-height: 1;
  letter-spacing: -0.004em;
  background: var(--color-black);
}

.ex-text .cal {
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  padding-inline: 0.2em;
}

.f-dela-gothic-one {
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.f-m-plus-1p {
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.f-noto-sans {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.lg_only {
  display: none;
}

.xl_only {
  display: none;
}

.bevel {
  clip-path: polygon(var(--size) 0, calc(100% - var(--size)) 0, 100% var(--size), 100% calc(100% - var(--size)), calc(100% - var(--size)) 100%, var(--size) 100%, 0 calc(100% - var(--size)), 0 var(--size));
}

.chrome .bevel {
  clip-path: none;
  border-radius: var(--size);
  corner-shape: bevel;
}

body {
  --r-aspect: 722/696;
  --r-width: min(min(485.3333333333px, 86.6666666667vw), calc(80vh * var(--r-aspect)));
  --r-height: calc(var(--r-width) * 696 / 722);
  --c-height: 80vh;
  --r-bottom: calc(var(--r-height) + (var(--c-height) - var(--r-height)) * 0.5);
}

.visual {
  position: absolute;
  inset: 0;
}

.visual[data-visible=false] .inner {
  opacity: 0.1;
}

.visual .sticky {
  position: sticky;
  top: 0;
  height: var(--c-height);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual .container {
  position: relative;
  width: var(--r-width);
  height: var(--r-height);
  margin-left: min(17.92px, 3.2vw);
}

.visual .inner {
  position: absolute;
  inset: 0;
  transition: opacity 500ms ease;
  will-change: opaicty;
}

.visual .inner .logo_r {
  position: absolute;
  inset: 0;
  background: url("../img/r.webp") center/100% no-repeat;
  opacity: 0.4;
  will-change: opacity, transform;
}

.visual .inner .visual_img {
  position: absolute;
  top: -9.5693779904%;
  left: 4.6153846154%;
  width: 96.1538461538%;
  height: auto;
  transform-origin: 50% 80%;
  will-change: transform;
}

.visual .inner .visual_img .mask {
  position: absolute;
  inset: 0;
  background: #e25a36;
  background: hsl(13, 76%, 55%);
  mask: url("../img/visual.webp") center/contain no-repeat;
  opacity: 0;
  will-change: opacity;
}

.visual .inner .visual_img .mask[data-visible=true] {
  opacity: 1;
  background: hsl(39, 88%, 10%);
  transition: opacity 1s cubic-bezier(0.55, 0.085, 0.68, 0.53), background-color 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.visual .inner .visual_img img {
  position: relative;
  will-change: opacity;
}

.visual .pop {
  position: absolute;
  will-change: opacity, transform;
  opacity: 0;
  transform: scale(0);
}

.visual .pop1 {
  top: -19.4577352472%;
  left: 5.2307692308%;
  width: 33.6923076923%;
  transform-origin: 0% 82%;
}

.visual .pop2 {
  top: 23.6044657097%;
  left: 61.0769230769%;
  width: 42.7692307692%;
  transform-origin: 100% 0%;
}

.visual .pop3 {
  top: 46.7304625199%;
  left: -9.5384615385%;
  width: 65.5384615385%;
  transform-origin: -10% 100%;
}

#last {
  height: 100vh;
}

.button_v1 {
  --size: min(44.8px, 8vw);
  --shift: min(2.9866666667px, 0.5333333333vw);
  --stroke-color: var(--color-black);
  --stroke-width: min(1.4933333333px, 0.2666666667vw);
  --fill-color: #fff;
  --icon-size: 10px;
  --width: var(--size);
}

.button_v1[data-stroke="4"] {
  --stroke-width: min(2.9866666667px, 0.5333333333vw);
}

.button_v1[data-shift="10"] {
  --shift: min(7.4666666667px, 1.3333333333vw);
}

.button_v1[data-size="80"] {
  --size: min(59.7333333333px, 10.6666666667vw);
}

.button_v1 {
  position: relative;
  box-sizing: content-box;
  padding-right: var(--shift);
  padding-bottom: var(--shift);
}

.button_v1[data-shape=circle] {
  width: var(--size);
  aspect-ratio: 1;
}

.button_v1[data-shape=pill] {
  width: auto;
  height: var(--size);
}

.button_v1::before {
  content: "";
  position: absolute;
  top: var(--shift);
  left: var(--shift);
  right: 0;
  bottom: 0;
  border-radius: 100vw;
  background: var(--fill-color);
}

.button_v1 .button-border {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 100vw;
  border: solid var(--stroke-width) var(--stroke-color);
  transition: transform 200ms;
  font-family: "icon" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stroke-color);
  font-size: var(--icon-size);
}

.button_v1:active .button-border {
  transform: translate(calc(var(--shift) * 0.95), calc(var(--shift) * 0.95)) !important;
}

.global_header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
  transition: opacity 500ms cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

.global_header img {
  width: 100%;
  height: auto;
}

.opening-mode .global_header {
  opacity: 0;
}

.global_header .omaroke {
  position: absolute;
  width: 53px;
  top: 10px;
  left: 10px;
}

.global_header .boardgame_club {
  position: absolute;
  width: 40.5px;
  top: 10px;
  right: 10px;
}

.global_footer {
  background: var(--color-black);
}

.global_footer .wrapper {
  width: 86.1333333333%;
  padding-top: 45px;
  padding-bottom: 60px;
  margin: 0 auto;
}

.global_footer .shares {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 40px;
}

.global_footer .shares a {
  box-sizing: content-box;
  width: 40px;
  height: 40px;
  background: center/contain no-repeat;
}

.global_footer .shares a img {
  transition: opacity 200ms;
  will-change: opacity;
}

.global_footer .shares .x {
  padding: 14px 14px 12.5px 33.5px;
  background-image: url("../img/bg_x.svg");
  margin-right: 8.5px;
}

.global_footer .shares .facebook {
  padding: 14.5px 17px 15.5px 16.5px;
  background-image: url("../img/bg_facebook.svg");
  margin-right: 10px;
}

.global_footer .shares .line {
  padding: 20px 32px 13px 15.5px;
  background-image: url("../img/bg_line.svg");
}

.global_footer .official {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  max-width: 325px;
  border: solid 1px var(--color-white);
  border-radius: 100vw;
  margin: 0 auto 27px;
  transition: opacity 200ms;
  will-change: opacity;
}

.global_footer .official .text {
  color: var(--color-white);
  font-size: max(14px, 0.7291666667vw);
  font-weight: 100;
}

.global_footer .official .text::after {
  font-family: "icon" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: var(--icon-link);
  font-size: max(9px, 0.46875vw);
  margin-left: max(10px, 0.5208333333vw);
}

.global_footer .pub {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-bottom: 27px;
}

.global_footer .pub .pokemon {
  width: 128px;
}

.global_footer .pub .yokagames {
  width: 130px;
  margin-top: 18px;
}

.global_footer .copyright {
  color: var(--color-white);
  font-size: 12px;
  font-weight: 100;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: center;
}

.global_footer .copyright p {
  margin: calc(0.5em - 0.5lh);
}

.pagetop {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms;
}

.pagetop[data-visible=true] {
  opacity: 1;
  pointer-events: auto;
}

.pagetop {
  --fill-color: #282828;
  --stroke-color: var(--color-white);
  --icon-size: min(14.9333333333px, 2.6666666667vw);
}

.modal {
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  overscroll-behavior: contain;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.modal::-webkit-scrollbar {
  display: none;
}

.modal[data-visible=false] {
  display: none !important;
}

.modal {
  --padding: min(89.6px, 16vw);
}

.modal .modal-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgb(from var(--color-black) r g b/60%);
  cursor: default;
}

.modal .modal-content {
  position: relative;
  display: flex;
  justify-content: center;
  width: min(530.1333333333px, 94.6666666667vw);
  max-width: calc((100vh - var(--padding) * 2) * 16 / 9);
  margin: auto;
}

.modal .modal-close {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(0%, calc(-100% - 7px));
}

.modal .modal-close {
  --shift: min(3.7333333333px, 0.6666666667vw);
  --fill-color: var(--color-yellow);
  --icon-size: min(16.4266666667px, 2.9333333333vw);
}

html:has(body > .modal[data-visible=true]) {
  overflow: hidden;
}

html:has(body > .scrollbar_track) {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html:has(body > .scrollbar_track)::-webkit-scrollbar {
  display: none;
}

.scrollbar_track {
  position: absolute;
  box-sizing: border-box;
  display: none;
  top: 0;
  right: 0;
  padding: 3px;
  height: 100%;
  opacity: 0;
  transition: opacity 300ms ease;
}

.scrollbar_track[data-active=true] {
  display: block;
}

.scrollbar_track[data-visible=true] {
  opacity: 1;
}

.scrollbar_track[data-visible=false] {
  opacity: 0 !important;
}

body > .scrollbar_track {
  position: fixed;
  z-index: 9999;
}

.scrollbar_thumb {
  position: relative;
  width: 5px;
  opacity: 1;
  border-radius: 10px;
  background: var(--color-white);
  box-shadow: 0 0 0px 2px #000;
  cursor: pointer;
  transition: opacity 200ms;
}

.scrollbar_thumb[data-dragging=true] {
  opacity: 0.9 !important;
}

@media screen and (min-width: 666px) {
  .global_header .omaroke {
    width: 79.5px;
    top: 15px;
    left: 15px;
  }

  .global_header .boardgame_club {
    width: 60.75px;
    top: 15px;
    right: 15px;
  }
}

@media screen and (min-width: 768px) {
  .visual .inner .visual_img {
    top: -9.9137931034%;
    left: 3.0470914127%;
    width: 96.2603878116%;
  }

  .visual .pop1 {
    top: -7.3275862069%;
    left: -20.0831024931%;
    width: 37.9501385042%;
  }

  .visual .pop2 {
    top: 18.5344827586%;
    left: 74.9307479224%;
    width: 48.1994459834%;
  }

  .visual .pop3 {
    top: 34.6264367816%;
    left: -36.703601108%;
    width: 73.6842105263%;
  }

  .global_footer .wrapper {
    width: auto;
    padding-top: max(113px, 5.8854166667vw);
    padding-bottom: max(80px, 4.1666666667vw);
  }

  .global_footer .shares {
    margin-bottom: max(60px, 3.125vw);
  }

  .global_footer .shares a {
    width: max(46px, 2.3958333333vw);
    height: max(46px, 2.3958333333vw);
  }

  .global_footer .shares .x {
    padding: max(15px, 0.78125vw) max(16px, 0.8333333333vw) max(13px, 0.6770833333vw) max(35px, 1.8229166667vw);
    margin-right: max(10px, 0.5208333333vw);
  }

  .global_footer .shares .facebook {
    padding: max(15px, 0.78125vw) max(17px, 0.8854166667vw) max(15px, 0.78125vw) max(18px, 0.9375vw);
    margin-right: max(10px, 0.5208333333vw);
  }

  .global_footer .shares .line {
    padding: max(22px, 1.1458333333vw) max(35px, 1.8229166667vw) max(14px, 0.7291666667vw) max(17px, 0.8854166667vw);
  }

  .global_footer .official {
    max-width: max(325px, 16.9270833333vw);
    height: max(50px, 2.6041666667vw);
    border-width: max(2px, 0.1041666667vw);
    margin-bottom: max(24px, 1.25vw);
  }

  .global_footer .pub {
    gap: max(30px, 1.5625vw);
    margin-bottom: max(32px, 1.6666666667vw);
  }

  .global_footer .pub .pokemon {
    width: max(256px, 13.3333333333vw);
  }

  .global_footer .pub .yokagames {
    width: max(260px, 13.5416666667vw);
    margin-top: max(36px, 1.875vw);
  }

  .global_footer .copyright {
    font-size: max(12px, 0.625vw);
    line-height: 1.75;
  }

  .scrollbar_thumb {
    width: 6px;
  }
}

@media screen and (min-width: 1024px) {
  .lg_only {
    display: inherit;
  }

  body {
    --r-width: min(640px, calc(80vh * var(--r-aspect)));
    --c-height: 100vh;
  }

  .visual .container {
    margin-left: max(44px, 2.2916666667vw);
  }

  .button_v1 {
    --size: 45px;
    --shift: 3px;
    --stroke-width: 1.5px;
  }

  .button_v1[data-stroke="4"] {
    --stroke-width: 3px;
  }

  .button_v1[data-shift="10"] {
    --shift: 7.5px;
  }

  .button_v1[data-size="80"] {
    --size: 60px;
  }

  .pagetop {
    --icon-size: 15px;
  }

  .modal {
    --padding: 80px;
  }

  .modal .modal-content {
    width: 80%;
  }

  .modal .modal-close {
    transform: translate(100%, -100%);
  }

  .modal .modal-close {
    --shift: 3.75px;
    --icon-size: 16px;
  }
}

@media screen and (min-width: 1280px) {
  .xl_only {
    display: inherit;
  }

  body {
    --r-width: min(700px, calc(80vh * var(--r-aspect)));
    --c-height: 100vh;
  }

  .button_v1 {
    --size: max(60px, 3.125vw);
    --shift: max(4px, 0.2083333333vw);
    --stroke-width: max(2px, 0.1041666667vw);
  }

  .button_v1[data-stroke="4"] {
    --stroke-width: max(4px, 0.2083333333vw);
  }

  .button_v1[data-shift="10"] {
    --shift: max(10px, 0.5208333333vw);
  }

  .button_v1[data-size="80"] {
    --size: max(80px, 4.1666666667vw);
  }

  .global_header .omaroke {
    width: max(106px, 5.5208333333vw);
    top: max(20px, 1.0416666667vw);
    left: max(20px, 1.0416666667vw);
  }

  .global_header .boardgame_club {
    width: max(81px, 4.21875vw);
    top: max(20px, 1.0416666667vw);
    right: max(20px, 1.0416666667vw);
  }

  .pagetop {
    --icon-size: max(20px, 1.0416666667vw);
  }

  .modal {
    --padding: max(100px, 5.2083333333vw);
  }

  .modal .modal-content {
    width: max(1064px, 55.4166666667vw);
  }

  .modal .modal-close {
    --shift: max(5px, 0.2604166667vw);
    --icon-size: max(22px, 1.1458333333vw);
  }
}

@media screen and (min-width: 1440px) {
  body {
    --r-width: min(max(722px, 37.6041666667vw), calc(80vh * var(--r-aspect)));
    --c-height: 100vh;
  }
}

@media (min-aspect-ratio: 4/3) {
  body {
    --c-height: 100vh;
  }

  #last {
    height: 150vh;
  }
}

@media (hover: hover) {
  .button_v1:hover .button-border {
    transform: translate(calc(var(--shift) * 0.5), calc(var(--shift) * 0.5));
  }

  .global_footer .shares a:hover img {
    opacity: 0.8;
  }

  .global_footer .official:hover {
    opacity: 0.6;
  }

  .scrollbar_thumb:hover {
    opacity: 0.8;
  }
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .global_footer .shares a:hover img {
    opacity: 0.8;
  }

  .global_footer .official:hover {
    opacity: 0.6;
  }

  .scrollbar_thumb:hover {
    opacity: 0.8;
  }
}