/*非表示*/
.jstree-proton .jstree-themeicon {
  display: none;
}
.listupdate {
  display: none;
}

.button_wrapper {
  text-align: center;
}

/*noty関連*/
.noty_body {
  text-align: center;
  background-color: #ccc;
}

/*後藤さん追加*/
.btn_deckbox {
  display: flex;
  vertical-align: middle;
  font-size: 12px;
  margin-bottom: 10px;
  align-items: center;
}
.btn_deckbox_header {
  font-weight: bold;
  width: 70px;
}
.btn_deckbox_contents {
  width: 100%;
  display:flex;
}
.deckinfobtn {
  display: block;
  font-size: 12px;
  border: 1px solid #ccc;
  background-color: #ffffff;
  border-radius: 3px;
  flex-grow: 1;
  text-align: center;
  padding: 6px;
  margin: 5px 0 0 0;
  color:black;
  cursor:pointer;
}
input.deckname {
  border: 1px solid #ccc;
  width: 100%;
  border-radius: 3px;
  font-size: 14px;
  box-sizing: border-box;
}
input.deckname:focus {
  border: 1px solid #ccc;
  width: 100%;
  border-radius: 3px;
  font-size: 14px;
  box-sizing: border-box;
}
textarea.deckcomment {
  border: 1px solid #ccc;
  width: 100%;
  border-radius: 3px;
  font-size: 14px;
  box-sizing: border-box;
}
textarea.deckcomment:focus {
  border: 1px solid #ccc;
  width: 100%;
  border-radius: 3px;
  font-size: 14px;
  box-sizing: border-box;
}

/*並び替えボタン*/
.orderactive {
  background-color: #ccc;
}
.orderactive > a {
  color: white;
}

/*枚数変動ボタン*/
.plusminus_m {
  display: none;
}
span.plusminus {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin: 5px 0 0 0;
  border: 1px solid #ddd;
  border-radius: 2px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.plusminus img {
  width: 8px;
  height: 8px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
}
.plusminus:hover {
  opacity: 0.5;
}

.btn_m {
  display: flex;
  justify-content: space-around;
  font-size: 13px;
  margin: 0 10px 10px 10px;
}
.radiolbl{
  margin:0;
}
.rbrleft{
  margin-right:5px;
}

/*画像化ボタン*/
.deckimg_dl {
  font-size: 12px;
  border: 1px solid #ccc;
  background-color: #EFEFEF;
  border-radius: 3px;
  flex-grow: 1;
  text-align: center;
  padding: 6px;
  margin: 0 5px 5px 5px;
}
.deckimg_dl:hover {
  background: #ddd;
}

/*ログ*/
.logcontsbox {
  display: flex;
  width: 100%;
  justify-content: center;
}
#cardlog {
  width: 98%;
  height: 138px;
  font-size: 13px;
  border: 1px solid #ccc;
  overflow-y: scroll;
  background-color: white;
  margin: 5px 0 0 0;
  padding: 2px 5px 2px 5px;
}
.goback {
  font-size: 12px;
  border: 1px solid #ccc;
  background-color: white;
  border-radius: 3px;
  flex-grow: 1;
  text-align: center;
  padding: 6px;
  margin: 5px 0 0 0;
}

