/* =============== アーカイブページ CSS =============== */
#page-archive {
  position: relative;
  padding-bottom: 90px;
}
#page-archive .sec-inner {
  position: relative;
  z-index: 1;
}
#page-archive .sec-title-wrap {
  position: relative;
  text-align: center;
}
#page-archive .sec-title-wrap h2::before {
  content: none;
}
#page-archive .sec-read-txt p {
  text-align: center;
}
#page-archive .sec-title-wrap .script-img {
  position: absolute;
  top: -60px;
  right: -20%;
  -webkit-transform: rotate(-10deg);
  -ms-transform: rotate(-10deg);
  transform: rotate(-10deg);
}
#page-archive .article-flex {
  -webkit-box-pack: start;
  justify-content: flex-start;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-wrap: wrap;
}
#page-archive .article-item {
  width: calc(33.3% - 20px);
  margin-bottom: 60px;
  margin-right: 30px;
}
#page-archive .article-item:nth-child(3n){
  margin-right: 0;
}
#page-archive .article-txt-wrap .article-title {
  height: 44px;
}
#page-archive .rotate-img {
  width: 270px;
  position: fixed;
  top: auto;
  right: auto;
  bottom: -120px;
  left: -120px;
}

/* Pizzaメニューアーカイブ用CSS */
.page-template-pizza-menu-archive .pizza-menu-item {
  display: block;
  position: relative;
}
.page-template-pizza-menu-archive .page-slide-menu-img {
  position: relative;
  margin-bottom: 20px;
  background-repeat: no-repeat;
  background-size: cover;
  background-origin: center;
  width: 100%;
  height: 0;
  padding-bottom: 64.25%;
}
.page-template-pizza-menu-archive .slide-menu-txt-wrap .menu-name {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  color: #1a1a1a;
  margin-bottom: 10px;
}
.page-template-pizza-menu-archive .menu-material {
  color: #1a1a1a;
  font-size: 1.4rem;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-template-pizza-menu-archive .menu-price {
  color: #1a1a1a;
  font-size: 1.2rem;
}

/* ページネーション */
.sec-wrap .wp-pagenavi {
  clear: none;
  font-size: 1.4rem;
  text-align: center;
  display: block;
  width: 100%;
  margin-top: 40px;
}
.sec-wrap .wp-pagenavi a,
.sec-wrap .wp-pagenavi span {
  text-decoration: none;
  border: 0;
  padding: 16px 21px;
  margin: 2px;
  border-radius: 50%;
}
.sec-wrap .wp-pagenavi span.current {
  font-weight: 400;
  border: 1px solid #1a1a1a;
}
/* .sec-wrap .wp-pagenavi .nextpostslink {
  padding: 0;
} */
.sec-wrap .wp-pagenavi a,
.sec-wrap .wp-pagenavi span {
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
}
.sec-wrap .wp-pagenavi a:hover,
.sec-wrap .wp-pagenavi span:hover {
  color: #962427;
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
}

.more-btn-wrap.error {
  margin-top: 60px;
  text-align: center;
}

@media screen and (max-width: 768px){
  /* =============== アーカイブページ CSS =============== */
  .sec-wrap.first {
    padding-top: 130px;
  }
  #page-archive .article-item {
    width: 100%;
    margin-right: 0;
  }
  #page-archive .sec-title-wrap .script-img {
    width: 120px;
    top: -40px;
    right: -4%;
  }
  #page-archive .rotate-img {
    width: 160px;
    bottom: -70px;
    left: -70px;
  }

  /* ページネーション */
  .sec-wrap .wp-pagenavi a,
  .sec-wrap .wp-pagenavi span {
    text-decoration: none;
    border: 0;
    padding: 8px 14px;
    margin: 2px;
    border-radius: 50%;
  }
}
