@charset "UTF-8";
/* CSS Document */
.vote_list {
  position: relative;
  font-size: 1.4em;
  width: 100%;
  max-width: 1200px;
  padding-top: 2rem;
  margin: 0 auto;
  background-color: #fff;
  padding: 4rem;
  filter: drop-shadow(7px 7px 7px #777);
}
@media (max-width: 375px) {
  .vote_list {
    padding: 10px;
  }
}

.vote_count {
  background: #abdbe3;
  color: #605b32;
  font-weight: 500;
  position: sticky;
  top: 50px;
  right: 0;
  padding: 0px 10px 3px 30px;
  display: block;
  z-index: 1;
  margin: 0 0 0 auto;
  width: 260px;
  transform: translateX(4rem);
}
@media (max-width: 768px) {
  .vote_count {
    top: 90px;
  }
}
@media (max-width: 375px) {
  .vote_count {
    transform: translateX(1rem);
  }
}

.vote_count strong {
  font-size: 1.6em;
  margin-right: 5px;
}

.vote_list ul {
  padding: 0;
}

.vote_list ul li {
  list-style: none;
  border-bottom: 1px solid #605b32;
  font-size: 1.8rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  flex-flow: row wrap;
}
.vote_list ul li span {
  font-size: 1.3rem;
  /* background-color: #afa766; */
  border-radius: 10px;
  padding: 3px 1rem;
  /* color: #fff; */
  border: 1px solid;
  margin-left: 6rem;
  height: 25px;
  width: 200px;
  text-align: center;
  margin-right: 120px;
  letter-spacing: 0;
}
@media (max-width: 375px) {
  .vote_list ul li span {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.vote_btn,
.vote_detail,
.vote_photo {
  transition: all 0.5s 0s ease;
}

.vote_btn:hover,
.vote_photo:hover,
.vote_detail:hover {
  opacity: 0.8;
}

.wpcf7-form {
  width: 100%;
  max-width: 530px;
  display: block;
  margin: 40px auto 0;
}

.wpcf7-form table {
  margin-bottom: 20px;
  border-collapse: separate;
  border-spacing: 1rem;
}

.wpcf7-form table th {
  width: 15%;
  font-size: 1.4rem;
  font-weight: normal;
  letter-spacing: 0.3rem;
}

.wpcf7-form table td {
  width: 80%;
}

.wpcf7-form select,
.wpcf7-form input[type=text] {
  width: 100%;
  padding: 5px;
  border: #605b32 solid 1px;
  border-radius: 0;
}

.wpcf7-form input[type=submit] {
  -webkit-appearance: none;
  vertical-align: middle;
  border: solid 2px #605b32;
  background: #605b32;
  color: #fff;
  font-weight: bold;
  width: 200px;
  border-radius: 0;
  margin: 6.5rem auto 0;
  display: block;
  padding: 8px;
  cursor: pointer;
}

.wpcf7-form input[type=submit]:hover,
.wpcf7-form input[type=submit]:active {
  background: #fff;
  color: #605b32;
}

textarea {
  width: 100%;
}

.vote_photo {
  position: relative;
  background-color: #f7f2ed;
  outline: 0.5px solid #831f1f;
  outline-offset: -8px;
  width: 100%;
  min-height: 500px;
  writing-mode: vertical-rl;
  padding: 2rem;
  display: flex;
  flex-flow: column;
  justify-content: center;
  margin-bottom: 70px;
}

.vote_photo p {
  font-size: 4rem;
  color: #605b32;
  margin: 0;
  padding: 0 0 3rem;
  font-family: vdl-pengentle, sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  font-feature-settings: normal !important;
  /* font-family: hot-kaishokk,sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important; */
}

.vote_photo p:nth-of-type(1) {
  align-self: flex-start;
}

.vote_photo p:nth-of-type(2) {
  align-self: center;
}

.vote_photo p:nth-of-type(3) {
  align-self: flex-end;
}

.vote_photo2 {
  position: relative;
}

.vote_photo2::after {
  content: attr(data-comment);
  background: #d86060 url(../images/hukidashi.webp) left center no-repeat;
  border-radius: 20px;
  padding: 5px 10px 5px 45px;
  color: #fff;
  display: block;
  position: absolute;
  top: 5px;
  right: 140px;
  font-size: 20px;
  font-weight: normal;
  line-height: 1;
  background-position-x: 20%;
  writing-mode: initial;
}
@media (max-width: 375px) {
  .vote_photo2::after {
    top: 4px;
    right: 220px;
  }
}

.vote_photo2[data-comment="0"]::after {
  display: none;
}

.vote_list ul li p {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex: 1;
  padding-left: 20px;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .vote_list ul li p {
    flex: initial;
    width: calc(100% - 20px);
  }
}

.vote_list ul li p strong {
  width: 100px;
  color: #605b32;
}

.vote_buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  flex-flow: column;
}

.vote_detail {
  display: block;
  cursor: pointer;
  width: 100%;
  background-image: url(../images/detail_btn.webp);
  background-size: contain;
  background-repeat: no-repeat;
  height: 40px;
  width: 130px;
}
@media (max-width: 375px) {
  .vote_detail {
    width: 100%;
    background-position: center;
  }
}

.comment {
  height: 4rem;
  overflow: hidden;
  position: relative;
}

.comment::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 50%;
  bottom: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0), #ffffff);
}

/*.vote_detail{
	margin-right: .5rem;
}*/
.vote_btn {
  background-image: url(../images/vote_btn.webp);
  flex: initial !important;
  width: 20px;
  height: 20px;
}

.vote_target .vote_btn {
  background-image: url(../images/vote_off_btn.webp);
}

/* .vote_btn::after {
	content: "投票";
}
.vote_target .vote_btn::after {
	content: "投票をやめる";
} */
.none {
  display: none;
}

@media (max-width: 768px) {
  .midashi {
    font-size: 32px;
  }
  .vote_count {
    z-index: 1;
  }
  .vote_list ul {
    padding: 0 20px;
  }
  .vote_list ul li {
    margin: 20px auto;
    justify-content: end;
  }
  .wpcf7 th {
    white-space: nowrap;
    padding-right: 6px;
  }
  .wpcf7 td {
    padding: 10px 2px;
  }
  .wpcf7 td input {
    width: 100%;
  }
}
@media (max-width: 540px) {
  .vote_list ul li {
    width: 100%;
    margin: 20px auto;
  }
}/*# sourceMappingURL=vote.css.map */