/*メニュー*/
.menu_goback {
  font-size: initial;
  border: initial;
  background-color: initial;
  border-radius: initial;
  flex-grow: initial;
  text-align: initial;
  padding: initial;
  margin: initial;
}
.downmenu {
  width: 100%;
  height: 41px;
  background: #8BA7D5;
  position: fixed;
  bottom: 0;
  z-index: 999;
}
.downinner {
  display: flex;
  justify-content: space-around;
  width: 858px;
  background: #8BA7D5;
  color: white;
  text-align: center;
  position: fixed;
  bottom: 0;
  z-index: 1000;
}
.menuflex {
  flex:1;
  font-size: 11px;
  padding: 6px 0 0 0;
  position: relative;
}
.downinner img {
  width: 13px;
  height: 13px;
}
.deckmenu {
  color: white;
}
.amenu {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

/*2021/08/30追加*/
.deckconts {
  background-color: #232323;
  background-image: url(https://www.transparenttextures.com/patterns/checkered-light-emboss.png);
  background-size: 24px;
}
.deckcontsbox {
  border-bottom: 1px solid #464646;
  border-left: 1px solid #464646;
  border-right: 1px solid #464646;
}
.deckoverview1 {
  margin: 10px 8px;
  background-image: url(https://www.transparenttextures.com/patterns/bright-squares.png);
  background-color: #8C8A8A;
  border-radius: 2px;
  padding: 6px 8px;
}
.deckoverview2 {
  font-weight: bold;
  margin: 32px 0px 6px 0px;
  color: #fff;
  font-size: 15px;
  background-image: url(https://www.transparenttextures.com/patterns/bright-squares.png);
  background-color: #8C8A8A;
  border-radius: 2px;
  padding: 6px 8px;
}

/*10/12追加*/
span.cardchange {
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  border-radius: 2px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cardchange img {
  width: 15px;
  height: 15px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
}
span.cardchange:hover {
  opacity: 0.5;
}
.searchange {
  width: 8%;
  margin: 0 0 5px 0;
  padding: 0 5px;
  font-size: 0;
}
.searchange:hover {
  opacity: 0.8;
}
.changecontent {
  display: flex;
  height: 100%;
}
.changeadd {
  width: 100%;
}
.changeaddto_btn {
  display: inline-block;
  width: 98%;
  line-height: 26px;
  font-size: 12px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 1px;
  cursor: pointer;
  color: #666;
  background-color: white;
}
/*モーダル*/
.modal {
  display: none;
  height: 95vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2;
}
.modal__bg {
  background: rgba(0,0,0,0.8);
  height: 95vh;
  position: absolute;
  width: 100%;
}
.modal__content {
  width: 50%;
  background: #fff;
  left: 50%;
  padding: 10px;
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
}

/*1126追加*/
#j1_5352 {
  display: none;
}
#j1_2047 {
  display: none;
}
.deckimg_dl2 {
  font-size: 12px;
  border: 1px solid #ccc;
  background-color: #EFEFEF;
  border-radius: 3px;
  flex-grow: 1;
  text-align: center;
  padding: 6px;
  margin: 0 5px 5px 5px;
}

.addto_btn {
  margin-bottom: 1px;
  border-radius: 3px;
}
.cardsearch_btn {
  margin-bottom: 1px;
  border-radius: 3px;
}
.connectioncard {
  font-size: 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  display: inline-block;
  cursor: pointer;
  color: #666;
  margin-bottom: 5px;
  width: 98%;
  line-height: 26px;
  text-align: center;
  position: relative;
}

.tagcontent {
  height: auto;
}
.tagcardcontent {
  display: flex;
  height: 550px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}
.searchcardtag {
  width: 8%;
  margin: 0 0 5px 0;
  padding: 0 5px;
  font-size: 0;
}
.searchcardtag:hover {
  opacity: 0.8;
}
.tagadd {
  width: 100%;
}
.tagaddto_btn {
  display: inline-block;
  width: 98%;
  line-height: 26px;
  font-size: 12px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 1px;
  cursor: pointer;
  color: #666;
  background-color: white;
}

.decksimulator {
  display: inline-block;
  font-size: 12px;
  color: #666;
  border: 1px solid #ccc;
  background-color: #EFEFEF;
  margin-left: 5px;
  border-radius: 3px;
  padding: 6px;
}
.modal2 {
  display: none;
  height: 95vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2;
}
.modal__bg2 {
  background: rgba(0,0,0,0.8);
  height: 95vh;
  position: absolute;
  width: 100%;
}
.modal__content2 {
  width: 50%;
  background: #fff;
  left: 50%;
  padding: 10px;
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
}

/*0203追加*/
#breadcrumb {
  margin-bottom: 10px;
  margin-top: 10px;
  color: #777;
  font-size: 13px;
  background: #fff;
  padding: 10px;
  border: 1px solid #8BA7D5;
}
.decktext {
  font-size: 12px;
  color: #666;
  border: 1px solid #ccc;
  background-color: #EFEFEF;
  border-radius: 3px;
  flex-grow: 1;
  padding: 5px;
  margin-left: 5px;
  flex-grow: 0;
  display: inline-block;
  height: 20px;
}
.cardprice2 {
  margin-top: 10px;
}
.cardprice3 {
  margin-top: 10px;
}
.cardprice4 {
  margin-top: 10px;
}
.priceitemstr {
  border-top: 1px solid #eee;
  border-right: 1px solid #eee;
  border-left: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.priceitem {
  display: flex;
  padding: 5px;
  border-right: 1px solid #eee;
  border-left: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.pricecardname {
  width: 40%;
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  border-right: 1px dashed #eee;
}
.pricemai {
  width: 10%;
  padding-right: 5px;
  text-align: right;
  border-right: 1px dashed #eee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}
.pricenum {
  width: 7%;
  text-align: center;
  border-right: 1px dashed #eee;
}
.pricemaix {
  width: 10%;
  padding-left: 5px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}
.decksub_m {
  padding: 0px;
  margin: 0 0 10px 0;
}

@media screen and (min-width:481px) {
  .priceitem:hover {
    background: #ddd;
  }
  .goback:hover {
    background: #ddd;
  }
  .menuflex:hover {
    background: #ddd;
  }
  /***
  以下deck.php
  ***/
  .packmove {
    margin: 0;
  }
  .packmove a {
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
    position: relative;
  }
  .packmove img {
    width: 12px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 43%;
    transform: translate(-50%,-50%);
  }
  .mybox1 {
    display: flex;
    width: 100%; 
  }
  .radiolbl {
    /*
    line-height: 18px;
    width: 48%;
    padding: 5px 9px;
    border-radius: 3px;
    margin-right: 0px;
    display: inline-block;
    border: 1px solid #ccc;
    color: #666;
    margin-bottom: 3px;
    cursor: pointer;
    font-size: 12px;
    text-align: center;
    */
    width: 100%;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
    margin: 5px;
    position: relative;
  }
  .radiolbl:hover {
    background: #ddd;
  }
  #radiolbl2 {
    margin: 0 0 3px 11px;
  }
  #radiolbl1 {
    padding: 4px 9px;
    border-radius: 3px;
    margin-right: 0px;
    display: inline-block;
    border: 1px solid #ccc;
    color: #666;
    margin-bottom: 3px;
    cursor: pointer;
    font-size: 12px;
    text-align: center;
  }
  /*
  @media screen and (max-width: 1024px) {
    .radiolbl:last-child {
      margin-right: 5px;
    }
  }
  @media screen and (max-width: 1024px) {
    .radiolbl:first-child {
      margin-left: 5px;
    }
  }
  */
  /**/
  .list_deck {
    display: block;
    width: 100%;
    justify-content: flex-start;
    margin-top: 2px;
  }
  .list_deck a {
    display: block;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
    margin: 0;
  }
  .list_deck a:hover {
    background: #ddd;
  }
  .list_deck1 {
    display: block;
    width: 100%;
    justify-content: flex-start;
  }
  .list_deck1 a {
    display: block;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
    margin: 5px 0 0 0;
  }
  .list_deck1 a:hover {
    background: #ddd;
  }
  /**/
  h3 {
    padding: 8px;
    font-size: 15px;
  }
  .deckcontsubtn {
    display: flex;
  }
  .deck_delete {
    font-size: 12px;
    color: white;
    border: 1px solid #ff8282;
    background-color: #ff8282;
    border-radius: 3px;
    margin-left: 5px;
    padding: 6px 4px;
    display: inline-block;
    margin-left: auto;
  }
  .deck_delete:hover {
    background: #ddd;
  }
  /*
  .deckcomment {
    font-size: 13px;
    color: #333;
    border: 1px dashed #ccc;
    padding: 6px;
    margin: 8px 0 8px 0;
    background: #FAFAFA;
  }
  */
  .radiombox {
    display: flex;
    width: 100%;
    margin-bottom: 0px;
  }
  .deckupdate {
    display: block;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: #EFEFEF;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
  }
  .deckupdate:hover {
    background: #ddd;
  }
  /**/
  .search_clear {
    /*
    font-size: 12px;
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 6px;
    margin:0 0 10px 0;
    display:block;
    text-align:center;
    background-color:white;
    */
    font-size: 12px;
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 6px;
    margin:0 0 10px 0;
    display:block;
    text-align:center;
    background-color:white;
  }
  .search_clear:hover {
    background: #ddd;
  }
  .stbline {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    margin-bottom: 10px;
  }
  span.stbtn {
    font-size: 12px;
    border: 1px solid #eee;
    border-radius: 3px;
    padding: 7px;
    display: inline-block;
    cursor: pointer;
    color: #666;
    margin-bottom: 5px;
    width: 11%;
    text-align: center;
    margin: 2px;
  }
  .stbtn:hover {
    background: #ddd;
  }
  span.stbtn.stbtnopen {
    background-color: #eee;
    font-weight: bold;
  }
  /*デッキに追加、ボタン部分*/
  span[data-stid="11"] {
    display: none;
  }
  span[data-stid="13"] {
    display: none;
  }
  .searchline {
    margin-bottom: 6px;
    margin-top: 10px;
    padding: 0 4px 0 4px;
    background-color: #FAFAFA;
    border: 1px solid #eee;
  }
  .bunruihead {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    margin-bottom: 5px;
  }
  .searchradiobtn {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
  }
  .searchradiolbl {
    background-color: white;
    padding: 4px 7px;
    border-radius: 3px;
    margin-right: 3px;
    display: inline-block;
    border: 1px solid #ccc;
    color: #666;
    margin-bottom: 3px;
    cursor: pointer;
    font-size: 12px;
    min-width: 11%;
    text-align: center;
  }
  .searchradiobtn:checked + .searchradiolbl {
    background-color: #eee;
    font-weight: bold;
  }
  .searchradiobtn:focus + .searchradiolbl {
    outline-color: #4D90FE;
    outline-offset: -2px;
    outline-style: auto;
    outline-width: 5px;
  }
  .searchhead {
    font-size: 13px;
    margin-bottom: 10px;
    color: #666;
    margin-top: 5px;
  }
  .stclear {
    padding: 3px 3px;
    border: 1px solid #ccc;
    background-color: white;
    margin-left: 10px;
    font-size: 11px;
    border-radius: 2px;
    cursor: pointer;
  }
  .btclear {
    padding: 3px 3px;
    border: 1px solid #ccc;
    background-color: white;
    margin-left: 10px;
    font-size: 11px;
    border-radius: 2px;
    cursor: pointer;
  }
  #jstree_jibun {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
  }
  #jstree_aite {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
  }
  #jstree_pack {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
  }
  #jstree_ability {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
  }
  #jstree_deck {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
  }
  #jstree_race {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
  }
  #jstree_type {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
  }
  #jstree_bunmei {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
  }
  #jstree_mydeck {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
  }
  .jstree-proton .jstree-themeicon {
    display:none;
  }
  span.bunopen {
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 7px;
    margin-right: 5px;
    display: inline-block;
    cursor: pointer;
    color: #666;
    margin-bottom: 5px;
    background-color: white;
  }
  span.bunopend {
    background-color: #eee;
    font-weight: bold;
  }
  .searchbtngrp {
    display: table;
    width: 100%;
    margin: 0 0 10px 0;
  }
  button.searchcard {
    display: table-cell;
    width: 45%;
    margin-right: 1%;
    background: white;
    border: 1px solid #8BA7D5;
    font-size: 12px;
    color: #555;
    padding: 6px;
    vertical-align: middle;
  }
  .searchcard:hover {
    background: #ddd;
  }
  .searchnamecard {
    display: table-cell;
    width: 45%;
    /*margin-right: 1%;*/
    background: white;
    border: 1px solid #8BA7D5;
    font-size: 12px;
    color: #555;
    padding: 6px;
    vertical-align: middle;
  }
  .searchnamecard:hover {
    background: #ddd;
  }
  .searchcandidatecard {
    display: table-cell;
    margin-right: 1%;
    background: white;
    border: 1px solid #8BA7D5;
    font-size: 12px;
    color: #8BA7D5;
    padding: 6px;
    vertical-align: middle;
  }
  .searchcandidatecard:hover {
    background: #ddd;
  }
  .searchresult {
    display: flex;
    flex-wrap: wrap;
  }
  .searchresult_nameflex {
    display: flex;
    flex-wrap: wrap;
  }
  /*
  .searchresult_name {
    display: flex;
    flex-wrap: wrap;
  }
  */
  .searchitem {
    width: 12%;
    padding-right: 2px;
    padding-left: 2px;
  }
  .cardadd_1 {
    width: 100%;
    height: 140px;
  }
  .cardadd_2 {
    width: 100%;
  }
  .cardadd {
    width: 100%;
  }
  .addto_btn {
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 1px;
    display: inline-block;
    cursor: pointer;
    color: #666;
    margin-bottom: 5px;
    width: 98%;
    line-height: 26px;
    text-align: center;
    position: relative;
  }
  .addto_btn:hover {
    color: #000;
  }
  .cardsearch_btn {
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    display: inline-block;
    cursor: pointer;
    color: #666;
    margin-bottom: 5px;
    width: 99%;
    line-height: 26px;
    text-align: center;
    position: relative;
  }
  .cardsearch_btn:hover {
    color: #000;
  }
  .nameback1 {
    display: block;
    width: 98%;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: #EFEFEF;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
    margin: 0 0 5px 0;
  }
  .nameback2 {
    display: block;
    width: 98%;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: #EFEFEF;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
  }
  .searchbtn {
    margin: 0;
  }
  .orderbtnbox {
    display: flex;
    font-size: 13px;
    padding: 0;
    margin-right: 5px;
    color: #666;
  }
  .orderbtnbox a {
    display: inherit;
    border: none;
    border-radius: none;
    padding: 0px;
  }
  .btnbox1 {
    display: flex;
  }
  .btnbox2 {
    display: flex;
  }
  .obb1 {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px 0 0 3px;
  }
  .obb2 {
    padding: 10px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
  }
  .obb3 {
    padding: 10px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-radius: 0 3px 3px 0;
    margin: 0 10px 0 0;
  }
  .obb2:hover {
    background: #ddd;
  }
  .obb3:hover {
    background: #ddd;
  }
  span.searchpager {
    display: inline-block;
    font-size: 12px;
    border: 1px solid #eee;
    border-radius: 3px;
    padding: 6px 14px;
    margin-top: 5px;
    margin-right: 1px;
    color: #666;
  }
  .searchpager:hover {
    background: #ddd;
  }
  .treeselect {
    display:none;
  }
  .searchcurrent {
    background-color:#ccc;
  }
  .search_q {
    width: 100%;
    margin-bottom: 15px;
  }
  .shead {
    font-size: 13px;
    font-weight: bold;
    vertical-align: middle;
    border-bottom: 2px solid #8BA7D5;
    margin-bottom: 10px;
  }

  /**/
  .preview_deckname {
    font-size: 15px;
  }
  .sizechange_btn2 {
    font-size: 12px;
    color: #666;
    border: 1px solid #ccc;
    background-color: #EFEFEF;
    border-radius: 3px;
    padding: 6px;
    display: inline-block;
  }
  .sizechange_btn2:hover {
    background: #ddd;
  }
  .sizechange_btn1 {
    font-size: 12px;
    color: #666;
    border: 1px solid #ccc;
    background-color: #EFEFEF;
    border-radius: 3px;
    margin-left: 5px;
    padding: 6px;
    display: inline-block;
  }
  .sizechange_btn1:hover {
    background: #ddd;
  }
  .sizebtn_check {
    font-size: 12px;
    color: #666;
    border: 1px solid #ccc;
    background-color: #FFFFFF;
    border-radius: 3px;
    padding: 6px;
    display: inline-block;
  }
  .deck_copy {
    font-size: 12px;
    color: #666;
    border: 1px solid #ccc;
    background-color: #EFEFEF;
    border-radius: 3px;
    margin-left: 5px;
    padding: 6px;
    display: inline-block;
  }
  .deck_copy:hover {
    background: #ddd;
  }
  span {
    font-size: 13px;
    display: inline-block;
  }
  /*
  .cardimgs {
    padding: 10px;
  }
  */
  .demo_m1 {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
  }
  .demo_m2 {
    display: flex;
    flex-wrap: wrap;
    padding: 0 10px 10px 10px;
  }
  .demo_m3 {
    display: flex;
    flex-wrap: wrap;
    padding: 0 10px 10px 10px;
  }
  .demo_m4 {
    display: flex;
    flex-wrap: wrap;
    padding: 0 10px 10px 10px;
  }
  .images_test {
    width: 10%;
    height: 115px;
  }
  .images_test2 {
    width: 10%;
    height: 60px;
  }
  /**/
  .listupdate {
    display: block;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: #EFEFEF;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
    margin: 0 5px 5px 5px;
  }
  .listupdate:hover {
    background: #ddd;
  }
  .deckcontents {
    font-size: 12px;
    font-weight: bold;
    padding: 6px;
    vertical-align: middle;
    text-align: center;
  }
  .sort_1 {
    width: 23%;
  }
  .sort_2 {
    width: 23%;
  }
  .sort_3 {
    width: 23%;
  }
  .sort_4 {
    width: 23%;
  }
  #sort4 {
    background: white;
    border: 1px solid #8BA7D5;
    font-size: 12px;
    color: #555;
    padding: 6px;
    vertical-align: middle;
    width: 92%;
    text-align: center;
  }
  #sort4:hover {
    background: #ddd;
  }
  #sort1 {
    background: white;
    border: 1px solid #8BA7D5;
    font-size: 12px;
    color: #555;
    padding: 6px;
    vertical-align: middle;
    width: 92%;
    text-align: center;
  }
  #sort1:hover {
    background: #ddd;
  }
  #sort2 {
    background: white;
    border: 1px solid #8BA7D5;
    font-size: 12px;
    color: #555;
    padding: 6px;
    vertical-align: middle;
    width: 92%;
    text-align: center;
  }
  #sort2:hover {
    background: #ddd;
  }
  #sort3 {
    background: white;
    border: 1px solid #8BA7D5;
    font-size: 12px;
    color: #555;
    padding: 6px;
    vertical-align: middle;
    width: 92%;
    text-align: center;
  }
  #sort3:hover {
    background: #ddd;
  }
  span.decknum1 {
    width: 18%;
    text-align: right;
  }
  span#nos_1 {
    width: 90%;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
  }
  span#nos_1:hover {
    background: #ddd;
  }
  span.decknum4 {
    width: 18%;
    margin: 0 0 0 10px;
  }
  span#nos_4 {
    width: 90%;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
  }
  span#nos_4:hover {
    background: #ddd;
  }
  span.price_min1 {
    margin: 0 0 0 10px;
    width: 14%;
  }
  span#all_1 {
    width: 86%;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
  }
  span#all_1:hover {
    background: #ddd;
  }
  span.price_min2 {
    margin: 0 0 0 10px;
    width: 14%;
  }
  span#all_2 {
    width: 86%;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
  }
  span#all_2:hover {
    background: #ddd;
  }
  span.price_min0 {
    margin: 0 0 0 10px;
    width: 14%;
  }
  span#all_3 {
    width: 86%;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
  }
  span#all_3:hover {
    background: #ddd;
  }
  span.testbtn {
    width: 42%;
    text-align: right;
  }
  span.thumbnailbtn_release {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 2px;
    text-align: center;
    position: relative;
    z-index: 1;
    margin: 0 0 0 10px;
  }
  span.thumbnailbtn_release:hover {
    opacity: 0.5;
  }
  .thumbnailbtn_release img {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }
  span#carddelete_all {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 2px;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  span#carddelete_all:hover {
    opacity: 0.5;
  }
  span#carddelete_all img {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }
  /**/
  .decksub1 {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background-color: #FAFAFA;
    padding: 6px 4px 5px 10px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
    font-size: 15px;
  }
  .deckontent_main {
    width: 100%;
  }
  .h3_mai {
    font-size: 15px;
  }
  .deckcarditem {
    display: flex;
    padding-top: 6px;
    padding-bottom: 0px;
    min-height: 89px;
    position: relative;
  }
  .deckcarditem a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
  }
  .deckcarditem:hover {
    background: #ddd;
  }
  .cardthumb {
    width: 10%;
  }
  .deck_images {
    max-width: 60px;
    height: 83px;
  }
  .deck_images2 {
    max-width: 104px;
    height: 60px;
  }
  .cardsetting0 {
    width: 20%;
    height: 50px;
    text-align: center;
    z-index: 1;
  }
  input.cardnum {
    max-width: 35px;
    position: relative;
    z-index: 1;
  }
  .cardsetting1 {
    width: 20%;
  }
  #examplecategory5 {
    z-index: 1;
  }
  #examplecategory1 {
    position: relative;
    z-index: 1;
  }
  .priceinput1_1 {
    display: none;
    position: relative;
    z-index: 1;
  }
  .priceinput1_2 {
    display: none;
    position: relative;
    z-index: 1;
  }
  .priceinput1_3 {
    display: none;
    position: relative;
    z-index: 1;
  }
  label {
    font-size: 13px;
  }
  input.setprice {
    max-width: 70px;
  }
  .cardsetting2 {
    width: 20%;
  }
  #examplecategory2 {
    position: relative;
    z-index: 1;
  }
  .stockinput2_1 {
    display: none;
    position: relative;
    z-index: 1;
  }
  .stockinput2_2 {
    display: none;
    position: relative;
    z-index: 1;
  }
  input.setstock {
    max-width: 70px;
  }
  .cardsetting3 {
    width: 50%;
    text-align: right;
  }
  span.cardup {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 2px;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  span.cardup:hover {
    opacity: 0.5;
  }
  .cardup img {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }
  span.thumbnailbtn {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 2px;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  span.thumbnailbtn:hover {
    opacity: 0.5;
  }
  .thumbnailbtn img {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }
  span.carddown {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 2px;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  span.carddown:hover {
    opacity: 0.5;
  }
  .carddown img {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }
  span.carddelete {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 2px;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  span.carddelete:hover {
    opacity: 0.5;
  }
  .carddelete img {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }

  .deckontent_forbidden {
    width: 100%;
  }
  .deckontent_dimension {
    width: 100%;
  }
  .deckontent_gr {
    width: 100%;
  }
  /**/
  .deck_status {
    font-size: 13px;
  }
  span.deckcat {
    margin: 0 0 0 5px;
    padding: 3px 5px;
    border-radius: 2px;
    font-size: 11px;
    position: relative;
    z-index: 1;
  }
  span.deckcat:hover {
    opacity: 0.5;
  }
  .decksub {
    font-weight: bold;
    margin: 32px 0px 6px 0px;
    color: #fff;
    font-size: 15px;
    background-image: url(https://www.transparenttextures.com/patterns/bright-squares.png);
    background-color: #f1f1f1;
    border-radius: 2px;
    padding: 6px 8px;
  }
  .deckstatus_color {
    border-spacing: 0px;
    text-align: center;
  }
  td {
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  .td_master {
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    border-top: 1px solid #eee;
    background: #FAFAFA;
    padding: 4px 0 3px 0;
    font-size: 13px;
    width: 60px;
  }
  .deckcard_white {
    color: #393939;
    background-color: #F6D580;
    width: 50px;
    font-weight: bold;
    font-size: 15px;
    padding: 4px 0 2px 0;
  }
  .td_white {
    font-size: 12px;
    width: 60px;
  }
  .deckcard_blue {
    color: #393939;
    background-color: #6EB7DB;
    width: 50px;
    font-weight: bold;
    font-size: 15px;
    padding: 4px 0 2px 0;
  }
  .td_blue {
    font-size: 12px;
    width: 60px;
  }
  .deckcard_black {
    color: #E3E3E3;
    background-color: #393939;
    width: 50px;
    font-weight: bold;
    font-size: 15px;
    padding: 4px 0 2px 0;
  }
  .td_black {
    font-size: 12px;
    width: 60px;
  }
  .deckcard_red {
    color: #393939;
    background-color: #D04255;
    width: 50px;
    font-weight: bold;
    font-size: 15px;
    padding: 4px 0 2px 0;
  }
  .td_red {
    font-size: 12px;
    width: 60px;
  }
  .deckcard_green {
    color: #393939;
    background-color: #3DB680;
    width: 50px;
    font-weight: bold;
    font-size: 15px;
    padding: 4px 0 2px 0;
  }
  .td_green {
    font-size: 12px;
    width: 60px;
  }
  .deckcard_transparent {
    color: #393939;
    background-color: #fafafa;
    width: 50px;
    font-weight: bold;
    font-size: 15px;
    padding: 4px 0 2px 0;
  }
  .td_transparent {
    font-size: 12px;
    width: 60px;
  }
  .deckcard_rainbow {
    color: #393939;
    background-color: #9D73BB;
    width: 50px;
    font-weight: bold;
    font-size: 15px;
    padding: 4px 0 2px 0;
  }
  .td_rainbow {
    font-size: 12px;
    width: 60px;
  }
  .deckcard_9999 {
    color: #393939;
    width: 50px;
    font-weight: bold;
    font-size: 15px;
    padding: 4px 0 2px 0;
  }
  .trdeckcard_9999 {
    font-size: 12px;
    width: 60px;
  }
  .cardtype_master {
    width: 178px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .cardtypemai_master {
    width: 60px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    border: 1px solid #eee;
  }
  .card_type {
    width: 178px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .cardtype_mai {
    width: 60px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  .cardcost_master {
    width: 65px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .cardcostmai_master {
    width: 60px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    border: 1px solid #eee;
  }
  .card_cost {
    width: 65px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .cardcost_mai {
    width: 60px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  .deckzone_master {
    width: 85px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .deckcardmai_master {
    width: 60px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .deckcardmoney_master {
    width: 85px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .deckcardmoney_week {
    width: 85px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .deckcardmoney_same {
    width: 85px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border: 1px solid #eee;
  }
  .deck_zone {
    width: 85px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee; 
  }
  .deck_kei {
    display: inline-block;
    width: 85px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #ddd;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .deckcard_mai {
    width: 60px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  .deckcard_money {
    width: 85px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  .dcek_times1 {
    width: 60px;
    line-height: 26px;
    font-size: 12px;
    /*
    padding: 4px 0 3px 0;
    */
    text-align: center;
    background: #FAFAFA;
    border: 1px solid #eee; 
  }
  .dcektime_days1 {
    width: 120px;
    line-height: 26px;
    font-size: 12px;
    /*
    padding: 4px 0 3px 0;
    */
    text-align: center;
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  .dcek_times2 {
    width: 60px;
    line-height: 26px;
    font-size: 12px;
    /*
    padding: 4px 0 3px 0;
    */
    text-align: center;
    background: #FAFAFA;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .dcektime_days2 {
    width: 120px;
    line-height: 26px;
    font-size: 12px;
    /*
    padding: 4px 0 3px 0;
    */
    text-align: center;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  /**/
  .packmove1 {
    display: flex;
    width: 100%;
    justify-content: flex-start;
  }
  .packmove1 a {
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
    position: relative;
  }
  .packmove1 a:hover {
    background: #ddd;
  }
  .packmove1 img {
    width: 12px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 43%;
    transform: translate(-50%,-50%);
  }
  .pagetop img {
    width: 12px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 38%;
    transform: translate(-50%,-50%);
  }
  .pagehome img {
    width: 12px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%,-50%);
  }
  /**/
  #modalWrap {
    display: none;
    background: none;
    width: 100%;
    height: 44px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    overflow: hidden;
  }
  #demo_modal {
    position: fixed;
    width: 85%;
    max-width: 720px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    margin: auto;
    overflow: hidden;
    opacity: 1;
    display: none;
    border-radius: 3px;
    z-index: 1000;
  }
  .modalupdate {
    font-size: 0px;
    padding: 10px;
    box-sizing: border-box;
    background: #020202;
    color: #fff;
  }
  /**/
  button.decksave {
    /*
    width: 100%;
    padding: 4px 0;
    border: none;
    margin: 0;
    */
    display: table-cell;
    width: 100%;
    margin-right: 1%;
    background: white;
    border: 1px solid #8BA7D5;
    font-size: 12px;
    color: #555;
    padding: 6px;
    vertical-align: middle;
  }
  #popup {
    font-size: 0.8rem;
    position: fixed;
    left: 5%;
    width: 90%;
    max-width: 300px;
    margin: 0;
    padding: 0.3em;
    line-height: 1.3;
    box-shadow: 0 0 3px #000;
    background: rgba(255,255,255,0.9);
    border-radius: 5px;
    white-space: pre-line;
    word-break: break-all;
  }
}
  
@media screen and (max-width: 480px) {

  .priceitem {
    font-size: 12px;
  }
  .pricecardname {
    width: 42%;
  }
  .pricemai {
    width: 24%;
  }
  .pricenum {
    width: 10%;
  }
  .pricemaix {
    width: 24%;
  }

  span.cardtag {
    width: 28px;
    height: 28px;
  }
  span.cardchange {
    width: 28px;
    height: 28px;
  }
  .searchange {
    height: 160px;
    min-width: 90px;
    padding: 0 3px;
    white-space: normal;
    font-size: 0;
  }
  .changecontent {
    white-space: nowrap;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }
  .changeaddto_btn {
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 1px;
    display: inline-block;
    cursor: pointer;
    color: #666;
    width: 98%;
    line-height: 26px;
    text-align: center;  
  }
  .modal__content {
    padding: 5px;
    width: 90%;
  }

  /*iosダブルタップ拡大制御*/
  html {
    touch-action: manipulation;
  }
  /*ios入力拡大制御*/
  input[type="text"] {
    font-size: 16px;
  }

  /**/
  li.menu {
    margin: 0;
  }
  ul.sidelist_cur li a {
    padding: 5px 0;
  }
  img.mypage_down {
    width: 15px;
    height: 15px;
  }

  /**/
  .packmove a {
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
    position: relative;
  }
  .packmove img {
    width: 12px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 34%;
    transform: translate(-50%,-50%);
  }
  .mybox1 {
    display: flex;
    margin: 0 5px 5px 5px;
    font-size: 0px;
  }
  .radiolbl {
    /*
    width: 43%;
    text-align: center;
    margin-right: 0px;
    margin-bottom: 0px;
    */
    width: 95%;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
    /*margin: 5px;*/
    position: relative;
  }
  label#radiolbl1 {
    margin: 0 1.5% 0 0;
  }
  .list_deck {
    display: block;
    width: 100%;
    justify-content: flex-start;
  }
  .list_deck a {
    display: block;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
    margin: 0;
  }
  .list_deck a:first-child {
    margin-left: 5px;
  }
  .list_deck a:last-child {
    margin-right: 5px;
  }
  .list_deck1 {
    display: block;
    width: 100%;
    justify-content: flex-start;
  }
  .list_deck1 a {
    display: block;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
    margin: 5px 0 0 0;
  }
  .list_deck1 a:first-child {
    margin-left: 5px;
  }
  .list_deck1 a:last-child {
    margin-right: 5px;
  }
  .deckupdate {
    display: block;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: #EFEFEF;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
  }
  /**/
  .deckinfo {
    padding: 0 10px 10px 10px;
  }
  /**/
  .search_clear {
    /*
    font-size: 12px;
    color: #666;
    border: 1px solid #ccc;
    background-color: #EFEFEF;
    border-radius: 3px;
    padding: 6px;
    display: inline-block;
    */
    font-size: 12px;
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 6px;
    margin:0 0 10px 0;
    display:block;
    text-align:center;
    background-color:white;
  }
  h3 {
    margin: 10px 0;
    padding: 5px;
    background-color: #8BA7D5;
    color: white;
    font-size: 14px;
  }
  .deckcontsubtn {
    display: flex;
  }
  .deck_delete {
    font-size: 12px;
    color: white;
    border: 1px solid #ff8282;
    background-color: #ff8282;
    border-radius: 3px;
    margin-left: 5px;
    padding: 6px;
    display: inline-block;
    margin-left: auto;
  }
  .contsubbox {
    padding: 0px 5px 10px 5px;
  }
  #jstree_jibun {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
  }
  #jstree_aite {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
  }
  #jstree_pack {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
  }
  #jstree_ability {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
  }
  #jstree_deck {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
  }
  #jstree_race {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
  }
  #jstree_type {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
  }
  #jstree_bunmei {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
  }
  #jstree_mydeck {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
  }
  span.stbtn {
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    display: inline-block;
    cursor: pointer;
    color: #666;
    width: 23.7%;
    height: 15px;
    text-align: center;
    padding-top: 4px;
    padding-bottom: 5px;
    margin: 0 2px 2px 0;
    position: relative;
    bottom: 6px;
  }
  span.stbtn.stbtnopen {
    background-color: #eee;
    font-weight: bold;
  }
  /*デッキに追加、ボタン部分*/
  span[data-stid="11"] {
    display: none;
  }
  span[data-stid="13"] {
    display: none;
  }
  .searchline {
    margin-bottom: 6px;
    margin-top: 10px;
    padding: 0 4px 0 4px;
    background-color: #FAFAFA;
    border: 1px solid #eee;
  }
  .searchhead {
    font-size: 14px;
    margin-bottom: 10px;
    color: #333;
    margin-top: 5px;
  }
  .stclear {
    padding: 3px 3px;
    border: 1px solid #ccc;
    background-color: white;
    margin-left: 10px;
    font-size: 11px;
    border-radius: 2px;
    cursor: pointer;
  }
  .btclear {
    padding: 3px 3px;
    border: 1px solid #ccc;
    background-color: white;
    margin-left: 10px;
    font-size: 11px;
    border-radius: 2px;
    cursor: pointer;
  }
  .searchradiobtn {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
  }
  label.searchradiolbl {
    background-color: white;
    padding: 4px 7px;
    border-radius: 3px;
    margin-right: 3px;
    display: inline-block;
    border: 1px solid #ccc;
    color: #333;
    margin-bottom: 3px;
    cursor: pointer;
    font-size: 12px;
    min-width: 11%;
    text-align: center;
  }
  .bunruihead {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    margin-bottom: 5px;
  }
  span.bunopen {
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 7px;
    margin-right: 5px;
    display: inline-block;
    cursor: pointer;
    color: #666;
    margin-bottom: 5px;
    background-color: white;
  }
  span.bunopend {
    background-color: #eee;
    font-weight: bold;
  }
  .searchradiobtn:checked + .searchradiolbl {
    background-color: #eee;
    font-weight: bold;
  }
  button.searchcard {
    display: table-cell;
    width: 39%;
    margin-right: 1%;
    background: white;
    border: 1px solid #8BA7D5;
    font-size: 12px;
    color: #555;
    padding: 6px;
    vertical-align: middle;
  }
  .searchnamecard {
    display: table-cell;
    width: 39%;
    /*margin-right: 1%;*/
    background: white;
    border: 1px solid #8BA7D5;
    font-size: 12px;
    color: #555;
    padding: 6px;
    vertical-align: middle;
  }
  .searchcandidatecard {
    display: table-cell;
    margin-right: 1%;
    background: white;
    border: 1px solid #8BA7D5;
    font-size: 12px;
    color: #8BA7D5;
    padding: 6px;
    vertical-align: middle;
  }
  .searchresult {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
  }
  .searchitem {
    width: 19.5%;
    margin: 0 0 5px 0;
  }
  .cardadd_1 {
    width: 98%;
    height: 79%;
  }
  .cardadd_2 {
    width: 100%;
    height: 40px;
  }
  .cardadd {
    width: 96%;
    /*height: 195px;*/
  }
  .addto_btn {
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 1px;
    display: inline-block;
    cursor: pointer;
    color: #666;
    width: 93%;
    line-height: 26px;
    text-align: center;
  }
  .addto_btn:hover {
    color: #000;
  }
  .cardsearch_btn {
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    display: inline-block;
    cursor: pointer;
    color: #666;
    width: 93%;
    line-height: 26px;
    text-align: center;
    position: relative;
  }
  .cardsearch_btn:hover {
    color: #000;
  }
  .searchresult_nameflex {
    margin: 5px 5px 0 5px;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    display: -ms-flexbox;
    display: flex;
  }
  .searchresult_nameflex > .searchitem {
    /*width: 30%;*/
    min-width: 90px;
  }
  /*
  .searchresult_nameflex > .searchitem:not(:last-child) {
    margin-right: 5px;
  }
  */

  /*
  .searchresult_name {
    margin: 5px 0 0 0;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    display: -ms-flexbox;
    display: flex;
  }
  .searchresult_name > .searchitem {
    width: 100%;
    min-width: 140px; 
  }
  .searchresult_name > .searchitem:not(:last-child) {
    margin-right: 5px; 
  }
  .searchresult_name > .searchitem:last-child {

  }
  */
  .nameback1 {
    width: 92%;
    margin: 5px 5px 0 5px;
    display: block;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: #EFEFEF;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
  }
  .nameback2 {
    width: 92%;
    margin: 0 5px 0 5px;
    display: block;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: #EFEFEF;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
  }
  .searchbtn {
    margin: 0;
  }
  .orderbtnbox {
    display: flex;
    font-size: 13px;
    padding: 0;
    margin-right: 5px;
    color: #666;
  }
  .orderbtnbox a {
    display: inherit;
    border: none;
    border-radius: none;
    padding: 0px;
  }
  .btnbox1 {
    display: flex;
  }
  .btnbox2 {
    display: flex;
  }
  .obb1 {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px 0 0 3px;
  }
  .obb2 {
    padding: 10px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
  }
  .obb3 {
    padding: 10px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-radius: 0 3px 3px 0;
    margin: 0 10px 0 0;
  }
  span.searchpager {
    display: inline-block;
    font-size: 13px;
    border: 1px solid #eee;
    border-radius: 3px;
    padding: 6px 7px;
    margin-top: 5px;
    margin-right: 1px;
    color: #666;
  }
  .treeselect {
    display:none;
  }
  .searchcurrent {
    background-color:#ccc;
  }
  .search_q {
    width: 100%;
    margin-bottom: 15px;
  }
  .shead {
    font-size: 13px;
    font-weight: bold;
    vertical-align: middle;
    border-bottom: 2px solid #8BA7D5;
    margin-bottom: 10px;
  }

  /**/
  .sizechange_btn2 {
    font-size: 12px;
    color: #666;
    border: 1px solid #ccc;
    background-color: #EFEFEF;
    border-radius: 3px;
    padding: 6px 4px;
    display: inline-block;
  }
  .sizechange_btn1 {
    font-size: 12px;
    color: #666;
    border: 1px solid #ccc;
    background-color: #EFEFEF;
    border-radius: 3px;
    margin-left: 5px;
    padding: 6px 4px;
    display: inline-block;
  }
  .sizebtn_check {
    font-size: 12px;
    color: #666;
    border: 1px solid #ccc;
    background-color: #FFFFFF;
    border-radius: 3px;
    padding: 6px 4px;
    display: inline-block;
  }
  .deck_copy {
    font-size: 12px;
    color: #666;
    border: 1px solid #ccc;
    background-color: #EFEFEF;
    border-radius: 3px;
    margin-left: 5px;
    padding: 6px 4px;
    display: inline-block;
  }
  /*
  .cardimgs {
    padding: 10px;
  }
  */
  .demo_m1 {
    display: flex;
    flex-wrap: wrap;
    padding: 5px;
  }
  .demo_m2 {
    display: flex;
    flex-wrap: wrap;
    padding: 0 5px 5px 5px;
  }
  .demo_m3 {
    display: flex;
    flex-wrap: wrap;
    padding: 0 5px 5px 5px;
  }
  .demo_m4 {
    display: flex;
    flex-wrap: wrap;
    padding: 0 5px 5px 5px;
  }
  .images_test {
    width: 10%;
    height: 47.4px;
  }
  .images_test2 {
    width: 10%;
    height: 32px;
  }

  /**/
  .listupdate {
    display: block;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: #EFEFEF;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
    margin: 0 5px 5px 5px;
  }
  .deckcontents {
    font-size: 12px;
    font-weight: bold;
    /*padding: 6px;*/
    vertical-align: middle;
    text-align: center;
  }
  .sort_1 {
    width: 19%;
  }
  #sort4 {
    width: 80%;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    padding: 6px;
    display: inline-block;
  }
  .sort_2 {
    width: 19%;
    margin: 0 0 0 5px;
  }
  #sort1 {
    width: 80%;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    padding: 6px;
    display: inline-block;
  }
  .sort_3 {
    width: 19%;
    margin: 0 0 0 5px;
  }
  #sort2 {
    width: 80%;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    padding: 6px;
    display: inline-block;
  }
  .sort_4 {
    width: 19%;
    margin: 0 0 0 5px;
  }
  #sort3 {
    width: 80%;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    padding: 6px;
    display: inline-block;
  }
  span.decknum1 {
    width: 13%;
  }
  #nos_1 {
    width: 60%;
    font-size: 11px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    padding: 5px;
    display: inline-block;
  }
  span.decknum4 {
    width: 13%;
  }
  #nos_4 {
    width: 60%;
    font-size: 11px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    padding: 5px;
    display: inline-block;
  }
  span.price_min1 {
    width: 17%;
  }
  #all_1 {
    width: 67%;
    font-size: 11px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    padding: 5px;
    display: inline-block;
  }
  span.price_min2 {
    width: 21%;
  }
  #all_2 {
    width: 75%;
    font-size: 11px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    padding: 5px;
    display: inline-block;
  }
  span.price_min0 {
    width: 17%;
  }
  #all_3 {
    width: 65%;
    font-size: 11px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    padding: 5px;
    display: inline-block;
  }
  span.testbtn {
    width: 53%;
    text-align: right;
  }
  span.thumbnailbtn_release {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 2px;
    text-align: center;
    position: relative;
    margin-left: 5px;
  }
  .thumbnailbtn_release img {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }
  span#carddelete_all {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 2px;
    text-align: center;
    position: relative;
    margin: 0px 5px 0 5px;
  }
  span#carddelete_all img {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }
  .plusminus_m {
    display: none;
  }
  span.plusminus {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 1px solid #ddd;
    border-radius: 2px;
    text-align: center;
    position: relative;
    z-index: 1;
    transform: translate3d(0,0,0);
  }
  .plusminus img {
    width: 8px;
    height: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }
  /**/
  .decksub1 {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background-color: #FAFAFA;
    padding: 6px 4px 5px 10px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
    font-size: 15px;
  }
  .deckcarditem {
    border-bottom: 1px dashed #eee;
    display: flex;
    width: 100%;
    max-height: 200px;
    padding-bottom: 5px;
    padding-top: 5px;
    min-height: 79px;
    /*position: relative;*/
  }
  /*
  .deckcarditem a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
  }
  */
  .deckcarditem .cardthumb img {
    max-width: 52px;
  }
  .cardsetting0 {
    margin: 0;
    font-size: 13px;
    text-align: center;
    /*height: 50px;*/
    width: 80px;
    z-index: 1;
  }
  input.cardnum {
    max-width: 20px;
    font-size: 13px;
    position: relative;
    z-index: 1;
  }
  .cardsetting1 {
    font-size: 13px;
    width: 90px;
  }
  #examplecategory1 {
    font-size: 13px;
    position: relative;
    z-index: 1;
  }
  .priceinput1_1 {
    display: none;
    position: relative;
    z-index: 1;
  }
  .priceinput1_2 {
    display: none;
    position: relative;
    z-index: 1;
  }
  .priceinput1_3 {
    display: none;
    position: relative;
    z-index: 1;
  }
  input.setprice {
    max-width: 65px;
  }
  #examplecategory5 {
    margin-top: 5px;
    z-index: 1;
  }
  /**/
  .cardsetting2 {
    font-size: 13px;
    width: 90px;
  }
  #examplecategory2 {
    font-size: 13px;
    position: relative;
    z-index: 1;
  }
  .stockinput2_1 {
    display: none;
    position: relative;
    z-index: 1;
  }
  .stockinput2_2 {
    display: none;
    position: relative;
    z-index: 1;
  }
  input.setstock {
    max-width: 65px;
  }
  .cardsetting3 {
    /*
    width: 80px;
    text-align: left;
    margin: 0;
    */
    width: 50%;
    text-align: right;
  }
  span.cardup {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    border-radius: 2px;
    text-align: center;
    position: relative;
    z-index: 1;
    transform: translate3d(0,0,0);
  }
  .cardup img {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }
  span.thumbnailbtn {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    border-radius: 2px;
    text-align: center;
    position: relative;
    z-index: 1;
    transform: translate3d(0,0,0);
  }
  .thumbnailbtn img {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }
  span.carddown {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    border-radius: 2px;
    text-align: center;
    position: relative;
    z-index: 1;
    transform: translate3d(0,0,0);
  }
  .carddown img {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }
  span.carddelete {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    border-radius: 2px;
    text-align: center;
    position: relative;
    z-index: 1;
    transform: translate3d(0,0,0);
  }
  .carddelete img {
    width: 15px;
    height: 15px;
    vertical-align: middle;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }
  /**/
  .deck_status {
    font-size: 14px;
  }
  .deckstatus_deckname {
    font-size: 14px;
  }
  span.deckcat {
    margin: 0 0 0 5px;
    padding: 3px 5px;
    border-radius: 2px;
    font-size: 11px;
    position: relative;
    z-index: 1;
  }
  span.deckcat:hover {
    opacity: 0.5;
  }
  .decksub {
    font-weight: bold;
    margin: 32px 0px 6px 0px;
    color: #fff;
    font-size: 15px;
    background-image: url(https://www.transparenttextures.com/patterns/bright-squares.png);
    background-color: #f1f1f1;
    border-radius: 2px;
    padding: 6px 8px;
  }
  .deckstatus_color {
    border-spacing: 0px;
    text-align: center;
  }
  td {
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  .td_master {
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    border-top: 1px solid #eee;
    background: #FAFAFA;
    padding: 4px 0 3px 0;
    font-size: 13px;
    width: 60px;
  }
  .deckcard_white {
    color: #393939;
    background-color: #F6D580;
    width: 50px;
    font-weight: bold;
    font-size: 15px;
    padding: 4px 0 2px 0;
  }
  .deckcard_blue {
    color: #393939;
    background-color: #6EB7DB;
    width: 50px;
    font-weight: bold;
    font-size: 15px;
    padding: 4px 0 2px 0;
  }
  .deckcard_black {
    color: #E3E3E3;
    background-color: #393939;
    width: 50px;
    font-weight: bold;
    font-size: 15px;
    padding: 4px 0 2px 0;
  }
  .deckcard_red {
    color: #393939;
    background-color: #D04255;
    width: 50px;
    font-weight: bold;
    font-size: 15px;
    padding: 4px 0 2px 0;
  }
  .deckcard_green {
    color: #393939;
    background-color: #3DB680;
    width: 50px;
    font-weight: bold;
    font-size: 15px;
    padding: 4px 0 2px 0;
  }
  .deckcard_transparent {
    color: #393939;
    background-color: #fafafa;
    width: 50px;
    font-weight: bold;
    font-size: 15px;
    padding: 4px 0 2px 0;
  }
  .deckcard_rainbow {
    color: #393939;
    background-color: #9D73BB;
    width: 50px;
    font-weight: bold;
    font-size: 15px;
    padding: 4px 0 2px 0;
  }
  .deckcard_9999 {
    color: #393939;
    width: 50px;
    font-weight: bold;
    font-size: 15px;
    padding: 4px 0 2px 0;
  }
  .trdeckcard_9999 {
    font-size: 12px;
    width: 60px;
  }
  .td_white {
    font-size: 12px;
    width: 60px;
  }
  .td_blue {
    font-size: 12px;
    width: 60px;
  }
  .td_black {
    font-size: 12px;
    width: 60px;
  }
  .td_red {
    font-size: 12px;
    width: 60px;
  }
  .td_green {
    font-size: 12px;
    width: 60px;
  }
  .td_transparent {
    font-size: 12px;
    width: 60px;
  }
  .td_rainbow {
    font-size: 12px;
    width: 60px;
  }
  .cardtype_master {
    display: inline-block;
    width: 178px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .cardtypemai_master {
    display: inline-block;
    width: 60px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    border: 1px solid #eee;
  }
  .card_type {
    display: inline-block;
    width: 178px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .cardtype_mai {
    display: inline-block;
    width: 60px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  .cardcost_master {
    display: inline-block;
    width: 65px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .cardcostmai_master {
    display: inline-block;
    width: 60px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    border: 1px solid #eee;
  }
  .card_cost {
    display: inline-block;
    width: 65px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .cardcost_mai {
    display: inline-block;
    width: 60px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  .deckzone_master {
    display: inline-block;
    width: 85px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .deckcardmai_master {
    display: inline-block;
    width: 45px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .deckcardmoney_master {
    display: inline-block;
    width: 85px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .deckcardmoney_week {
    display: inline-block;
    width: 85px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .deckcardmoney_same {
    display: inline-block;
    width: 85px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border: 1px solid #eee;
  }
  .deck_zone {
    display: inline-block;
    width: 85px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #FAFAFA;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .deck_kei {
    display: inline-block;
    width: 85px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    background: #ddd;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .deckcard_mai {
    display: inline-block;
    width: 45px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  .deckcard_money {
    display: inline-block;
    width: 85px;
    font-size: 12px;
    padding: 4px 0 3px 0;
    text-align: center;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  .dcek_times1 {
    display: inline-block;
    width: 60px;
    line-height: 26px;
    font-size: 12px;
    /*
    padding: 4px 0 3px 0;
    */
    text-align: center;
    background: #FAFAFA;
    border: 1px solid #eee;
  }
  .dcektime_days1 {
    display: inline-block;
    width: 120px;
    line-height: 26px;
    font-size: 12px;
    /*
    padding: 4px 0 3px 0;
    */
    text-align: center;
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  .dcek_times2 {
    display: inline-block;
    width: 60px;
    line-height: 26px;
    font-size: 12px;
    /*
    padding: 4px 0 3px 0;
    */
    text-align: center;
    background: #FAFAFA;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  .dcektime_days2 {
    display: inline-block;
    width: 120px;
    line-height: 26px;
    font-size: 12px;
    /*
    padding: 4px 0 3px 0;
    */
    text-align: center;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  /**/
  .packmove1 {
    display: flex;
    width: 100%;
    justify-content: flex-start;
  }
  .packmove1 a {
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
    flex-grow: 1;
    text-align: center;
    padding: 6px;
    margin: 0 5px;
    position: relative;
  }
  .packmove1 img {
    width: 12px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 34%;
    transform: translate(-50%,-50%);
  }
  /**/
  div#demo_modal {
    display: none;
  }
  button.decksave {
    display: table-cell;
    width: 100%;
    margin-right: 1%;
    background: white;
    border: 1px solid #8BA7D5;
    font-size: 12px;
    color: #555;
    padding: 6px;
    vertical-align: middle;
  }

  /*ログとメニュー*/
  #cardlog {
    width: 93%;
    height: 138px;
    font-size: 13px;
    border: 1px solid #ccc;
    overflow-y: scroll;
    background-color: white;
    margin: 5px 0 0 0;
    padding: 2px 5px 2px 5px;
  }
  .downmenu {
    width: none;
    height: none;
    background: none;
    position: none;
    bottom: none;
    z-index: none;
  }
  .downinner {
    width: 100%;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .menuflex {
    flex:1;
    font-size: 11px;
  }
}

/***
以下index_mypage.php
***/