#guideline .button a {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: opacity 0.3s;
  width: 72vw;
  padding: 2.9333333333vw 2.9333333333vw 2.9333333333vw 8vw;
}

#guideline .button a::before,
#guideline .button a::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  clip-path: polygon(4vw 0, 100% 0, calc(100% - 4vw) 100%, 0 100%);
}

#guideline .button a::before {
  background: var(--color-black);
}

#guideline .button a::after {
  background: rgba(var(--color-black-rgb), 0.4);
  transform: translate(0.9333333333vw, 0.9333333333vw);
}

#guideline .button a .text {
  display: flex;
  align-items: center;
  color: var(--color-white);
  font-style: italic;
  gap: 1.6vw;
  font-size: 20px;
}

#guideline .button a[href^=http] .text::after {
  content: "";
  display: inline-block;
  aspect-ratio: 1;
  background: url(../img/common/ic_link.svg) no-repeat;
  background-size: contain;
  width: 0.8em;
}

#guideline .button a .icon {
  position: relative;
  background: var(--color-white);
  aspect-ratio: 48/38;
  width: 10.6666666667vw;
  clip-path: polygon(2.4vw 0, 100% 0, calc(100% - 2.4vw) 100%, 0 100%);
}

#guideline .button a .icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url(../img/common/ic_arrow@sp.svg);
  background-repeat: no-repeat;
  background-size: 100% auto;
  aspect-ratio: 18/27;
  width: 2.6666666667vw;
}

html:has(body.menu-open) {
  overflow: hidden;
}

.global_header {
  background: var(--color-black);
  position: fixed;
  z-index: 9999;
  width: 100vw;
  height: 16vw;
}

.global_header .header {
  height: 100%;
}

.global_header #menu-check {
  display: none;
}

.global_header .logo {
  position: absolute;
  top: 2.1333333333vw;
  left: 2.6666666667vw;
  width: 12vw;
  transition: opacity 400ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.global_header .menu-button label {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.1333333333vw;
  width: 8vw;
}

.global_header .menu-button label span {
  background: var(--color-white);
  width: 8vw;
  height: 0.5333333333vw;
}

.global_header .menu-button.open {
  position: absolute;
  top: 5.3333333333vw;
  right: 5.3333333333vw;
}

.global_header .menu-button.close {
  position: absolute;
  top: 5.3333333333vw;
  right: 5.3333333333vw;
}

.global_header .menu-button.close label {
  aspect-ratio: 1;
}

.global_header .menu-button.close span {
  position: absolute;
  top: 50%;
  left: 50%;
}

.global_header .menu-button.close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.global_header .menu-button.close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.global_header .menu.for-pc {
  display: none;
}

.global_header .menu.for-sp {
  position: fixed;
  top: 0;
  right: -100vw;
  width: 100vw;
  height: 100vh;
  color: var(--color-white);
  background: var(--color-navy);
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.global_header .menu.for-sp::before,
.global_header .menu.for-sp::after {
  content: "";
  position: absolute;
  aspect-ratio: 1;
  background-image: repeating-linear-gradient(0deg, rgba(var(--color-white-rgb), 0.05), rgba(var(--color-white-rgb), 0.05) 0.5333333333vw, transparent 0.5333333333vw, transparent 1.0666666667vw);
}

.global_header .menu.for-sp::before {
  top: 0;
  left: 0;
  width: 61.3333333333vw;
  clip-path: polygon(100% 0, 0 0, 0 100%);
}

.global_header .menu.for-sp::after {
  bottom: 0;
  right: 0;
  width: 53.3333333333vw;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.global_header .menu.for-sp .menu-back {
  position: absolute;
  inset: 0;
  cursor: default;
}

.global_header .menu.for-sp .menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100svh;
  overflow: auto;
  overscroll-behavior: none;
}

.global_header .menu.for-sp .menu-panel .menu-scroller {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
}

.global_header .menu.for-sp .menu-panel .nav-logo {
  display: block;
  margin: 0 auto 5.3333333333vw auto;
  padding-top: 5.3333333333vw;
  width: 21.3333333333vw;
}

.global_header .menu.for-sp .menu-panel .title {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 84vw;
  margin: 0 auto 2.6666666667vw auto;
  padding-left: 3.3333333333vw;
  aspect-ratio: 630/72;
  background: url(../img/common/bg_nav_title@sp.svg) no-repeat;
  background-size: 100% auto;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--color-navy);
}

.global_header .menu.for-sp .menu-panel .nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  margin: 0 auto 5.3333333333vw auto;
  width: 84vw;
}

