/************************************
** レスポンシブページネーション
************************************/
.pagenation{
  list-style-type: none;
  padding-left: 0;
  margin: 70px 0;
}
 
.pagenation *{
    text-decoration: none !important;
}
 
.pagenation,
.pagenation li > * {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.pagenation li > * {
  font-weight: 300;
  padding-top: 1px;
  text-decoration:none;
  border: 1px solid #387ddc;
  border-left-width: 0;
  min-width:36px;
  min-height:36px;
}
.pagenation li > a span {
  color: #333 !important;
}
 
.pagenation li:not([class*="current"]) > a:hover {
  background-color: rgba(62, 52, 48,0.1);
}
 
.pagenation li:first-of-type > * {
  border-left-width: 1px;
}
 
.pagenation li.first > * > span,
.pagenation li.last > * > span,
.pagenation li.back > * > span,
.pagenation li.next > * > span {
  /* screen readers only */
  position: absolute;
  top: -9999px;
  left: -9999px;
}
 
.pagenation li.first > *::before,
.pagenation li.last > *::after,
.pagenation li.back > *::before,
.pagenation li.next > *::after {
  display: inline-block;
  font-family: Fontawesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translate(0, 0);
}
 
.pagenation li.first > *::before { content: "\00ab"; }
.pagenation li.last > *::after { content: "\00bb"; }
 
.pagenation li.back > *::before { content: "\003c"; }
.pagenation li.next > *::after { content: "\003e"; }
 
.pagenation li.current > * {
  background-color: #387ddc;
  cursor: default;
  pointer-events: none;
  color: #fff;
}
 
.pagenation > li:first-child > * {
  /*! border-bottom-left-radius: 4px; */
  /*! border-top-left-radius: 4px; */
}
 
.pagenation > li:last-child > * {
  /*! border-bottom-right-radius: 4px; */
  /*! border-top-right-radius: 4px; */
}
 
@media only screen and ( max-width: 680px ) {
  .pagenation li.first,
  .pagenation li.last {
    /* screen readers only */
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
 
  .pagenation li.previous > * { border-left-width: 1px; }
}
 
@media only screen and ( max-width: 500px ) {
  .pagenation li {
    /* screen readers only */
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
 
  .pagenation li.current,
  .pagenation li.current-prev,
  .pagenation li.current-next,
  .pagenation li.first,
  .pagenation li.last,
  .pagenation li.back,
  .pagenation li.next{
    position: initial;
    top: initial;
    left: initial;
  }
 
  .pagenation li.previous > * { border-left-width: 0; }
}
 
@media only screen and ( max-width: 400px ) {
  .pagenation li.first,
  .pagenation li.last {
    /* screen readers only */
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
 
  .pagenation li.back > * { border-left-width: 1px; }
}
 
@media only screen and ( max-width: 240px ) { /* For watches? */
  .pagenation li { width: 50%;}
 
  .pagenation li.current {
    order: 2;
    width: 100%;
    border-left-width: 1px;
  }
}
