@charset "UTF-8";

.alC {
  text-align: center !important;
}

.alR {
  text-align: right !important;
}

.alL {
  text-align: left !important;
}


body {
  position: relative;
  user-select: none;
}

main {
  padding: 10px 0;
}

.fieldWrap {
  padding: 0 50px;
}

.fieldArea {
  width: 100%;
  border-bottom: 2px dashed #173a7e;
  padding-bottom: 20px;
}

.fieldArea:nth-of-type(2n) {
  padding-right: 0;
  padding-left: 50px;
  border-right: 0;
  border-left: 1px solid #999999;
}
.boxTitle {
  position: relative;
  font-size: 16px;
  font-weight: bold;
  color: #173a7e;
  z-index: 2;
}
.boxTitle:not(p.boxTitle) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.shareContent .boxTitle {
  text-align: center;
}

.boxLayout01 {
  overflow: hidden;
  background-color: #fdfbfc;
  border: 2px solid #173a7e;
  border-radius: 10px;
  padding: 10px;
}

.cardWrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 5px;
  min-height: 105px;
}

.cardWrap>.card {
  position: relative;
    z-index: 2;
      display: block;
  width: 75px;
}

.cardWrap>.card {
  cursor: pointer;
}

.cardWrap>.card:nth-of-type(n + 2) {
  margin-left: -50px;
}

.cardWrap > .card.hide {
  position: relative;
  border: 1px solid #999999;
  border-radius: 6px;
  overflow: hidden;
}

.cardWrap > .card.hide:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: '';
  display: block;
  background: url("../img/items/pokeca_ura.png");
  background-size: contain;
}

.sideWrap .card {
  margin: 5px;
}

.colLayout01 {
  margin-top: 30px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

input.damageBox {
  display: inline-block;
  border-radius: 5px;
  border: 1px solid #173a7e;
  padding: 2px 5px;
  margin-left: 10px;
  background-color: transparent;
  font-size: 12px;
  color: #181b39;
  width: 40px;
  background-color: #ebbaf4;
  font-weight: bold;
  text-align: center;
  line-height: 1.8;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
}

input.damageBox:focus {
  outline: none;
  border: 2px solid #173a7e;
  box-shadow: 0 0 2px rgba(114,90,164,.5);
}

.btn01 {
  display: inline-block;
  border-radius: 5px;
  border: 1px solid #fbe213;
  padding: 2px 5px;
  background-color: #173a7e;
  font-size: 12px;
  color: #f3ebf0;
  cursor: pointer;
  line-height: 1.8;
  font-family: "azukiP", "Kiwi Maru";
}

.btn01:hover {
  color: #173a7e;
  background-color: #fbe213;
  border: 1px solid #ebbaf4;
}

.btn01.on {
  border: 1px solid #222222;
  background-color: #222222;
  color: #ffffff;
}

.btn01.tweet {
  display: inline-block;
  border-radius: 5px;
  border: 1px solid #222222;
  padding: 2px 5px;
  background-color: #00aced ;
  font-size: 12px;
  color: #ffffff;
  cursor: pointer;
}

.btn01.tweet:hover {
  border: 1px solid #028bbf;
  background-color: #028bbf;
  color: #ffffff;
}

.btn01.tweet.on {
  border: 1px solid #028bbf;
  background-color: #028bbf;
  color: #ffffff;
}

.btn01.burn:hover {
  border: 1px solid #ff5b36;
  background-color: #ff5b36;
  color: #ffffff;
}

.btn01.burn.on {
  border: 1px solid #ff5b36;
  background-color: #ff5b36;
  color: #ffffff;
}

.btn01.poison:hover {
  border: 1px solid #ab5d8c;
  background-color: #ab5d8c;
  color: #ffffff;
}

.btn01.poison.on {
  border: 1px solid #ab5d8c;
  background-color: #ab5d8c;
  color: #ffffff;
}

.btn01.sleeping:hover {
  border: 1px solid #4a7cc7;
  background-color: #4a7cc7;
  color: #ffffff;
}

.btn01.sleeping.on {
  border: 1px solid #4a7cc7;
  background-color: #4a7cc7;
  color: #ffffff;
}

.btn01.paralysis:hover {
  border: 1px solid #f7ad06;
  background-color: #f7ad06;
  color: #ffffff;
}

.btn01.paralysis.on {
  border: 1px solid #f7ad06;
  background-color: #f7ad06;
  color: #ffffff;
}

.btn01.confusion:hover {
  border: 1px solid #f77d15;
  background-color: #f77d15;
  color: #ffffff;
}

.btn01.confusion.on {
  border: 1px solid #f77d15;
  background-color: #f77d15;
  color: #ffffff;
}

.smartphoneBtn {
  display: inline-block;
  border-radius: 10px;
  border: 1px solid #fbe213;
  padding: 5px 10px;
  font-size: 12px;
  background-color: #173a7e;
  color: #f3ebf0;
  cursor: pointer;
  line-height: 24px;
}
.smartphoneBtn:hover {
  border: 1px solid #725aa4;
  background-color: #ebbaf4;
  color: #173a7e;
}

.btnWrap {
  position: relative;
  z-index: 2;
  margin-top: 5px;
}

.boxTitle .btnWrap {
  margin-top: 10px;
  font-weight: normal;
}

.battleWrap .boxTitle .btnWrap {
  display: inline-block;
  margin: 0;
}

/* .adFrame {
  width:728px;
  height:90px
} */

/* side
------------------------------------------------------ */
.sideWrap {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  margin-top: 10px;
  margin-right: 30px;
}

.hogeArea{
  margin-left: 200px;
  width: 728px;
  height: 90px;
}

.newEyeCatch{
  position: absolute;
  top: -5px;
  left: -12px;
  font-size: 12px;
  font-weight: bold;
  background-color: white;
  border: 2px solid #999999;
  border-radius: 5px;
  padding: 2px 4px;
  z-index: 10;

}

.articleArea{
  position: relative;
  display: flex;
  font-size: 8px;
  margin-left: 200px;
  height: 90px;
}

.article{
  position: relative;
  display: flex;
  height: 90px;
  width: 300px;
  margin-right: 12px;
  text-decoration: none
}

.articleImg{
  width: 76px;
  height: 76px;
  border: 2px solid #999999;
  border-radius: 10px;
}

.articleContentBlock{
  margin-left: 5px;
  width: 190px;
  height: 76px;
  /* border: 2px solid #999999;
  border-radius: 10px; */
}

#inversionAll a:visited{
  color: inherit;
}