.global_header .menu.for-sp .menu-panel .nav li {
  border-bottom: 1px solid var(--color-white);
}

.global_header .menu.for-sp .menu-panel .nav a {
  display: flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3.3333333333vw;
  gap: 1.6vw;
  font-size: 3.2rem;
}

.global_header .menu.for-sp .menu-panel .nav a[href^=http]::after {
  content: "";
  display: inline-block;
  aspect-ratio: 1;
  background: url(../img/common/ic_link.svg) no-repeat;
  background-size: contain;
  width: 0.8em;
}

.global_header .menu.for-sp .menu-panel .nav li.nav-game,
.global_header .menu.for-sp .menu-panel .nav li.nav-cardgame,
.global_header .menu.for-sp .menu-panel .nav li.nav-pokemongo {
  border-bottom: none;
}

.global_header .menu.for-sp .menu-panel .nav li.nav-pokemonunite {
  padding-bottom: 4vw;
}

.global_header .menu.for-sp .menu-panel .nav li.nav-game a,
.global_header .menu.for-sp .menu-panel .nav li.nav-cardgame a,
.global_header .menu.for-sp .menu-panel .nav li.nav-pokemongo a,
.global_header .menu.for-sp .menu-panel .nav li.nav-pokemonunite a {
  position: relative;
  padding: 2.6666666667vw;
  font-size: 4rem;
  gap: 3.2vw;
}

.global_header .menu.for-sp .menu-panel .nav li.nav-game a::before,
.global_header .menu.for-sp .menu-panel .nav li.nav-cardgame a::before,
.global_header .menu.for-sp .menu-panel .nav li.nav-pokemongo a::before,
.global_header .menu.for-sp .menu-panel .nav li.nav-pokemonunite a::before {
  content: "";
  flex: 0 0 auto;
  aspect-ratio: 1;
  background-repeat: no-repeat;
  background-size: contain;
  width: 5.6vw;
}

.global_header .menu.for-sp .menu-panel .nav li.nav-game a::before {
  background-image: url(../img/common/ic_monbo_01.svg);
}

.global_header .menu.for-sp .menu-panel .nav li.nav-cardgame a::before {
  background-image: url(../img/common/ic_monbo_02.svg);
}

.global_header .menu.for-sp .menu-panel .nav li.nav-pokemongo a::before {
  background-image: url(../img/common/ic_monbo_03.svg);
}

.global_header .menu.for-sp .menu-panel .nav li.nav-pokemonunite a::before {
  background-image: url(../img/common/ic_monbo_04.svg);
}

.global_header .menu.for-sp .menu-panel .md {
  position: relative;
  z-index: 1;
  background: var(--color-key5);
  width: 84vw;
  height: 16vw;
  margin: 0 auto 5.3333333333vw auto;
}

.global_header #menu-check:checked ~ .menu.for-sp {
  opacity: 1;
  right: 0;
  pointer-events: auto;
}

.global_header #menu-check:checked ~ .menu.for-sp .menu-content {
  transform: translate3d(0, 0, 0);
}

#guideline {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  padding: 13.3333333333vw 0;
}

#guideline .button {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 5.3333333333vw;
}

#guideline .ill_l,
#guideline .ill_r {
  pointer-events: none;
  position: absolute;
}

#guideline .ill_l {
  right: 50%;
  width: 76.6666666667vw;
  top: 36vw;
  margin-right: 14.6666666667vw;
}

#guideline .ill_r {
  left: 50%;
  width: 35.8666666667vw;
  top: -53.3333333333vw;
  margin-left: 19.3333333333vw;
}

.shares {
  position: relative;
  background: var(--color-navy);
  padding: 9.3333333333vw 0 10.6666666667vw 0;
}

.shares .title {
  text-align: center;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4vw;
  font-size: 18px;
}

.shares ul {
  display: flex;
  justify-content: center;
  gap: 4vw;
}

