@charset "UTF-8";
body.en-US .main_h2 {
  width: 9rem;
}
@media (max-width: 750px) {
  body.en-US .main_h2 {
    width: 5.92rem;
  }
}
body.id .main_h2, body .id-ID .main_h2 {
  width: 11.82rem;
}
@media (max-width: 750px) {
  body.id .main_h2, body .id-ID .main_h2 {
    width: 5.87rem;
  }
}
body.zh-TW .main_h2 {
  width: 7.02rem;
}
@media (max-width: 750px) {
  body.zh-TW .main_h2 {
    width: 4.02rem;
  }
}
body.th .main_h2 {
  width: 6.3rem;
}
@media (max-width: 750px) {
  body.th .main_h2 {
    width: 4.11rem;
  }
}

main {
  display: block;
  position: relative;
  height: 8rem;
}
@media (max-width: 750px) {
  main {
    height: auto;
    top: 0;
  }
}
main .main_h2 {
  position: absolute;
  top: 3rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 9.52rem;
}
@media (max-width: 750px) {
  main .main_h2 {
    top: 2.65rem;
    width: 5.95rem;
  }
}
main .main_txt {
  font-size: 0.22rem;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 5rem;
  text-shadow: 0 0 0.2rem #fff, 0 0 0.2rem #fff, 0 0 0.2rem #fff, 0 0 0.2rem #fff, 0 0 0.2rem #fff, 0 0 0.2rem #fff, 0 0 0.2rem #fff, 0 0 0.2rem #fff;
  line-height: 1.8;
  font-weight: 500;
  width: 10rem;
  margin: 0 auto;
}
@media (max-width: 750px) {
  main .main_txt {
    font-size: 0.26rem;
    top: 5.7rem;
    line-height: 1.6;
    width: 7.2rem;
  }
}

.pokemon_categoryul {
  width: 12.4rem;
  margin: 0.7rem auto 0.3rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.4rem 0.56rem;
}
@media (max-width: 750px) {
  .pokemon_categoryul {
    width: 5.9rem;
    gap: 0.4rem 0.54rem;
  }
}

.pokemon_txt {
  font-size: 0.6rem;
  font-weight: 900;
  text-align: center;
  -webkit-transform: skew(-12deg);
          transform: skew(-12deg);
  margin-bottom: 3rem;
}

.card-border {
  width: 2.68rem;
  height: 2.68rem;
  background-color: #8246e2;
  position: relative;
  cursor: pointer;
  -webkit-clip-path: polygon(0.54rem 0, 100% 0, 100% calc(100% - 0.54rem), calc(100% - 0.54rem) 100%, 0 100%, 0 0.54rem);
          clip-path: polygon(0.54rem 0, 100% 0, 100% calc(100% - 0.54rem), calc(100% - 0.54rem) 100%, 0 100%, 0 0.54rem);
  /* カードの内側 */
  /* モンスター画像 */
  /* 名前の帯 */
  /* テキスト  */
}
.card-border:hover {
  background-color: #000;
}
.card-border:hover .card-inner {
  -webkit-animation: pokemonbg 0.2s alternate ease-in-out;
          animation: pokemonbg 0.2s alternate ease-in-out;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.card-border:hover .card-inner::before {
  background-color: rgba(39, 37, 38, 0.7);
}
.card-border:hover .card-inner::after {
  background: #272526;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(39, 36, 35, 0.7)), color-stop(0.15rem, rgba(39, 36, 35, 0.7)), color-stop(0.15rem, rgb(39, 36, 35)), to(rgb(39, 35, 36)));
  background: linear-gradient(180deg, rgba(39, 36, 35, 0.7) 0%, rgba(39, 36, 35, 0.7) 0.15rem, rgb(39, 36, 35) 0.15rem, rgb(39, 35, 36) 100%);
}
.card-border:hover.speed .card-inner {
  background-image: url("../img/pokemon/speed_bg.png");
}
.card-border:hover.attack .card-inner {
  background-image: url("../img/pokemon/attack_bg.png");
}
.card-border:hover.balance .card-inner {
  background-image: url("../img/pokemon/balance_bg.png");
}
.card-border:hover.defense .card-inner {
  background-image: url("../img/pokemon/defense_bg.png");
}
.card-border:hover.support .card-inner {
  background-image: url("../img/pokemon/support_bg.png");
}
.card-border .card-inner {
  position: absolute;
  top: 0.05rem;
  left: 0.05rem;
  right: 0.05rem;
  bottom: 0.05rem;
  background-color: #fff;
  overflow: hidden;
  -webkit-clip-path: polygon(0.5rem 0, 100% 0, 100% calc(100% - 0.5rem), calc(100% - 0.5rem) 100%, 0 100%, 0 0.5rem);
          clip-path: polygon(0.5rem 0, 100% 0, 100% calc(100% - 0.5rem), calc(100% - 0.5rem) 100%, 0 100%, 0 0.5rem);
}
.card-border .card-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.33rem;
  background-color: rgba(130, 70, 226, 0.7);
  -webkit-transform: rotate(12deg);
          transform: rotate(12deg);
  -webkit-transform-origin: right bottom;
          transform-origin: right bottom;
}
.card-border .card-inner::after {
  z-index: -1;
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.86rem;
  -webkit-transform: rotate(12deg);
          transform: rotate(12deg);
  -webkit-transform-origin: left top;
          transform-origin: left top;
  background: #fba065;
  background: -webkit-gradient(linear, left top, left bottom, from(rgb(251, 160, 101)), color-stop(0.15rem, rgb(251, 160, 101)), color-stop(0.15rem, rgb(249, 120, 36)), to(rgb(249, 120, 36)));
  background: linear-gradient(180deg, rgb(251, 160, 101) 0%, rgb(251, 160, 101) 0.15rem, rgb(249, 120, 36) 0.15rem, rgb(249, 120, 36) 100%);
}
.card-border .monster-img {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%); /* 中央配置微調整 */
  width: 100%;
  height: auto;
  z-index: 10;
}
.card-border .name-plate {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.86rem;
  z-index: 11;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.card-border .name-text {
  position: absolute;
  bottom: 0.07rem;
  left: 0.1rem;
  color: #000;
  font-size: 0.22rem;
  line-height: 1.4;
  padding-right: 1.8em;
  font-weight: 900;
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, 0 0 1px #fff, 0 0 0.03rem #fff, 0 0 0.03rem #fff, 0 0 0.03rem #fff, 0 0 0.03rem #fff, 0 0 0.03rem #fff, 0 0 0.03rem #fff, 0 0 0.03rem #fff, 0 0 0.03rem #fff;
}
.card-border .pokemon_link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

@-webkit-keyframes pokemonbg {
  from {
    background-size: 300%;
  }
  to {
    background-size: 100%;
  }
}

@keyframes pokemonbg {
  from {
    background-size: 300%;
  }
  to {
    background-size: 100%;
  }
}