/* 一覧ページ */
.post_wrap {
  margin: 30px 0 0;
}
.post_list_wrap {
  margin: 0 0 60px;
}
.post_list_wrap ul {
	display: flex;
	flex-wrap: wrap;
}
.post_list_wrap ul li {
  width: 48%;
  margin: 15px 0 0 4%;
}
.post_list_wrap ul li:nth-child(2n+1) {
  margin: 15px 0 0;
}
.post_list_wrap ul li:nth-child(-n+2) {
  margin: 0 0 0 4%;
}
.post_list_wrap ul li:nth-child(1) {
  margin: 0;
}
.post_list_wrap ul li a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.post_img {
  overflow:hidden;
}
.post_img img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  font-family: 'object-fit: cover;';
  transition: all 0.5s ease-out;
}
.post_txt_wrap {
  height: calc(100% - 140px);
  padding: 10px 10px 15px;
  background: var(--color-bg-gray);
}
.info_desc_wrap {
  display: flex;
  justify-content: space-between;
  margin: 5px 0 0;
}
.post_date {
  font-size: 12px;
}
.post_cat {
  display: inline-block;
  padding: 0 10px 2px;
  color: var(--color-blue);
  border-radius: 2px;
  background: var(--color-blue-light);
  font-size: 10px;
}
.post_ttl {
  margin: 10px 0 0;
}
.post_ttl h3 {
  font-size: 14px;
  line-height: 1.2;
}
@media only screen and (min-width: 641px) {
  .post_wrap {
    margin: 60px 0 0;
  }
  .post_img img {
    height: 220px;
  }
  .post_txt_wrap {
    padding: 10px 15px 20px;
    height: calc(100% - 220px);
  }
  .info_desc_wrap {
    margin: 10px 0 0;
  }
  .post_cat {
    font-size: 12px;
  }
  .post_ttl {
    margin: 15px 0 0;
    font-size: 16px;
  }
  .post_ttl h3 {
    font-size: 16px;
  }
}
@media only screen and (min-width: 769px) {
  .post_list_wrap ul li a:hover .post_img img{
    transform: scale(1.2,1.2);
    transition: all 0.5s ease-out;
  }
}
@media only screen and (min-width: 961px) {
  .post_wrap {
    display: flex;
    justify-content: space-between;
  }
  .post_list_wrap {
    width: 70%;
  }
  .post_list_wrap ul li {
    width: 30.666%;
    margin: 30px 0 0 4%;
  }
  .post_list_wrap ul li:nth-child(2n+1) {
    margin: 30px 0 0 4%;
  }
  .post_list_wrap ul li:nth-child(3n+1) {
    margin: 30px 0 0;
  }
  .post_list_wrap ul li:nth-child(-n+3) {
    margin: 0 0 0 4%;
  }
  .post_list_wrap ul li:nth-child(1) {
    margin: 0;
  }
  .post_img img {
    height: 170px;
  }
  .post_sidebar {
    width: 23%;
  }
  .post_txt_wrap {
    height: calc(100% - 170px);
  }
}
@media only screen and (min-width: 1025px) {
  .post_wrap {
    margin: 100px 0 0;
  }
  .post_img img {
    height: 200px;
  }
  .post_txt_wrap {
    padding: 10px 20px 30px;
    height: calc(100% - 200px);
  }
}
/* ページ送り */
.page_nav_wrap {
  margin: 30px 0 0;
}
.page_nav_wrap .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 0;
}
.page_nav_wrap .nav-links .page-numbers, .page_nav_wrap .nav-links .current, .page_nav_wrap .nav-links .last, .page_nav_wrap .nav-links .extend {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 10px 0 0;
  border: none;
}
.page_nav_wrap .nav-links .page-numbers {
  width: 50px;
  height: 50px;
  background-color: var(--color-blue);
  transition: all 0.5s ease-out;
  color: #fff;
}
.page_nav_wrap .nav-links .page-numbers:hover {
  background-color: var(--color-blue-dark);
  transition: all 0.5s ease-out;
}
.page_nav_wrap .nav-links .current {
  width: 50px;
  height: 50px;
  background-color: var(--color-blue-dark);
  color: #fff;
}
.page_nav_wrap .prev, .page_nav_wrap .next {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 10px 0 0;
  border: none;
  font-size: 1px;
  text-indent: -9999px;
  transition: all 0.5s ease-out;
}
.page_nav_wrap .prev:hover, .page_nav_wrap .next:hover {
  background-color: var(--color-blue-dark);
  transition: all 0.5s ease-out;
}
.page_nav_wrap .prev {
  background-image: url('../../../images/common/arw_nav.svg');
  background-repeat: no-repeat;
  background-color: var(--color-blue);
  background-position: center;
  background-size: 10px 17px;
  transform: rotate(-180deg);
}
.page_nav_wrap .next {
  background-image: url('../../../images/common/arw_nav.svg');
  background-repeat: no-repeat;
  background-color: var(--color-blue);
  background-position: center;
  background-size: 10px 17px;
}
.page_nav_wrap .nav-links .extend {
  border: none;
}
.page_nav_wrap .first, .page_nav_wrap .last {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 10px 0 0;
  border: none;
  transition: all 0.5s ease-out;
}
.page_nav_wrap .first {
  background-image: url('../../../images/common/arw_nav02.svg');
  background-repeat: no-repeat;
  background-color: var(--color-blue);
  background-position: center;
  background-size: 15px 17px;
  transform: rotate(-180deg);
}
.page_nav_wrap .last {
  background-image: url('../../../images/common/arw_nav02.svg');
  background-repeat: no-repeat;
  background-color: var(--color-blue);
  background-position: center;
  background-size: 15px 17px;
}
.page_nav_wrap .first:hover, .page_nav_wrap .last:hover {
  background-color: var(--color-blue-dark);
  transition: all 0.5s ease-out;
}
@media only screen and (min-width: 961px) {
  .page_nav_wrap {
    margin: 60px 0 0;
  }
}
@media only screen and (min-width: 1025px) {
  .page_nav_wrap {
    margin: 100px 0 0;
  }
  .page_nav_wrap .nav-links .page-numbers {
    width: 60px;
    height: 60px;
  }
  .page_nav_wrap .nav-links .current {
    width: 60px;
    height: 60px;
  }
  .page_nav_wrap .prev, .page_nav_wrap .next {
    width: 60px;
    height: 60px;
  }
  .page_nav_wrap .first, .page_nav_wrap .last {
    width: 60px;
    height: 60px;
  }
}
  /* サイドバー */