.shares a {
  display: block;
  width: 14.6666666667vw;
}

footer {
  position: relative;
  z-index: 1;
  background: #222222;
  padding: 0 0 18.6666666667vw 0;
}

footer .inner {
  position: relative;
}

footer .games {
  background: var(--color-black);
  display: grid;
  grid-template-columns: 1fr;
}

footer .games a {
  color: #fff;
  display: flex;
  align-items: center;
  transition: opacity 0.3s;
  gap: 1.6vw;
  padding: 3.3333333333vw 5.3333333333vw;
  font-size: 16px;
}

footer .games a:not(:first-child) {
  border-left: 1px solid #252525;
}

footer .games a[href^=http]::after {
  content: "";
  display: inline-block;
  aspect-ratio: 1;
  background: url(../img/common/ic_link.svg) no-repeat;
  background-size: contain;
  width: 0.8em;
}

footer .official {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4vw;
  margin-bottom: 8vw;
  padding-top: 9.3333333333vw;
}

footer .official a {
  transition: opacity 0.3s;
}

footer .official .logo1 {
  width: 40vw;
}

footer .official .logo2 {
  width: 16.8vw;
}

footer .official .logo3 {
  width: 21.3333333333vw;
}

footer .copyright {
  color: #ccc;
  text-align: center;
  font-weight: 400;
  line-height: 1.5;
  font-size: 12px;
}

.pagetop {
  position: fixed;
  z-index: 800;
  pointer-events: none;
  transition: transform 0.5s;
  transform: translateY(13.3333333333vw);
  right: 0;
  bottom: 0;
  aspect-ratio: 1;
  background: var(--color-white);
  width: 13.3333333333vw;
}

.pagetop[data-visible=true] {
  transform: translateY(0);
  pointer-events: auto;
}

.pagetop::after {
  content: "";
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  aspect-ratio: 1;
  border-top: 0.5333333333vw solid var(--color-black);
  border-left: 0.5333333333vw solid var(--color-black);
  width: 2.8vw;
}

:where(body) {
  overflow-x: clip;
  color: var(--color-black);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  background: var(--color-white);
}

.anywhere {
  overflow-wrap: anywhere;
}

main {
  position: relative;
}

.cmn-bg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

.cmn-bg::before {
  content: "";
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center bottom;
  background-color: var(--color-white);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-image: url(../img/common/bg@sp.webp);
  aspect-ratio: 750/900;
  width: 100%;
}

