.recruitment_form {
  padding: 10px 0px;
}

.post-content .modal-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0 ,0.6);
  z-index: 100;
  display: none;
}
.post-content .modal {
  position: absolute;
  top: 20%;
  left: 34%;
  background-color: #fff;
  padding: 20px 0 40px;
  border-radius: 3px;
  width: 450px;
  height: auto;
  text-align: center;
}

/* モーダル内アイコン */
.pack_name {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  border-bottom: 2px dashed #b0b0b0;
  padding-bottom: 5px;
  margin: 10px 0px;
}
.choose_card {
  width: calc(100% / 5 - 5px);
  font-size: 10px;
  margin-bottom: 10px;
  display: inline-block;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}
.choose_card[data-type="selected"] {
  filter: grayscale(1);
  opacity: 0.8;
}
.choose_card_wrapper {
  padding: 5px;
  margin-bottom: 8px;
}
.card_img_wrapper {
  position: relative;
  display: inline-block;
}
.card_img {
  display: block;
}
.card_img.on {
  filter: brightness(50%);
}
.card_num {
  position: absolute;
  z-index: 1;
  display: block;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(255 255 255 / 80%);
  color: #717493;
  font-size: 20px;
  padding: 0px 10px;
  font-weight: bold;
  line-height: 1.2;
}
.card_num .card_p {
  font-size: 12px;
  display: block;
}
.selected {
  display: none;
  position: absolute;
  padding: 2px;
  z-index: 1;
}
.selected[data-type="on"] {
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 10px;
}
.card_name {
  position: relative;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modal_sort_wrapper {
  padding: 10px 5px;
}

.input_wrapper {
  margin: 5px 0px;
}
.input_wrapper .input_label {
  display: inline-block;
  background: #534f4f;
  font-size: 10px;
  color: #fff;
  padding: 1px 15px;
  border-radius: 5px 5px 0px 0px;
}
.input_text {
  text-align: left;
  width: 100%;
  height: 30px;
  padding: 0px 2px;
}
.input_comment {
  width: 100%;
  max-width: 100%;
  padding: 5px 2px;
}

.card_select_wrapper {
  margin: 5px 0px;
}
.card_select_label {
  font-size: 13px;
  font-weight: bold;
  margin-left: 2px;
}
.trade_card_list {
  border-radius: 10px;
  text-align: center;
  padding: 10px;
  color: #a9a9a9;
  margin-left: 5px;
  margin-right: 5px;
  min-height: 121px;
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}
.trade_card_list img {
  margin: 0px 2px;
}
.trade_card_list[data-type="want"] {
  background: linear-gradient(180deg, #ffcdcd, #f0b1b1);
}
.trade_card_list[data-type="give"] {
  background: linear-gradient(180deg, #cfd5f4, #bdc5ee);
}
/* .trade_card_list::-webkit-scrollbar {
  height:10px;
}
.trade_card_list[data-type="want"]::-webkit-scrollbar-track {
  background:#ececec;
}
.trade_card_list[data-type="want"]::-webkit-scrollbar-thumb {
  background:#b7b6b5;
} */
.selected_card_wrapper {
  position: relative;
  width: calc(100% / 6 - 4px);
  margin: 3px 2px;
  cursor: pointer;
}
.selected_card_wrapper::before {
  content: "✕";
  position: absolute;
  top: 0px;
  right: 0px;
  background: #fff;
  border-radius: 25px;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 16px;
}
.trade_card_button_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
.trade_card_button {
  text-align: center;
  border-radius: 25px;
  color: #5b5858;
  line-height: 1;
  font-weight: bold;
  font-size: 15px;
  padding: 15px 0;
  cursor: pointer;
  margin-top: 10px;
  width: 49% !important;
  position: relative;
}
.trade_card_button[data-type="want"] {
  border: 1px solid #e55a5a;
  border-bottom: 2px solid #e55a5a;
}
.trade_card_button[data-type="give"] {
  border: 1px solid #5a68b6;
  border-bottom: 2px solid #5a68b6;
}

/*モーダル本体の指定 + モーダル外側の背景の指定*/
#modal-container1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,50%);
  padding: 40px 20px;
  overflow-y: scroll;
  /* overflow-x: scroll; */
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
  z-index: 999;
}

/*モーダル本体に「active」を付与した時のスタイル*/
#modal-container1[data-type="active"]{
  opacity: 1;
  visibility: visible;
  display: block !important;
}
/*モーダル枠の指定*/
.modal-body{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 600px;
  /* max-height: 500px; */
}
/*モーダルを閉じるボタンの指定*/
.modal-close{
  position: absolute;
  top: -5px;
  right: 5px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  float: left;
}
/*モーダル内のコンテンツの指定*/
.modal-content {
  background: #fff;
  text-align: left;
  overflow: scroll;
  height: 90vh;
  width: 600px;
  /* max-width: initial!important; */
}
.modal-content-inline {
  padding: 10px 10px 30px 10px;
}
.modal-header {
  font-weight: bold;
  padding: 5px;
  text-align: center;
  color: #fff;
  position: relative;
}
.modal-header[data-type="want"] {
  background: #e55a5a;
}
.modal-header[data-type="give"] {
  background: #5a68b6;
}
.modal-header[data-type="sort"] {
  background: #3e9c47;
}

/* 投稿ボタン系_S */
.trigger_button_container {
  text-align: center;
}
#fbbs_post_button_tw {
  background: linear-gradient(45deg, #1d9bf0, #58b8f9);
  border: 1px solid #0480d3;
  border-bottom: 2px solid #0480d3;
}
.creat_trigger {
  border: none;
  text-align: center;
  border-radius: 25px;
  border: 1px solid #FD6E42;
  border-bottom: 2px solid #FD6E42;
  color: #ffffff;
  line-height: 1;
  background: linear-gradient(45deg, #FD6E42, #FEA12D);
  font-weight: bold;
  font-size: 15px;
  padding: 15px 0;
  cursor: pointer;
  margin-top: 10px;
  width: 80% !important;
  position: relative;
}
#fbbs_post_button_tw:before {
  content: "\f099";
  font-family: 'FontAwesome';
  font-size: 26px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  display: block;
  line-height: 1;
  height: fit-content;
  left: 12px;
}
/* 投稿ボタン系_E */


.upload-group {
  display: none;
}
#upload_file label {
  border: 1px solid;
  width: 100%;
  text-align: center;
  border-radius: 2px;
  color: #ff7e22;
  padding: 5px 8px;
}
.for_img_preview {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
}
.selectedFile {
  cursor: pointer;
  width: calc(25% - 4px);
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #cccccc1f;
  height: calc(45vw* 0.618 / 2);
  max-height: calc(245px* 0.618 / 2);
}
.selectedFile .fa {
  position: absolute;
  right: 0px;
  top: 0px;
  color: darkslategray;
  font-size: 20px;
  background: #fff;
  border-radius: 20px;
  padding: 0px 1px;
}



