/*-------------------------
  Blog（PC）
-------------------------*/
.mainview {
  width: 100%;
  height: 400px;
  margin-top: 80px;
  background-image: url(../../assets/img/blog-back.jpg);
  background-size: cover;
  background-position: center;
}

.mainview-wrap {
  display: flex;
  text-align: center;
  align-items: center;
  color: #FFF;
}

.mainview-title {
  text-transform: uppercase;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.484;
}

.mainview-title-ja {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.458;
  text-indent: 1em;
  position: relative;
}

.mainview-title-ja::before {
  content: "";
  width: 24px;
  height: 24px;
  background-color: #000;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0.5em;
  transform: translate(0, -50%);
}

.blog-wrap {
  display: flex;
  padding-top: 80px;
  padding-bottom: 80px;
  column-gap: 48px;
}

.blog-content-wrap {
  flex-basis: 73.5%
}

.blog-keyword-wrap {
  margin-bottom: 40px;
}

.blog-search-tag {
  display: inline-block;
  min-width: 150px;
  background-color: #808080;
  color: #FFF;
  padding: 4px 10px;
  text-align: center;
  font-weight: 900;
  margin-bottom: 8px;
}

.blog-search-title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.5;
  padding-bottom: 6px;
  border-bottom: 6px solid #000;
  position: relative;
}

.blog-search-title::after {
  content: '';
  width: 100px;
  height: 6px;
  background-color: #000;
  position: absolute;
  bottom: -6px;
  left: 0;
}

.article-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 40px;
  grid-row-gap: 32px;
  margin-bottom: 32px;
}

.blog-item img {
  width: 100%;
  height: 285px;
  object-fit: cover;
  border-radius: 8px;
  transition: all, 0.5s;
  margin-bottom: 16px;
}

.blog-item:hover img{
  opacity: 0.5;
}

.blog-textwrap {
  transition: all, 0.5s;
}

.blog-item:hover .blog-textwrap {
  color: #000;
}

.blog-item:hover .blog-tag {
  background-color: #000;
}

.blog-title {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
}

.second-wrap {
  display: flex;
  align-items: center;
}

.blog-date {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-right: 12px;
}

.blog-tag {
  background-color: #808080;
  color: #FFF;
  padding: 4px;
  font-size: 12px;
  font-weight: 700;
  transition: all, 0.5s;
}

/* ページネーション */
.pagination {
  padding-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
}

.page-num {
  cursor: pointer;
  width: 40px;
  text-align: center;
  transition: all 0.5s;
}

.page-num {
  margin-right: 8px;
}

.page-num {
  height: 40px;
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-num.active {
  color: #FFF;
  border-radius: 50%;
  background-color: #000;
  cursor: auto;
}

.page-num:not(.active):hover{
  opacity: 0.6;
}

/* 該当データがないとき */
.no-results-list {
  display: block;
}

.no-results-message {
  margin-bottom: 30px;
}

.btn-to-list {
  margin-top: 32px;
  padding-bottom: 16px;
  text-align: right;
}

.btn-to-list-a {
  color: #000;
  font-size: 16px;
  font-weight: 900;
  display: inline-block;
  transition: all 0.5s;
}

.btn-to-list-a:hover {
  color: #757575;
}

.btn-to-list-a .fa-arrow-right {
  font-size: 16px;
  margin-left: 0.25em;
}

/*-------------------------
  Blog（タブレット）
-------------------------*/
@media screen and (max-width: 900px){
  .blog-wrap {
    flex-direction: column;
    margin-right: 18px;
    margin-left: 18px;
  }

  .pagination {
    margin-bottom: 50px;
  }
}

/*-------------------------
  Blog（SP）
-------------------------*/
@media screen and (max-width: 768px){
  .mainview {
    width: 100%;
    height: 250px;
    margin-top: 60px;
  }

  .blog-wrap {
    margin-right: 0;
    margin-left: 0;
  }

  .article-wrap {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 0;
    margin-bottom: 32px;
  }
}

@media screen and (max-width: 360px){
  .page-num {
    width: 32px;
  }

  .page-num {
    height: 32px;
  }
}