@media print, screen and (min-width: 768px) {
  #guideline .button a {
    width: min(380px,  calc(380 / 1366 * 100vw));
    padding: min(20px,  calc(20 / 1366 * 100vw)) min(24px,  calc(24 / 1366 * 100vw)) min(20px,  calc(20 / 1366 * 100vw)) min(40px,  calc(40 / 1366 * 100vw));
  }

  #guideline .button a::before,
  #guideline .button a::after {
    clip-path: polygon(min(18px,  calc(18 / 1366 * 100vw)) 0, 100% 0, calc(100% - min(18px,  calc(18 / 1366 * 100vw))) 100%, 0 100%);
  }

  #guideline .button a::after {
    transform: translate(min(7px,  calc(7 / 1366 * 100vw)), min(7px,  calc(7 / 1366 * 100vw)));
  }

  #guideline .button a .text {
    gap: min(10px,  calc(10 / 1366 * 100vw));
  }

  #guideline .button a .icon {
    width: min(48px,  calc(48 / 1366 * 100vw));
    clip-path: polygon(min(9px,  calc(9 / 1366 * 100vw)) 0, 100% 0, calc(100% - min(9px,  calc(9 / 1366 * 100vw))) 100%, 0 100%);
  }

  #guideline .button a .icon::after {
    background-image: url(../img/common/ic_arrow@pc.svg);
    aspect-ratio: 12/18;
    width: min(12px,  calc(12 / 1366 * 100vw));
  }

  .global_header {
    height: min(70px,  calc(70 / 1366 * 100vw));
  }

  .global_header .logo {
    top: min(10px,  calc(10 / 1366 * 100vw));
    left: min(20px,  calc(20 / 1366 * 100vw));
    width: min(80px,  calc(80 / 1366 * 100vw));
  }

  .global_header .menu-button.open {
    display: none;
  }

  .global_header .menu.for-pc {
    display: block;
    height: 100%;
  }

  .global_header .menu.for-pc ul {
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    padding: 0 min(20px,  calc(20 / 1366 * 100vw));
  }

  .global_header .menu.for-pc ul li {
    position: relative;
    height: 100%;
  }

  .global_header .menu.for-pc ul li:not(:first-child)::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #4d4d4d;
    width: 1px;
    height: min(26px,  calc(26 / 1366 * 100vw));
  }

  body:has(.page.game) .global_header .menu.for-pc ul li.nav-game a {
    color: var(--color-key1);
  }

  body:has(.page.game) .global_header .menu.for-pc ul li.nav-game a::before {
    width: 100%;
  }

  body:has(.page.cardgame) .global_header .menu.for-pc ul li.nav-cardgame a {
    color: var(--color-key2);
  }

  body:has(.page.cardgame) .global_header .menu.for-pc ul li.nav-cardgame a::before {
    width: 100%;
  }

  body:has(.page.pokemongo) .global_header .menu.for-pc ul li.nav-pokemongo a {
    color: var(--color-key3);
  }

  body:has(.page.pokemongo) .global_header .menu.for-pc ul li.nav-pokemongo a::before {
    width: 100%;
  }

  body:has(.page.pokemonunite) .global_header .menu.for-pc ul li.nav-pokemonunite a {
    color: var(--color-key4);
  }

  body:has(.page.pokemonunite) .global_header .menu.for-pc ul li.nav-pokemonunite a::before {
    width: 100%;
  }

  body:has(.page.guideline) .global_header .menu.for-pc ul li.nav-guideline a {
    color: var(--color-key5-light);
  }

  body:has(.page.guideline) .global_header .menu.for-pc ul li.nav-guideline a::before {
    width: 100%;
  }

  .global_header .menu.for-pc ul a {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    font-style: italic;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 min(18px,  calc(18 / 1366 * 100vw));
    font-size: 16px;
  }

  .global_header .menu.for-pc ul a[href^=http]::after {
    content: "";
    display: inline-block;
    aspect-ratio: 1;
    background: url(../img/common/ic_link.svg) no-repeat;
    background-size: contain;
    width: 0.8em;
    margin-left: 0.5em;
  }

  .global_header .menu.for-pc ul a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    transition: width 0.3s;
    height: min(8px,  calc(8 / 1366 * 100vw));
    width: 0;
    clip-path: polygon(min(6px,  calc(6 / 1366 * 100vw)) 0, 100% 0, calc(100% - min(6px,  calc(6 / 1366 * 100vw))) 100%, 0 100%);
  }

  .global_header .menu.for-pc ul li.nav-game a::before {
    background: var(--color-key1);
  }

  .global_header .menu.for-pc ul li.nav-cardgame a::before {
    background: var(--color-key2);
  }

  .global_header .menu.for-pc ul li.nav-pokemongo a::before {
    background: var(--color-key3);
  }

  .global_header .menu.for-pc ul li.nav-pokemonunite a::before {
    background: var(--color-key4);
  }

  .global_header .menu.for-pc ul li.nav-guideline a::before,
  .global_header .menu.for-pc ul li.nav-qa a::before {
    background: var(--color-key5);
  }

  .global_header .menu.for-sp {
    display: none;
  }

  #guideline {
    padding: min(90px,  calc(90 / 1366 * 100vw)) 0;
  }

  #guideline .button {
    flex-direction: row;
    gap: min(20px,  calc(20 / 1366 * 100vw));
  }

  #guideline .ill_l {
    width: min(575px,  calc(575 / 1366 * 100vw));
    top: max(-210px,  calc(-210 / 1366 * 100vw));
    margin-right: min(350px,  calc(350 / 1366 * 100vw));
  }

  #guideline .ill_r {
    width: min(269px,  calc(269 / 1366 * 100vw));
    top: max(-250px,  calc(-250 / 1366 * 100vw));
    margin-left: min(440px,  calc(440 / 1366 * 100vw));
  }

  .shares {
    padding: min(35px,  calc(35 / 1366 * 100vw)) 0 min(35px,  calc(35 / 1366 * 100vw)) 0;
  }

  .shares .title {
    margin-bottom: min(20px,  calc(20 / 1366 * 100vw));
  }

  .shares ul {
    gap: min(20px,  calc(20 / 1366 * 100vw));
  }

  .shares a {
    width: min(60px,  calc(60 / 1366 * 100vw));
    transition: transform 0.3s;
  }

  footer {
    padding-bottom: min(60px,  calc(60 / 1366 * 100vw));
  }

  footer .games.col2 {
    grid-template-columns: 1fr 1fr;
  }

  footer .games.col3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  footer .games:first-child {
    border-bottom: 1px solid #252525;
  }

  footer .games a {
    justify-content: center;
    padding: min(20px,  calc(20 / 1366 * 100vw)) 0;
    gap: min(10px,  calc(10 / 1366 * 100vw));
  }

  footer .official {
    gap: min(30px,  calc(30 / 1366 * 100vw));
    margin-bottom: min(40px,  calc(40 / 1366 * 100vw));
    padding-top: min(60px,  calc(60 / 1366 * 100vw));
  }

  footer .official .logo1 {
    width: min(300px,  calc(300 / 1366 * 100vw));
  }

  footer .official .logo2 {
    width: min(126px,  calc(126 / 1366 * 100vw));
  }

  footer .official .logo3 {
    width: min(160px,  calc(160 / 1366 * 100vw));
  }

  .pagetop {
    transform: translateY(min(60px,  calc(60 / 1366 * 100vw)));
    width: min(60px,  calc(60 / 1366 * 100vw));
  }

  .pagetop::after {
    border-width: 2px;
    width: min(15px,  calc(15 / 1366 * 100vw));
  }

  :where(body) {
    background: var(--color-bg);
  }

  ._only_sp {
    display: none;
  }

  .cmn-bg::before {
    clip-path: polygon(0 0, 100% calc(100% - 44.6559297218vw), 100% 100%, 0% 100%);
    background-color: var(--color-bg);
    background-image: url(../img/common/bg@pc.webp);
    aspect-ratio: 1920/1545;
  }
}