/* コメントリスト_ヘッダー_S */
.pokepocke_comments_list li.comments_list_li {
  border-radius: 3px;
  margin-top: 2px;
  padding: 5px 0px;
  border: 1px solid #b8b8b8;
  margin-bottom: 5px;
}
.header_wrapper,
.header_wrapper2 {
  padding: 0px 7px;
  display: flex;
  align-items: center;
}
.header_wrapper2 {
  line-height: 1.3;
  margin-bottom: 3px;
}
.header_wrapper .com_id {
  font-size: 11px;
  font-weight: bold;
  color: #1f2021;
  margin-right: 2px;
}
.header_wrapper .com_name {
  font-weight: bold;
  color: #1f2021;
  font-size: 13px;
  text-align: left;
  display: inline-block;
  width: 60%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.header_wrapper2 .disp_id {
  font-weight: normal;
  color: #828282;
  font-size: 10px;
  text-align: left;
  margin-left: 5px;
}
.header_wrapper .com_date {
  margin-right: 5px;
  color: #7a91b1;
  font-size: 13px;
  width: 37%;
  text-align: right;
}
/* コメントリスト_ヘッダー_E */

/* コメントリスト_コンテンツ_S */
.content_wrapper .title {
  font-weight: bold;
  text-align: left;
  font-size: 15px;
  position: relative;
  padding-bottom: 0.4em;
  margin: 5px 0;
  padding-left: 0.6em;
  padding-top: 0.3em;
}
.content_wrapper .friend_code {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 7px;
  margin-bottom: 5px;
}
.content_wrapper .code_label {
  width: 30%;
  text-align: center;
  border: 1px solid #c6c6c6;
  border-radius: 5px 0px 0px 5px;
  background: #FEF6BB;
  color: #3d3d3d;
  font-weight: bold;
}
.content_wrapper .code_val {
  width: 70%;
  text-align: center;
  border-radius: 0px 5px 5px 0px;
  border-top: 1px solid #c6c6c6;
  border-right: 1px solid #c6c6c6;
  border-bottom: 1px solid #c6c6c6;
  font-size: 16px;
  font-weight: bold;
}
.code_val i {
  margin-left: 5px;
}
.post_card_h4 {
  padding: 0px 7px;
}
.post-content .pokepocke_comments_list .comments_list_li h4 {
  font-weight: bold;
  margin: 10px 0px 0px 3px;
}
/* .content_wrapper .info_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
} */
.info_wrapper .post_card_ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-items: center;
  border-radius: 10px;
  margin: 0px 1px;
  padding: 3px;
}
.info_wrapper .post_card_ul[data-visibility="hidden"] {
  max-height: 135px;
  overflow: hidden;
}
.info_wrapper .post_card_ul[data-visibility="visible"] {

}
.info_wrapper .post_card_ul[data-type="want_cards"] {
  background: linear-gradient(180deg, #ffcdcd, #f0b1b1);
}
.info_wrapper .post_card_ul[data-type="give_cards"] {
  background: linear-gradient(180deg, #cfd5f4, #bdc5ee);
}
.info_wrapper .post_card_ul li {
  width: calc(100% / 6 - 4px);
  margin: 4px 2px;
  font-size: 10px;
  text-align: center;
  line-height: 1.8;
  background: #fff;
  padding: 3px 3px 0px 3px;
  border-radius: 5px;
}
.info_wrapper .post_card_ul li .card_name {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.post_card_wrapper {
  position: relative;
  width: 100%;
}
.post_card_wrapper .post_card_rarity {
  position: absolute;
  bottom: 0px;
  background-color: #4d4d4db5;
  padding: 0px 5px;
  color: #fff;
  font-weight: bold;
}
.post_card_wrapper .more_read {
  position: absolute;
  bottom: -18px;
  left: calc(50% - 50px);
  font-size: 11px;
  width: 100px;
  text-align: center;
  background-color: #3d3d3dcc;
  border-radius: 25px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}
.content_wrapper .com_text {
  text-align: left;
  font-size: 12px;
  padding: 0px 7px;
  border-radius: 2px;
}
/* コメントリスト_コンテンツ_E */

/* コメントリスト_フッター_S */
.footer_wrapper {
  margin-top: 10px;
  padding: 0px 5px;
}
.good_btn_span {
  padding: 5px 10px;
  font-size: 12px;
  background-color: #fff;
  outline: none;
  border: 1px solid #a2a2a3;
  color: #a1a1a2;
  border-radius: 5px;
  cursor: pointer;
}
.good_btn_span.done, .good_btn_span:hover {
  color: #fff;
  background-color: #ff7e22;
  font-weight: bold;
  border: 1px solid #ff7e22;
}
.warn_btn_span {
  padding: 2px 10px;
  font-size: 12px;
  background-color: #f9f9f9;
  outline: none;
  border: 1px solid #a2a2a3;
  border-radius: 3px;
  color: #a2a2a3;
  float: right;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25px;
}
.reply_btn_span {
  padding: 2px 10px;
  font-size: 12px;
  /* background-color: #f9f9f9; */
  outline: none;
  border: 1px solid #4682b4;
  border-radius: 3px;
  color: #4682b4;
  float: right;
  cursor: pointer;
  margin-left: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25px;
}
.r_footer_wrapper {
  height: 20px;
  margin-top: 6px;
  margin-bottom: 10px;
}
.r_footer_wrapper .reply {
  float: right;
  border-radius: 3px !important;
  padding: 1px 4px !important;
  bottom: 3px;
  font-size: 12px;
  border: 1px solid #4682b4;
  padding: 4px 4px;
  color: #fff;
  width: 50px;
  background-color: #4682b4;
  cursor: pointer;
}
.show_reply {
  margin-top: 10px;
  outline: none;
  width: 100%;
  background: #fff;
  padding: 6px;
  margin-bottom: 5px;
  color: #4682b4;
  font-size: 12px;
  line-height: 28px;
  cursor: pointer;
  border: 2px solid #4682b4!important;
  border-radius: 3px;
  border: none;
  font-weight: bold;
}
.input_r_name {
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.8rem;
  box-shadow: none;
  border: 1px solid #b8b8b8;
  box-sizing: border-box;
  width: 100%;
  padding: 1px 5px;
  -webkit-appearance: none;
  font-weight: normal;
}
.input_r_comment {
  margin-top: 5px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.8rem;
  box-shadow: none;
  border: 1px solid #b8b8b8;
  box-sizing: border-box;
  width: 100%;
  min-width: 100%;
  resize: none;
  padding: 3px 5px;
  -webkit-appearance: none;
  font-weight: normal;
}
/* コメントリスト_フッター_E */

/* コメントリスト_返信_S */
.comment_reply_ul li {
  border-radius: 3px;
  margin-top: 2px;
  padding: 5px 7px;
  border: none;
  margin-bottom: 5px;
}
.content_wrapper .com_text2 {
  text-align: left;
  font-size: 13px;
  padding: 0px 10px;
  min-height: 40px;
  margin-top: 10px;
}
.footer_wrapper hr {
  border: 1px dashed #a1b3cb!important;
}
/* コメントリスト_返信_E */

/* ローディングモーダル_S */
#modal-img-view {
  text-align: center;
  width: 100%;
  height: 100%;
  margin: 0;
  position: fixed;
  display: none;
  z-index: 100000000;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
}
#modal_image_inline{
  width: 100%;
  height: 100%;
  padding: 45px 0;
  max-width: 480px;
  margin: 0 auto;
}
#modal_image{
  position: absolute;
  max-width: 96% !important;
  max-height: 85% !important;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
#modal-overlay {
  z-index: 1 ;
  display: none ;
  position: fixed ;
  top: 0 ;
  left: 0 ;
  width: 100% ;
  height: 120% ;
  background-color: rgba( 0,0,0, 0.75 ) ;
}
#image_close {
  position: absolute;
  right: 20px;
  top: 0;
  color: #fff;
  font-size: 35px;
}
#modal-overlay {
  z-index: 1 ;
  display: none ;
  position: fixed ;
  top: 0 ;
  left: 0 ;
  width: 100% ;
  height: 120% ;
  background-color: rgba( 0,0,0, 0.75 ) ;
}
#modal-content {
  text-align:center;
  width: 50% ;
  max-width:320px;
  margin: 0 ;
  padding: 10px 20px ;
  border-radius:6px;
  background: #fff ;
  position: fixed ;
  display:none;
  z-index: 2147483999 ;
}
/* ローディングモーダル_E */