.post_sidebar h3 {
  padding: 0 0 15px;
  font-size: 16px;
  font-weight: bold;
  border-bottom: 2px solid #f1f1f1;
}
.post_sidebar h4 {
  position: relative;
  font-size: 14px;
  cursor: pointer;
}
.post_sidebar_list {
  margin: 0 0 20px;
}
.post_sidebar_list > li {
  padding: 10px 0;
  border-bottom: 1px solid #f1f1f1;
}
.post_sidebar_list > li > a {
  font-size: 14px;
  transition: all .25s ease-in-out;
}
.post_sidebar_list > li > a:hover {
  color: var(--color-blue);
}
.archive_inner {
  margin: 10px 0 0;
}
.archive_inner > li {
  padding: 0 0 0 20px;
}
.archive_inner > li > a {
  font-size: 14px;
}
.post_sidebar h4 i {
  position: absolute;
  transform: translate(-28px,0);
  right: 0;
  top: calc(50% - 15px);
}
.post_sidebar h4 i:before, .post_sidebar h4 i:after {
  content: "";
  position: absolute;
  background-color: #424242;
  width: 2px;
  height: 10px;
  transition: all .25s ease-in-out;
}
.post_sidebar h4 i:before {
  transform: translate(-3.5px,9px) rotate(45deg);
}
.post_sidebar h4 i:after {
  transform: translate(2.5px,9px) rotate(-45deg);
}
.post_sidebar h4.close i:before {
  transform: translate(2.5px,9px) rotate(45deg);
}
.post_sidebar h4.close i:after {
  transform: translate(-3.5px,9px) rotate(-45deg);
}
@media only screen and (min-width: 641px) {
  .archive_inner > li > a {
    font-size: 16px;
  }
}
@media only screen and (min-width: 769px) {
  .post_sidebar h4 i {
    top: calc(50% - 15px);
  }
  .archive_inner > li > a:hover {
    color: var(--color-blue-dark);
  }
}
@media only screen and (min-width: 1025px) {
  .post_sidebar h3 {
    padding: 0 0 20px;
    font-size: 20px;
  }
  .post_sidebar h4 {
    font-size: 18px;
  }
  .post_sidebar_list {
    margin: 0 0 30px;
  }
  .post_sidebar_list > li > a {
    font-size: 16px;
  }
}
  /* 個別ページ */