@media print and (hover: hover), screen and (min-width: 768px) and (hover: hover) {
  #guideline .button a:hover {
    opacity: 0.6;
  }

  .global_header .logo:hover {
    opacity: 0.6;
  }

  .global_header .menu.for-pc ul a:hover::before {
    width: 100%;
  }

  .shares a:hover {
    transform: scale(1.1);
  }

  footer .games a:hover {
    opacity: 0.6;
  }

  footer .official a:hover {
    opacity: 0.6;
  }
}

@media screen and (min-width: 768px) and (-ms-high-contrast: active), screen and (min-width: 768px) and (-ms-high-contrast: none) {
  #guideline .button a:hover {
    opacity: 0.6;
  }

  .global_header .logo:hover {
    opacity: 0.6;
  }

  .global_header .menu.for-pc ul a:hover::before {
    width: 100%;
  }

  .shares a:hover {
    transform: scale(1.1);
  }

  footer .games a:hover {
    opacity: 0.6;
  }

  footer .official a:hover {
    opacity: 0.6;
  }
}

@media only screen and (max-width: 767.8px) {
  #guideline .button a .text {
    font-size: 2.8rem;
  }

  body:has(.page.game) #guideline .ill_l {
    top: -73.3333333333vw;
    margin-right: 2.6666666667vw;
  }

  body:has(.page.game) #guideline .ill_r {
    top: -73.3333333333vw;
    margin-left: 11.7333333333vw;
  }

  .shares .title {
    font-size: 2.6rem;
  }

  footer .games a {
    font-size: 2.4rem;
  }

  footer .games a {
    border-top: 1px solid #252525;
  }

  footer .copyright {
    font-size: 2rem;
  }

  footer .copyright {
    width: 89.3333333333vw;
    margin: 0 auto;
    text-align: left;
  }

  ._only_pc {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 1365.8px) {
  #guideline .button a .text {
    font-size: 2rem;
  }

  .shares .title {
    font-size: 1.8rem;
  }

  footer .games a {
    font-size: 1.6rem;
  }

  footer .copyright {
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 768px) and (min-width: 768px) and (max-width: 1365.8px) {
  .global_header .menu.for-pc ul a {
    font-size: 1.6rem;
  }
}