/* --------------------------------------------------------------------------
PCサイズ基準
-------------------------------------------------------------------------- */
.survey_wrapper {
    border: 1px #c6dde6 solid;
    padding: 5px 10px;
    margin-bottom: 15px;
}

.survey_wrapper .end_info {
    color: #FF0000;
    display: none;
}

.survey_wrapper .question {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 15px 0 5px;
    color: #fe5748;
    border-radius: 5px;
    line-height: 1.3;
}

.post-content .all_num {
    display: flex;
    justify-content: center;
    font-weight: bold;
    font-size: 15px;
}

.survey_wrapper .after24h_info {
    color: #FF0000;
    display: none;
    text-align: center;
}

.survey_wrapper li {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.category-pazudora .survey_wrapper p {
    margin-bottom: 12px;
}

.survey_wrapper .checkbox_wrapper {
    width: 10%;
    float: left;
    text-align: center;
    margin-right: 10px;
    box-sizing: border-box;
}

.survey_wrapper .vote_btn_wrapper {
    margin: 15px;
    display: block;
    text-align: center;
}

.survey_wrapper .vote_btn {
    height: 30px;
    width: 50%;
    color: #FFF;
    font-size: 15px;
    font-weight: bold;
    border-radius: 40px;
    outline: none;
    border: none;
    background: #ff7064 ;
    height: 38px;
    width: 190px;
    color: #FFF;
    transition: .2s;
}

.survey_wrapper .vote_btn:hover {
  opacity: .8;
}

.label_box {
    width: 7%;
    margin-right: 5px;
}

.survey_wrapper .answer_wrapper {
    width: 93%;
    display: flex;
    position: relative;
    border-radius: 5px;
    box-sizing: border-box;
}

.result_box {
  background: #e5eeef;
}

.question_and_result_bar {
    width: 82%;
}

.question_and_percent {
    display: flex;
    justify-content: space-between;
    line-height: 1.5;
    font-size: 14px;
}

.vote_percent {
  font-size: 12px;
  display: flex;
  align-items: end;
  font-weight: bold;
}

.survey_wrapper .vote_num {
  display: flex;
  width: 18%;
  font-size: 16px;
  font-weight: bold;
  padding-left: 8px;
  align-items: center;
  margin-top: 5px;
  justify-content: end;
}

.mobile .survey_wrapper .vote_num {
    font-size: 13px;
}

.survey_wrapper .result_bar {
  height: 10px;
  background: #ff7064;
  color: #fff;
}

.survey_wrapper .answer_text {
    font-weight: bold;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* モーダル */
.survey_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;を追加してください */
    display: none;
}

.survey_modal {
    position: absolute;
    top: 20%;
    left: 34%;
    background-color: #fff;
    padding: 20px 0 40px;
    border-radius: 10px;
    width: 450px;
    height: auto;
    text-align: center;
}

@media (max-width:414px){
  .survey_modal {
      left: 10%;
      padding: 15px 0 20px;
      width: 300px;
  }
}

/*
A , B {～} A要素とB要素に「～」が反映。
A B {～} A要素の中のB要素に「～」が反映。
A.B {～} class="B"が付いたA要素のみに「～」が反映。
A .B {～} A要素の中の「class="B"が付いた要素」のみに「～」が反映。
A B.C {～} A要素の中の「class="C"が付いたB要素」のみに「～」が反映。
*/

/* チェックボックスのCSS */
input[type=checkbox]
{
    display: none;
}

.survey_wrapper label.check_css {
    margin: 0;
}

.fab {
  display: inline-block;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 20px;
}
.fa-twitter:before{
  vertical-align: middle;
}

.survey_wrapper .tweet_check + label:hover {
  opacity: .8;
}

.survey_wrapper .tweet_check + label.check_css:after{
  border-color: #fff;
  border: 2px solid #ccc;
}

.check_css {
    margin-bottom: 22px;
    -webkit-transition: background-color 0.2s linear;
    transition: background-color 0.2s linear;
    position: relative;
    display: inline-block;
    padding: 0px 0 0 32px;
    vertical-align: middle;
    cursor: pointer;
}

.check_css:hover:after
{
    border-color: #ff7064;
}

.check_css:after {
    -webkit-transition: border-color 0.2s linear;
    transition: border-color 0.2s linear;
    position: absolute;
    top: 6px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 6px;
    content: '';
}

.twitter_check:after {
    right: initial;
    top: 0;
    left: 12px;
    width: 17px;
    height: 17px;
}

.check_css:before
{
    -webkit-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
    position: absolute;
    top: 50%;
    left: 12px;
    display: block;
    margin-top: -7px;
    width: 5px;
    height: 12px;
    border-right: 3px solid #ff7064;
    border-bottom: 3px solid #ff7064;
    content: '';
    opacity: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.twitter_check:before {
    margin-top: -7px;
    width: 3px;
    height: 9px;
    left: 20px;
}

input[type=checkbox]:checked + .check_css:before
{
    opacity: 1;
    z-index: 1;
}

input[type=checkbox]:checked + .check_css.twitter_check:before
{
  border-right: 3px solid #1c9ce8;
  border-bottom: 3px solid #1c9ce8;
}


.fa-twitter:before {
  display: none;
}

.survey_wrapper .tweet_check + label {
  margin: 10px auto;
  border-radius: 20px;
  padding: 10px 8px 10px 40px;
  display: block;
  font-size: 14px;
  font-weight: bold;
  background: transparent;
  color: #000;
  text-align: left;
  width: fit-content;
}

.body-animation .survey_wrapper .tweet_check + label {
  color: #fafafa;
}

.post-content .all_num {
  margin-bottom: 15px
}


/* --------------------------------------------------------------------------
アニメカテゴリー
-------------------------------------------------------------------------- */
.body-animation .survey_wrapper {
  border: none;
  background: #26353e;
}

.body-animation .post-content .all_num {
  color: #fafafa;
}

.body-animation .survey_wrapper .answer_text {
  color: #fafafa;
}

.body-animation .survey_wrapper .vote_num {
  color: #fafafa;
}

.body-animation .survey_wrapper .answer_text {
  color: #fafafa;
}

.body-animation .survey_wrapper .vote_btn {
  background: #50b2b1 ;
}

.body-animation .result_box {
  background: #7f7f7f;
}

.body-animation .survey_wrapper .question {
  color: #fafafa;
}

.body-animation .check_css:after {
  width: 25px;
  height: 25px;
  border-radius: 5px;
  background: #fafafa;
  border: none;
}

.body-animation .check_css:after {

}

.body-animation .survey_wrapper .tweet_check + label.check_css:before {
  border-right: 3px solid #29a3f4;
  border-bottom: 3px solid #29a3f4;
}

.body-animation .survey_wrapper .tweet_check + label.check_css:before {
  border-right: 3px solid #29a3f4;
  border-bottom: 3px solid #29a3f4;
}

.body-animation .survey_wrapper .tweet_check + label.check_css:after {
  border-color: #fff;
  width: 17px;
  height: 17px;
}

.body-animation .vote_percent {
  color: #fafafa;
}

.body-animation .survey_wrapper .after24h_info {
  color: #fd4949;
}

/*iPhone678用アンケートのメディアクエリ*/
@media (max-width: 414px){
    .label_box {
        width: 10%;
    }
    .survey_wrapper .answer_wrapper {
        width: 90%;
    }
    .survey_wrapper .vote_num {
        font-size: 15px;
        margin-top: 2px;
    }
}

/*iPhone5用アンケートのメディアクエリ*/
@media (max-width: 320px){

}



.question_parent_box {
  position: relative;
}

.question_layer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: #676767;
  cursor: pointer;
  margin: auto;
  font-weight: bold;
  background: #ffffffa0;
  width: 100%;
  z-index: 1;
}

.body-animation .question_layer {
  background: #26353ea0;
  color: #fff;
}

.list_hide_box {
  display: none;
}