.articleTitle{
  font-size: 14px;
  font-weight: bold;
  margin-top: 3px;
  margin-bottom: 3px;
}

.articleContent{
  font-size: 12px;
  text-decoration: none
}

.boxLayout02 {
  border: 2px solid #999999;
  border-radius: 10px;
  padding: 5px;
}

.sideArea {
  width: 200px;
}

.sideArea .cardWrap>.card:nth-of-type(n + 2) {
  margin-left: 0;
}

.gxMark {
  width: 100%;
  height: 70px;
  line-height: 70px;
  margin: 0 20px 10px;
  border-radius: 10px;
  background: linear-gradient(145deg, #181b39 0%, #181b39 50%, #fbe213 50%, #fbe213 100%);
  box-shadow: 0 0 2px 2px rgba(24,27,57,.2);
  font-weight: bold;
  font-size: 35px;
  text-align: center;
  text-shadow:
    2px 2px 1px #181b39,
    -2px 2px 1px #181b39,
    2px -2px 1px #181b39,
    -2px -2px 1px #181b39,
    2px 0px 1px #181b39,
    0px 2px 1px #181b39,
    -2px 0px 1px #181b39,
    0px -2px 1px #181b39;
  /* �����̉e */
  letter-spacing: 10px;
  /* ������ */
  color: #FFFFFF;
  cursor: pointer;
  font-family: "Fredericka the Great", serif;
}

.gxMark.on {
  background: rgba(23,58,126,.5);
  color: #181b39;
  text-shadow:
    2px 2px 1px #f3ebf0,
    -2px 2px 1px #f3ebf0,
    2px -2px 1px #f3ebf0,
    -2px -2px 1px #f3ebf0,
    2px 0px 1px #f3ebf0,
    0px 2px 1px #f3ebf0,
    -2px 0px 1px #f3ebf0,
    0px -2px 1px #f3ebf0;
}

.vstarMark {
  box-sizing: border-box;
  width: 100%;
  height: 70px;
  line-height: 55px;
  margin: 0 20px;
  border-radius: 10px;
  border: 6px solid #fdfbfc;
  background: rgba(24,27,57,.1);
  box-shadow: 0 0 2px 2px rgba(24,27,57,.2);
  text-align: center;
  font-weight: bold;
  font-size: 35px;
  text-shadow:
    2px 2px 1px #d9dd0a,
    -2px 2px 1px #d9dd0a,
    2px -2px 1px #d9dd0a,
    -2px -2px 1px #d9dd0a,
    2px 0px 1px #d9dd0a,
    0px 2px 1px #d9dd0a,
    -2px 0px 1px #d9dd0a,
    0px -2px 1px #d9dd0a;
  color: #FFFFFF;
  cursor: pointer;
  font-family: "Fredericka the Great", serif;
}

.vstarMark>span {
  font-size: .8em;
  text-shadow:
    2px 2px 1px #fdfbfc,
    -2px 2px 1px #fdfbfc,
    2px -2px 1px #fdfbfc,
    -2px -2px 1px #fdfbfc,
    2px 0px 1px #fdfbfc,
    0px 2px 1px #fdfbfc,
    -2px 0px 1px #fdfbfc,
    0px -2px 1px #fdfbfc;
  color: #d9dd0a;
}

.vstarMark.on {
  border-color: #173a7e;
  box-shadow: none;
  text-shadow:
    2px 2px 1px #fdfbfc,
    -2px 2px 1px #fdfbfc,
    2px -2px 1px #fdfbfc,
    -2px -2px 1px #fdfbfc,
    2px 0px 1px #fdfbfc,
    0px 2px 1px #fdfbfc,
    -2px 0px 1px #fdfbfc,
    0px -2px 1px #fdfbfc;
  background: rgba(23,58,126,.5);
  color: #181b39;
}

.vstarMark.on>span {
  color: #173a7e;
}

/* battle
------------------------------------------------------ */
.battleWrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  margin-top: 30px;
}