/* 投稿のソート_S */
.post-content ul.select_sort {
  display: flex;
  justify-content: center;
  align-items: center;
}
.post-content ul.select_sort li.trade_card_button {
  text-align: center;
  font-size: 12px;
  width: calc(100% / 3 - 4px);
  margin: 0px 2px;
  padding: 2px 0;
  border-radius: 2px;
}
.post-content ul.select_sort li.trade_card_button[data-type="sort_want"] {
  border: 2px solid #f7a6a6;
}
.post-content ul.select_sort li.trade_card_button[data-type="sort_give"] {
  border: 2px solid #8593de;
}
.post-content ul.select_sort li.trade_card_button[data-type="sort_reset"] {
  border: 2px solid #b5b5b5;
}

.select_sort_space {
  border-radius: 10px;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px 0px;
  margin-top: 10px;
  margin-bottom: 10px;
  min-height: 93px;
}
.select_sort_space .selected_card_wrapper {
  width: calc(100% / 8 - 4px);
}
.select_sort_space[data-type="sort_want"] {
  border: 2px dashed #f0b1b1;
}
.select_sort_space[data-type="sort_give"] {
  border: 2px dashed #cfd5f4;
  margin-bottom: 0px;
}
.select_sort_space[data-disp="off"] {

}
.select_sort_space[data-disp="off"]::before {
  content: "ここにカードアイコンが追加されます";
  width: 100%;
  text-align: center;
  font-weight: bold;
  color: #939393;
}
.select_sort_space[data-disp="on"] {

}
.sort_remarks {
  font-size: 12px;
  font-weight: bold;
  color: #878787;
}
/* 投稿のソート_E */