.post_single {
  margin: 0 0 60px;
}
.post_single_ttl {
  margin: 0 0 20px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--color-blue);
}
.post_single_ttl h1 {
  font-size: 26px;
  font-weight: bold;
}
.post_single_desc {
  display: flex;
  align-items: center;
}
.post_single_date {
  margin: 0 20px 0 0;
  font-size: 10px;
}
.post_single_cat {
  padding: 0 10px 2px;
  color: var(--color-blue);
  border-radius: 2px;
  background: var(--color-blue-light);
  font-size: 10px;
}
.post_single_content {
  min-height: 500px;
  margin: 20px 0 0;
}
.post_single_content a {
  color: var(--color-blue);
}
.post_single_content a:hover {
  text-decoration: underline;
}
.post_single_content p {
  margin: 15px 0 0;
  font-size: 16px;
  word-break: break-all;
}
.post_single_content img {
  margin: 15px 0 0;
}
.post_single_content p:first-child {
  margin: 0;
}
.post_single_content img:first-child {
  margin: 0;
}
.single_link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0 0;
}
.single_link .post_prev, .single_link .post_next {
  width: 50px;
  height: 50px;
}
.single_link .post_prev a, .single_link .post_next a {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 10px 0 0;
  border: none;
  transition: all 0.5s ease-out;
}
.single_link .post_prev a {
  background-image: url('../../../images/common/arw_nav.svg');
  background-repeat: no-repeat;
  background-color: var(--color-blue);
  background-position: center;
  background-size: 15px 17px;
  transform: rotate(-180deg);
}
.single_link .post_next a {
  background-image: url('../../../images/common/arw_nav.svg');
  background-repeat: no-repeat;
  background-color: var(--color-blue);
  background-position: center;
  background-size: 15px 17px;
}
.single_link .post_prev a:hover, .single_link .post_next a:hover {
  background-color: var(--color-blue-dark);
  transition: all 0.5s ease-out;
}
.list_back a {
  font-size: 12px;
  transition: all 0.5s ease-out;
}
@media only screen and (min-width: 641px) {
  .post_single_ttl {
    margin: 0 0 30px;
    padding: 0 0 15px;
  }
  .post_single_content {
    margin: 40px 0 0;
  }
  .post_single_date {
    margin: 0 20px 0 0;
    font-size: 12px;
  }
  .post_single_cat {
    padding: 0 10px 2px;
    font-size: 12px;
  }
  .list_back a {
    font-size: 14px;
  }
}
@media only screen and (min-width: 769px) {
  .list_back a:hover {
    color: var(--color-blue);
  }
}
@media only screen and (min-width: 961px) {
  .post_single {
    width: 70%;
  }
  .post_single_date {
    font-size: 14px;
  }
}
@media only screen and (min-width: 1025px) {
  .post_single_ttl h1 {
    font-size: 30px;
  }
  .single_link {
    margin: 60px 0 0;
  }
  .single_link .post_prev, .single_link .post_next {
    width: 60px;
    height: 60px;
  }
  .single_link .post_prev a, .single_link .post_next a {
    width: 60px;
    height: 60px;
  }
}
