@charset "utf-8";

/*
theme Name: digital-gorilla
Author: そのままゴリラ
Description: デジタルゴリラのテーマです。
version: 1.0.0
*/

/* =========================================================
   一覧
   ========================================================= */
.l-post-list {
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 80px;
}

@media screen and (max-width:500px) {
  
  .l-post-list {
    padding: 0 15px 40px;
  }
  
}

/* # タイトルまわり
   ----------------------------------------------------------- */
.post-list-ttl {
  padding: 60px 0 40px;
  font-size: 36px;
  text-align: center;
  line-height: 1.5;
}

/* # 子カテゴリーリスト
   ----------------------------------------------------------- */
.post-list-child {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

.post-list-child li {
  width: auto;
}

.post-list-child li a {
  display: block;
  padding: 20px 30px;
  color: #231815;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  background-color: #FFF462;
  border: 2px solid #231815;
  border-radius: 28px;
}
.post-list-child li.current a {
  color: #fff;
  background-color: #231815;
}

@media screen and (max-width:500px) {
  
  .post-list-child {
    justify-content: flex-start;
  }
  .post-list-child li {
    width: calc((100% - 10px) / 2);
  }
  .post-list-child li a {
    padding: 15px 0;
    font-size: 12px;
  }
  
}

/* # 一覧
   ----------------------------------------------------------- */
.post-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.post-list-item {
  overflow: hidden;
  position: relative;
  display: block;
  width: calc((100% - 40px) / 3);
  padding: 20px;
  color: #231815;
  text-decoration: none;
  background-color: #fff;
  border: 2px solid #231815;
  border-radius: 20px;
}
.post-list-item .img {
  margin: -20px -20px 20px;
}
.post-list-item .cate {
  overflow: hidden;
  position: absolute;
  top: 10px;
  left: 10px;
}
.post-list-item .cate .ico {
  float: left;
  display: block;
  margin-right: 5px;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  background-color: #FFF462;
  border: 2px solid #231815;
  border-radius: 17px;
}
.post-list-item .ttl {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.post-list-item .date {
  margin-top: 5px;
  color: #999;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.post-list-no-posts {
  width: 100%;
  font-size: 16px;
  text-align: center;
}

@media screen and (max-width:500px) {
  
  .post-list {
    display: block;
  }
  
  .post-list-item {
    width: 100%;
  }
  
  .post-list-item + .post-list-item {
    margin-top: 15px;
  }
  
}



/* =========================================================
   記事
   ========================================================= */

/* # タイトルまわり
   ----------------------------------------------------------- */
.post-ttl-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 20px;
}

@media screen and (max-width:500px) {
  .post-ttl-wrap {
    padding: 20px 15px 0;
  }
}

/* # カテゴリー
   ----------------------------- */
.post-cate {
  overflow: hidden;
  margin-bottom: 10px;
}

.post-cate-child {
  overflow: hidden;
  float: left;
}
.post-cate-child a {
  float: left;
  display: block;
  margin-right: 10px;
  padding: 8px 15px;
  color: #231815;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 2px solid #231815;
  border-radius: 18px;
  background-color: #FFF462;
}

/* # タイトル
   ----------------------------- */
.post-ttl {
  margin-bottom: 20px;
  font-size: 36px;
  line-height: 1.5;
}

@media screen and (max-width:500px) {
  .post-ttl {
    font-size: 24px;
  }
}

/* # 日付
   ----------------------------- */
.post-date {
  margin-bottom: 40px;
  color: #999;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

/* # 一覧ボタン
   ----------------------------------------------------------- */
.more-btn-wrap.post-bottom {
  margin-top: 60px;
}

/* =========================================================
   ページネーション
   ========================================================= */
.pagination {
  margin-top: 60px;
}

.pagination ul {
  font-size: 0;
  letter-spacing: 0;
  text-align: center;
  vertical-align: top;
}

.pagination ul li {
  font-size: 1rem;
  display: inline-block;
  margin: 0 5px 5px;
}

.pagination ul li:last-child {
  border: 0;
}

.pagination ul li a,
.pagination .current {
  display: block;
  width: 40px;
  height: 40px;
  padding: 11px 0;
  color: #231815;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  background-color: #fff;
  border-radius: 4px;
  border: 2px solid #231815;
}

.pagination ul li a {
  text-decoration: none;
  color: #231815;
}

.pagination ul li a:hover {
  opacity: .6;
}

.pagination .current {
  color: #fff;
  background-color: #03162f;
}
