@charset "utf-8";

/**
リニューアルデザイン　カテゴリーページスタイル
**/

/* -----------------------------------------------------------
　category
----------------------------------------------------------- */

.page_category {
  overflow: clip;
  margin: 200px 0 100px;
}
.page_category article {
  width: 100%;
  max-width: 1300px;
  padding: 0 50px;
  margin: 0 auto;
}
.page_category article h1 {
  color: var(--color01);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  margin: 40px auto;  
}
.page_category article .category_ico {
  height: 165px;
  margin: 0 auto 40px;
}
.page_category article .category_ico img {
  display: block;
  width: auto;
  height: 100%;
  margin: 0 auto;
}
.page_category article .category_anc {
  position: sticky;
  z-index: 10;
  top: 160px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 70px;
  transition: top 0.5s;
}
header.hide + .bottom_nav + .page_category article .category_anc {top: 20px;}
.page_category article .category_anc li {
  width: 220px;
  height: 60px;
  margin: 0 0 30px;
  text-align: center;
}
.page_category article .category_anc li a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  background: var(--color01);
  border-radius: 99px;
  text-decoration: none;
  transition: 0.25s;
  border: solid 2px #FFFFFF;
}
.page_category article .category_anc li a:hover {transform: translateY(-5px);}
.page_category article h2 {
  color: var(--color01);
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  padding: 0 0 0.5em;
  margin: 0 0 20px;
  background: url("../img/common/dotline.svg") repeat-x bottom left / 8px;
}

.page_category article .post_list {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 0 auto 40px;
}
.page_category article .post_list > li {
  width: 30%;
  margin: 0 0 60px;
}
.page_category article .post_list::after {
  display: block;
  content: "";
  width: 30%;
}
.page_category article .post_list > li a {
  display: block;
  text-decoration: none;
}
.page_category article .post_list li figure {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin: 0 0 20px;
}
.page_category article .post_list li figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;  
  display: block;
  transition: 0.5s;
}
.page_category article .post_list li a:hover figure img {transform: scale(1.15);}
.page_category article .post_list li a p {
  color: #333333;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.44;
  margin: 0 0 20px;
}
.page_category article .post_list li a:hover p {color: #6798BF;}
.page_category article .post_list li span {
  display: inline-block;
  width: auto;
  color: #FFFFFF;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  padding: 0.5em 1em;
  background: #CCC;
  border-radius: 99px;
  margin: 0 5px 5px 0;
}
.page_category article .post_list li span::before {content: "#";}

.page_category article .bk_list {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 0 auto 40px;
}
.page_category article .bk_list > li {
  width: 20.05%;
  margin: 0 0 60px;
}
.page_category article .bk_list::before ,
.page_category article .bk_list::after {
  display: block;
  content: "";
  width: 20.05%;
}
.page_category article .bk_list::before {order: 1;}
.page_category article .bk_list > li a {text-decoration: none;}
.page_category article .bk_list li figure {
  aspect-ratio: 240 / 326;
  margin: 0 0 20px;
}
.page_category article .bk_list li figure img {
  display: block;
  transition: 0.25s;
}
.page_category article .bk_list li a:hover figure img {transform: translateY(-5px);}
.page_category article .bk_list li a p {
  color: #333333;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.44;
}
.page_category article .bk_list li a:hover p {color: #6798BF;}


@media screen and (max-width: 800px) {

  .page_category {margin: 90px 0 50px;}
  .page_category article {padding: 0 5%;}
  .page_category article h1 {
    color: var(--color01);
    font-size: 22px;
    margin: 30px auto 20px;  
  }
  .page_category article .category_ico {
    height: 110px;
    margin: 0 auto 20px;
  }
  .page_category article .category_anc {
    top: 100px;
    max-width: 100%;
    margin: 0 auto 35px;
  }
  header.hide + .bottom_nav + .page_category article .category_anc {top: 10px;}
  .page_category article .category_anc li {
    width: 32%;
    height: 65px;
    margin: 0 0 15px;
  }
  .page_category article .category_anc.year_anc li {height: 40px;}
  .page_category article .category_anc li a {font-size: 14px;}
  .page_category article h2 {font-size: 16px;}

  .page_category article .post_list > li {
    width: 46%;
    margin: 0 0 35px;
  }
  .page_category article .post_list::after {width: 46%;}
  .page_category article .post_list li figure {margin: 0 0 10px;}
  .page_category article .post_list li figure img {transition: 0s;}
  .page_category article .post_list li a:hover figure img {transform: scale(1);}
  .page_category article .post_list li a p {
    font-size: 14px;
    margin: 0;
  }
  .page_category article .post_list li a span {margin: 15px 5px 5px 0;}
  .page_category article .bk_list > li {
    width: 29%;
    margin: 0 0 40px;
  }
  .page_category article .bk_list::before ,
  .page_category article .bk_list::after {width: 29%;}
  .page_category article .bk_list li figure {margin: 0 0 15px;}
  .page_category article .bk_list li a p {font-size: 14px;}
  
  
  
}
