
.list-counter{
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
.list-counter .list-counter-body{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  background-color: rgba(250,250,250,.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 100px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  font-size: var(--fs-small);
  pointer-events: none;
}
.list-counter .list-counter-body .list-counter-separate-border{
  width: 80%;
  border-color: rgba(0, 0, 0, 0.1);

}

#voice .posts-count{
  margin-top: 40px;
  text-align: center;
}
#container{
    width: 100%;
    padding-bottom: 120px;
}
#voice .voice-list{
  width: calc(100% - 20px);
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 75px clamp(0px, 4.2vw, 50px);
  flex-wrap: wrap;
}
#voice .voice-list:first-child{
  margin-top: 80px;
}

#voice .voice-list .item {
  width: 20%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  z-index: 1;
}
#voice .voice-list .item a{
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}
#voice .voice-list .item .item-img{
  width: 100%;
  display: flex;
  justify-content: center;
}
#voice .voice-list .item .item-img .msk_fukidashi{
  width: 96%;
  height: auto;
  aspect-ratio: 14 / 15;
  mask-image: url(/wp/wp-content/themes/wp-templ/assets/img/voice/fukidashi.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100%;
  -webkit-mask-image: url(/wp/wp-content/themes/wp-templ/assets/img/voice/fukidashi.svg);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100%;
  transition-duration: .5s;
  border-radius: 10px;
}
#voice .voice-list .item .item-img .msk_fukidashi img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition-duration: 0.3s;
}
#voice .voice-list .item:hover .item-img .msk_fukidashi img{
  transform: scale(1.1);
}
#voice .voice-list .item .item-info{
  display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
  text-align: center;
  margin-top: 10px;
}
#voice .voice-list .item .item-info .item-title{
  color: #6c6608;
  line-height: 1.2;
  overflow: hidden;
  text-align: left;
  margin-right: var(--mr-adjust);
}
#voice .voice-list .item .item-info .item-loca{
  margin-top: 10px;
}

#voice .separate-border {
  width: 100%;
  position: relative;
  top: 60px;
  height: 0;
}
#voice .separate-border::after{
  content: "";
  position: absolute;
  width: 100px;
  left: 100%;
  border-bottom: 1px solid #6c6608;
  z-index: 1;
}
#voice .separate-count.first{
  width: 100%;
  padding: 0 20px;
  margin: 30px auto 0;
}
#voice .separate-count.first p{
  max-width: 1200px;
  margin: auto;
  border-bottom: 1px solid rgba(108, 102, 8, 0.3);
  text-align: center;
  padding-bottom: 10px;
}
#voice .voice-list .separate-count{
  width: 100%;
  position: sticky;
  top: 200px;
  height: 0;
}
#voice .voice-list .separate-count p {
  width: 100px;
    height: 5em;
    position: absolute;
    left: 100%;
    top: -2em;
    margin: auto;
    text-align: right;
    background: linear-gradient(to bottom,rgba(255,255,255,0 ) 0, rgba(255,255,255,1) 2em);
    z-index: -1;
    display: flex;
    justify-content: end;
    align-items: end;
}

#voice .more-btn{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc(100% - 20px);
  max-width: 550px;
  height: 65px;
  margin: 170px auto 0;
  border: 1px solid #6c6609;
  gap: 10px;
  transition-duration: .3s;
  cursor: pointer;
  gap: 10px;
}
#voice .more-btn:hover{
  background-color: #6c6609;
  color: #fff;
}

#voice .more-btn .btn-txt{
  color: #6c6608;
  font-weight: bold;
  line-height: 1em;
  margin-top: 5px;
}
#voice .more-btn .btn-txt p{
  margin-right: var(--mr-adjust);
}
#voice .more-btn:hover  .btn-txt{
  color: #fff;
}
#voice .more-btn .view-num{  
    line-height: 1;
}
@media (max-width: 767px){
  .list-counter{
    position: sticky;
    width: 100%;
    top: calc(100vh - 125px);
    transform: initial;
    bottom: 40px;
    left: 0;

    display: flex;
    justify-content: center;
  }
  .list-counter .list-counter-body{
    width: 80%;
    gap: 3px;
    aspect-ratio: initial;
    flex-direction: row;
    border-radius: initial;
    position: relative;
    font-size: var(--fs-txt-s);
    border: 1px solid rgba(0,0,0,0.1);
    top: 65px;
    right: 0;
  }
  #voice .voice-list {
    gap: 36px 10px;
  }
  #voice .voice-list:first-child{
    margin-top: 84px;
  }
  #voice .voice-list .item {
    width: 40%;
    display: flex;
    flex-grow: 1;
  }
  #voice .voice-list .item .item-info .item-title{
    font-size: var(--fs-txt-m);
  }
  
  #voice .voice-list .item .item-img .msk_fukidashi{
    width: 92%;
  }
  #voice .more-btn{
    margin-top : 80px;
  }
}