.battleArea {
  position: relative;
  width: 400px;
  min-height: 158px;
}
.bgLayout{
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.lostArea {
  min-width: 150px;
  min-height: 158px;
  margin-left: 15px;
  margin-right: 15px;
}



.battleArea .cardWrap>.card:nth-of-type(9n + 1) {
  margin-left: 0;
}
.fieldArea:nth-of-type(2n+1) .spMenuArea{
  margin-right: 30px;
}
.fieldArea:nth-of-type(2n) .spMenuArea{
  margin-left: 30px;
}
/* bench
------------------------------------------------------ */
.benchWrap {
  margin-top: 30px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.benchArea {
  position: relative;
  margin-top: 10px;
  width: 200px;
  min-height: 158px;
}

.benchArea .cardWrap>.card:nth-of-type(5n + 1) {
  margin-left: 0;
}

/* hand
------------------------------------------------------ */
.handWrap {}

.handArea {
  width: 520px;
  min-height: 158px;
}

.handArea .cardWrap>.card:nth-of-type(n + 2) {
  margin-left: -30px;
}

.handArea .cardWrap>.card:nth-of-type(10n + 1) {
  margin-left: 0;
}

/* deck
------------------------------------------------------ */
.deckWrap {}

.deckArea {
  width: 130px;
  min-height: 158px;
}

.btn02 {
  display: inline-block;
  padding: 2px 5px;
  font-size: 12px;
  cursor: pointer;
  width: 105px;
  height: 28px;
  margin-top: 5px;
  border-radius: 5px;
  border: none;
  background-color: #173a7e;
  color: #f3ebf0;
  font-family: "Kaisei Decol", serif;
  font-weight: 500;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
.btn02:hover {
  background-color: #725aa4;
  color: #fbe213;
}

.deckListWrap {
  margin-top: 30px;
}

.deckListWrap .cardWrap {
  justify-content: start;
}

.deckListWrap .cardWrap>.card:nth-of-type(n + 2) {
  margin-left: 0;
}

/* trash
------------------------------------------------------ */
.trashWrap {}

.trashArea {
  width: 380px;
  min-height: 158px;
}

.trashArea .cardWrap>.card:nth-of-type(11n + 1) {
  margin-left: 0;
}


/* share
------------------------------------------------------ */
.shareArea {
  width: 100%;
  border-top: 3px dashed #181b39;
  border-bottom: 3px dashed #181b39;
  padding: 20px 0;
  margin: 40px 0;
}

.shareArea .shareContent {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 10px 0;
}

.shareArea .shareContent .arrArea {
  width: 180px;
  height: 110px;
  display: grid;
  align-items: center;
}

.shareArea .shareContent .arrArea .arrButton {
  cursor: pointer;
  display: block;
  color: #f3ebf0;
  font-weight: bold;
  font-family: "Kaisei Decol", serif;
  font-weight: 500;
  background-color: #173a7e;
  border: none;
  border-radius: 5px;
  text-align: center;
  padding: 5px 10px;
  margin: 10px auto;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
.shareArea .shareContent .arrArea .arrButton:hover {
  color: #181b39;
  background-color: #ebbaf4;
  box-shadow: 0 0 3px 3px rgba(24,27,57,.2);
}

.arrButton i.fa-arrow-rotate-right:before {/* Font Awesome */
  color: #ebbaf4;
  font-size: 20px;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f01e';
  margin-right: 5px;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
.arrButton:hover i.fa-arrow-rotate-right:before {/* Font Awesome */
  color: #173a7e;
}

.coinWrap,
.damageCountWrap,
.stadiumWrap {
  width: 260px;
  margin: 0;
}

.coinWrap {
  margin-top: 10px;
  background-color: #fdfbfc;
}

.coinArea {
  width: 80px;
  margin: 10px auto;
}

.damageCountWrap {
  margin-top: 10px;
  background-color: #fdfbfc;
}

.stadiumWrap {
  background-color: #fdfbfc;
}

.stadiumArea {
  position: relative;
}

.damageCountArea {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  padding-top: 20px;
}

.damageCountArea>.damecan+.damecan {
  margin-left: 8px;
}

.damecan {
  z-index: 100;
  border-radius: 50%;
  border: 2px solid #173a7e;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  color: #173a7e;
  text-align: center;
  vertical-align: middle;
}

.damecan[data-damege="10"] {
  width: 42px;
  height: 42px;
  padding: 3px;
  font-size: 16px;
  background-color: rgba(251,226,19,.7);
}

.damecan[data-damege="50"] {
  width: 50px;
  height: 50px;
  padding: 6px;
  font-size: 16px;
  background-color: rgba(241,143,78,.7);
  text-align: center;
  vertical-align: middle;
}

.damecan[data-damege="100"] {
  width: 60px;
  height: 60px;
  padding: 10px 5px;
  font-size: 17px;
  background-color: rgba(241,91,78,.7);
}
.damecan[data-damege="poison"] {
  width: 70px;
  height: 70px;
  background: url("../img/items/poison.png");
  background-size: cover;
  border: none;
}
.damecan[data-damege="burned"] {
  width: 70px;
  height: 70px;
  background: url("../img/items/burned.png");
  background-size: cover;
  border: none;
}

.damageCountArea>.trashBox {
  width: 60px;
  margin-left: 5px;
}

.fromWrap {
  text-align: center;
}

.fromWrap .inputLeft,
.fromWrap .inputRight {
  width: 280px;
  height: 35px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  border: 1px solid #173a7e;
  border-radius: 5px;
  padding: 5px;
}

.fromWrap .submitBtn {
  width: 50px;
  height: 35px;
  font-size: 1rem;
  border-radius: 5px;
  border: none;
  border: 1px solid #173a7e;
  background-color: #173a7e;
  color: #f3ebf0;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  padding: 5px;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
.fromWrap .submitBtn:hover {
  background-color: #ebbaf4;
  color: #173a7e;
  box-shadow: 0 0 3px 3px rgba(24,27,57,.2);
}

.fromWrap .submitBtn:hover,
.coinArea:hover,
.damecan:hover {
  cursor: pointer;
}

#contextmenu {
  /*display: block !important;*/
  z-index: 100;
  display: none;
  position: fixed;
  left: 0px;
  top: 0px;
  min-width: 200px;
  min-height: 100px;
  border: 2px solid #999999;
  border-radius: 10px;
  padding: 10px;
  background-color: #fff;
}

#contextmenu li {
  cursor: pointer;
  line-height: 1.8;
}

#contextmenu li:hover {
  background-color: #3399cc;
  color: #ffffff;
}


#contextmenu2 {
  /*display: block !important;*/
  display: none;
  position: fixed;
  left: 0px;
  top: 0px;
  min-width: 100px;
  min-height: 50px;
  border: 2px solid #999999;
  border-radius: 10px;
  padding: 10px;
  background-color: #fff;
}

.damecanHide {
  z-index: 10;
}

.is-hide{
  display:none; 
}

.loading{
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  left:0;
  background:rgba(0,0,0,.5);
  z-index: 10000;
}


.loading::before{
  content:"";
  display:block;
  position:fixed;
  left:50%;
  top:50%;
  width:50px;
  height:50px;
  border-radius:5px;
  margin-top:-15px;
  margin-left:-15px;
  background:white;
}
.loading::after{
  content:"";
  display:block;
  position:fixed;
  left:50%;
  top:50%;
  width:32px;
  height:32px;
  border-radius:20px;
  margin-top:-10px;
  margin-left:-10px;
  border:4px solid #60ABB9;
  border-right:4px solid white;
  animation: rotate 1s infinite linear;
}
@keyframes rotate {
  0%    { transform: rotate(0deg); }
  100%  { transform: rotate(360deg); }
}

/* Clearfix
------------------------------------------------------ */
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

.clearfix {
  zoom: 1;
}

/* 追加
------------------------------------------------------ */
.playWrap {
  width: 1070px;
  position: relative;
}
input[type="text"] {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #173a7e;
  background-color: #fdfbfc;
  border: 1px solid #173a7e;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
input[type="text"]:focus {
  outline: none;
  border: 2px solid #173a7e;
  box-shadow: 0 0 2px rgba(114,90,164,.5);
}
.pokeca_title {
  display: inline-block;
  font-size: .78rem;
  font-family: "Fredericka the Great", serif;
  text-align: center;
  vertical-align: middle;
}
.pokeca_title span.ruby {
  display: block;
  font-size: .7rem;
  line-height: 1;
  color: #725aa4;
  font-family: "Kaisei Decol", serif;
  font-weight: 500;
  margin-top: -5px;
}
.inversion {
  transform: rotate(180deg);
}
.playFlex {
  display: flex;
}
.playerName {
  text-align: center;
  margin: 20px auto;
}
.playerName span {
  color: #173a7e;
  font-family: "Fredericka the Great", serif;
  font-size: 1.6rem;
  vertical-align: middle;
}
.playerName input[type="text"] {
  width: 800px;
  font-family: "Kaisei Decol", serif;
  font-weight: 500;
  border-radius: 5px;
  padding: 0 10px;
  margin: 0 10px;
}
.playerName button {
  color: #fbe213;
  background-color: #173a7e;
  border: 1px solid #725aa4;
  border-radius: 5px;
  padding: 5px 10px;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
.playerName button:hover {
  color: #173a7e;
  background-color: #ebbaf4;
  border: 1px solid #fbe213;
}
.bgLayout {
  background-color: transparent;
}
.bgLayout.used {
  background-color: rgba(251,226,19,.5);
}
.remaining {
  display: inline-block;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  vertical-align: middle;
  margin-left: 10px;
}
i.fa-trash-can:before {/* Font Awesome */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f2ed';
  font-size: 35px;
  color: #173a7e;
}
#damecan_okiba {
  position: absolute;  /* または absolute ではなく fixed に変更 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* ←クリックを透過（元の操作を邪魔しない） */
}
#damecan_okiba > * {
  pointer-events: auto; /* ←個々のダメカンはクリック可 */
}
.damageCountArea > div {
  width: 170px;
}
.damecanArea {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.markerArea {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
div.damageBox {
  width: 50px;
  display: inline-block;
  vertical-align: middle;
}
div.damageBoxArr {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.btn03 {
  cursor: pointer;
  position: relative;
  width: 23px;
  height: 23px;
  color: #f3ebf0;
  background-color: #725aa4;
  border: 1px solid #fbe213;
  border-radius: 22px;
  text-align: center;
  margin: 1px;
}
.btn03:hover {
  color: #173a7e;
  background-color: #fbe213;
  border: 1px solid #ebbaf4;
}
.btn03 i:before {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 14px;
  line-height: 23px;
  translate: -50% -50%;
  margin: 0;
}
i.fa-angles-up:before {/* Font Awesome */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
}
i.fa-angles-down:before {/* Font Awesome */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f103';
}
.Markers {
  width: 120px;
}
section#inversionAll img {
  border-radius: 5px;
}