@charset 'utf-8';

.pagination {
      margin-top: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media (min-width: 768px) {/*幅768px以上で適用されるスタイル*/
    .pagination {
      margin-top: 50px;
    }
}

.pagination > li {
  display: inline;
}
.pagination > strong,
.pagination > .current,
.pagination > a {
    margin-left: 28px;
    font-size: 1.6rem;

}
.pagination > :first-child:not(strong) {
  margin-left: 0;
  margin-right: 32px;
  font-size:0;
}
.pagination > :first-child:not(strong):before {
    content: '';
    width: 9px;
    height: 9px;
    display: block;
    border-right: solid 1px #000;
    border-bottom: solid 1px #000;
    -webkit-transform: rotate(135deg) translateX(0);
    transform: rotate(135deg) translateX(0);
}
.pagination > :last-child:not(strong) {
  margin-left: 50px;
  font-size:0;
}
.pagination > :last-child:not(strong):before {
    content: '';
    width: 9px;
    height: 9px;
    display: block;
    border-right: solid 1px #000;
    border-bottom: solid 1px #000;
    -webkit-transform: rotate(-45deg) translateX(0);
    transform: rotate(-45deg) translateX(0);
}
.pagination > a:hover,
.pagination > a:focus {
  filter: alpha(opacity=80);
  opacity: 0.8;
}
.pagination > strong,
.pagination > .current {
  filter: alpha(opacity=80);
  opacity: 0.8;
}
.pager {
  padding-left: 0;
  margin: 20px 0;
  text-align: center;
  list-style: none;
}
.pager li {
  display: inline;
}
.pager li.disabled {
  display: none;
}
.pager li > a,
.pager li > span {
  display: inline-block;
  padding: 5px 14px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
}
.pager li > a:hover,
.pager li > a:focus {
  text-decoration: none;
  background-color: #eee;
}
.pager .next > a,
.pager .next > span {
  float: right;
}
.pager .previous > a,
.pager .previous > span {
  float: left;
}
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {

  cursor: not-allowed;
  background-color: #fff;
}