/* モーダル内のソート部分_S */
.modal_sort_txt {
  margin-bottom: 10px;
}
.modal_sort_txt div,
.modal_sort_pack div,
.modal_sort_rarity div {
  font-weight: bold;
  font-size: 12px;
}
.post-content .modal-content-inline .modal_sort_pack ul,
.post-content .modal-content-inline .modal_sort_rarity ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-items: center;
}
.post-content .modal-content-inline .modal_sort_pack ul li,
.post-content .modal-content-inline .modal_sort_rarity ul li {
  width: calc(100% / 4 - 4px);
  margin: 2px;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}
.post-content .modal-content-inline .modal_sort_pack ul li[data-checked="checked"],
.post-content .modal-content-inline .modal_sort_rarity ul li[data-checked="checked"] {
  border: 2px solid #f37a62;
}
.post-content .modal-content-inline .modal_sort_pack ul li[data-checked="unchecked"],
.post-content .modal-content-inline .modal_sort_rarity ul li[data-checked="unchecked"] {
  border: 2px solid #e0e0e0;
  color: #949393;
}
/* モーダル内のソート部分_E */

@media (max-width:480px) {
  #modal-container1 {
    padding: 55px 10px 0px 10px;
  }
  .modal-content {
    height: 75vh;
    max-width: 100% !important;
    width: 100%;
  }
  .modal-content-inline {
    padding: 10px 0px 30px 0px;
  }
  .modal_sort_wrapper {
    padding: 0px 5px 10px 5px;
  }

  .post-content .modal-content-inline .modal_sort_pack ul li,
  .post-content .modal-content-inline .modal_sort_rarity ul li {
    width: calc(100% / 4 - 8px);
  }

  .card_num {
    font-size: 17px;
    top: 75%;
  }
  .card_num .card_p {
    font-size: 10px;
  }

  .header_wrapper .com_name {
    font-size: 12px;
  }
  .header_wrapper .com_date {
    font-size: 10px;
  }
  .info_wrapper .post_card_ul {
    padding: 3px 1px;
  }
  .info_wrapper .post_card_ul li {
    width: calc(100% / 6 - 10px);
  }
  .info_wrapper .post_card_ul li .card_name {
    padding: 3px 2px 0px 2px;
    letter-spacing: -1px;
  }
  .info_wrapper .post_card_ul[data-visibility="hidden"] {
    max-height: 100px;
  }
}
