#main__title {
  position: relative;
  padding: 50px 0;
  background-image: url("../images/common/main-title-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
#main__title .main__title__bg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
}
#main__title .container { position: relative; }
#main__title .title {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
#main__title .title h1 { color: #fff; }
@media screen and (max-width: 991px){
}

/**
 * custom post taxonomy type1
 */
.custom__posts__tp1 .col .posts__list__frm__content .posts__image img { object-fit: cover; }
.custom__posts__tp1 .col .posts__list__frm__content {
    width: 48%;
    margin-bottom: 30px;
    margin-right: 4%;
    box-shadow: 0 0 3px #ddd;
}
.custom__posts__tp1  .col .posts__list__frm__content .posts__image .image__bg {
  height: 0;
  width: 0;
}
.custom__posts__tp1 .col .posts__list__frm__content .posts__detail { position: relative; }
.custom__posts__tp1 .col .posts__list__frm__content .posts__detail .posts__title,
.custom__posts__tp1 .col .posts__list__frm__content .posts__detail .posts__description { color: #333; }
.custom__posts__tp1 .col .posts__list__frm__content .posts__detail .posts__date,
.custom__posts__tp1 .col .posts__list__frm__content .posts__detail .posts__view { display: none; }
.custom__posts__tp1 .col .posts__list__frm__content .posts__detail .posts__title h2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 20px;
}
@media screen and (max-width: 991px){
  .custom__posts__tp1 .col .flex .posts__list__frm__content {
    margin-right: 0;
    margin-bottom: 10px;
    padding-bottom: 10px;
    width: 100%;
    box-shadow: none;
    border-bottom: solid 1px #eee;
  }
  .custom__posts__tp1 .col .posts__list__frm__content .posts__image {
    margin-right: 5%;
    width: 30%;
  }
  .custom__posts__tp1 .col .posts__list__frm__content .posts__image img { height: 100px; }
  .custom__posts__tp1 .col .posts__list__frm__content .posts__detail {
    padding: 0;
    width: 65%;
  }
  .custom__posts__tp1 .col .posts__list__frm__content .posts__detail .posts__title { margin-top: 0; }
  .custom__posts__tp1 .col .posts__list__frm__content .posts__detail .posts__title h2 { font-size: 1.7rem; }
  .custom__posts__tp1 .col .posts__list__frm__content .posts__detail .posts__description {
    margin-bottom: 0;
    -webkit-line-clamp: 2;
  }
  .custom__posts__tp1 .col .posts__list__frm__content .posts__detail .posts__cat ul { flex-flow: wrap;  }
  .custom__posts__tp1 .col .posts__list__frm__content .posts__detail .posts__cat li { margin-bottom: 5px; }
}

/**
 * custom post taxonomy type2
 */
.custom__posts__tp2 .col .posts__list__frm__content .posts__detail .posts__description,
.custom__posts__tp2 .col .posts__list__frm__content .posts__detail .posts__date { display: none; }
.custom__posts__tp2 .col .posts__list__frm__content .posts__detail .posts__title h2 { font-size: 20px; }
@media screen and (max-width: 991px){
  .custom__posts__tp2 .col .posts__list__frm__content .posts__detail .posts__title h2 { font-size: 1.6rem; }
}


/**
 * pagination
 */
#pagination {
  margin-top: 50px;
  margin-bottom: 100px;
}
#pagination ul.page-numbers {
  position: relative;
  display: flex;
  justify-content: center;
  list-style: none;
}
#pagination li { text-align: center; }
#pagination li .page-numbers {
  display: block;
  width: 40px;
  line-height: 40px;
  color: #777;
  background: #fff;
  border-top: solid 1px #ddd;
  border-bottom: solid 1px #ddd;
  border-right: solid 1px #ddd;
}
#pagination li:nth-child(2) .page-numbers { border-left: solid 1px #ddd; }
#pagination li .prev,
#pagination li .next {
  text-align: center;
  position: absolute;
  top: -10px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  font-size: 12px;
  border: 0 !important;
  border-radius: 50%;
  box-shadow: 0 0 5px #aaa;
}
#pagination li .prev { margin-left: -100px; }
#pagination li .next { margin-left: 40px; }
#pagination li .current {
  color: #fff;
  background: #ff8c00;
}
.pc #pagination li .page-numbers:hover {
  color: #fff;
  background: #ff8c00;
}
.pc #pagination li .current:hover { background: #ff8c00; }
@media screen and (max-width: 991px){
  #pagination {
    margin-top: 4.5rem;
    margin-bottom: 5rem;
  }
  #pagination li .prev { margin-left: -8rem; }
  #pagination li .next { margin-left: 2rem; }
}
