/* post-layout
--------------------------------------- */

.ly-post-flex {
  display: flex;
  justify-content: space-between;
}

.ly-post-content {
  width: 70%;
}

.ly-post-side {
  width: 28%;
  max-width: 220px;
}

@media only screen and (max-width: 767px) {

  .ly-post-flex {
    flex-wrap: wrap;
  }

  .ly-post-content {
    width: 100%;
  }

  .ly-post-side {
    width: 100%;
    max-width: 100%;
  }
}

.side-menu-ttl {
  font-weight: bold;
  font-size: 16px;
  padding: .5em 1em;
}

.side-menu {
  border-bottom: solid 1px #707070;
}

.side-menu.-mb {
  margin-bottom: 40px;
}

.side-menu li {
  border-top: solid 1px #707070;
}

.side-menu li a {
  display: inline-block;
  width: 100%;
  padding: .5em 1em;
}

/* 
ーーーーーーーーーーーーーーーーーーーーーーーーーー */

.top-menu {
  border-bottom: solid 1px #707070;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 24px;
}

.top-menu.-mb {
  margin-bottom: 40px;
}

.top-menu li {}

.top-menu li a {
  display: inline-block;
  width: 100%;
  padding: .5em 1em;
  font-size: 16px;
  background: #EEEEEE;
  color: var(--text-color);
  border-radius: 4px;
}

@media only screen and (max-width: 767px) {
  .top-menu li a {
    font-size: 14px;
  }
}

.column-cat-item.is-active a {
  background: var(--column-color);
  color: #fff;
}

/* 
ーーーーーーーーーーーーーーーーーーーーーーーーーー */
.category-font {
  font-size: 14px;
}



.date-flex {
  display: flex;
  align-items: center;
  margin-bottom: .5em;
}

.date-flex.-mt {
  margin-top: 1em;
}


.date-flex .date {
  margin-right: 1em;
  min-width: 70px;
}

.date {
  font-size: 14px;
  font-weight: bold;
  color: var(--main-color);
}


/* 
ーーーーーーーーーーーーーーーーーーーーーーーーーー */


/* 
ーーーーーーーーーーーーーーーーーーーーーーーーーー */
/* 
ーーーーーーーーーーーーーーーーーーーーーーーーーー */
.top-news-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.top-news-side {
  width: 30%;
}

.news-content {
  width: 68%;
}

.news-listitem {

  border-bottom: solid 1px #D4D4D4;
}

.news-listitem a {
  display: block;
  padding: 20px 0;
}

.news-listitem:first-child {
  padding-top: 0;
}

.news-ttl {
  font-size: 16px;
  position: relative;
  padding-right: 1em;
}

.news-ttl:after {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 0;
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 1px solid #111;
  border-right: 1px solid #111;
  transform: rotate(45deg);
}

@media screen and (max-width: 767px) {
  .top-news-flex {
    flex-direction: column;
    gap: 24px;
  }

  .top-news-side {
    display: contents;
  }

  .top-news-head {
    order: 1;
  }

  .news-content {
    order: 2;
    width: 100%;
  }

  .top-news-side .more-btn-wrap {
    order: 3;
    text-align: center;
  }
}


/* 
ーーーーーーーーーーーーーーーーーーーーーーーーーー */

.column-bg {
  background: var(--bg-color06);
}

/* @media screen and (max-width: 767px) {
  .column-area.-top {
    overflow-x: scroll;
    white-space: nowrap;
  }

  .column-area.-top>* {
    width: 960px;
  }
} */

.column-ttl {
  display: flex;
  align-items: center;
  text-align: center;
}

.column-ttl::before {
  display: block;
  content: ' ';
  flex-grow: 1;
  height: 1px;
  margin-right: 10px;
  background-color: var(--main-color);
}

.column-ttl::after {
  display: block;
  content: ' ';
  flex-grow: 1;
  height: 1px;
  margin-left: 10px;
  background-color: var(--main-color);
}


.column-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.column-box {
  width: calc((100% - 60px)/ 3);
  font-size: 12px;
}

@media screen and (max-width: 767px) {

  .column-box {
    width: 100%;
    margin: 20px 0;
  }

  /* .column-box.-top {
    width: 216px;
    margin: 0;
  } */
}

.column-box h2 {
  margin-top: .5em;
}




.column-box img {
  width: 100%;
  height: auto;
  margin-bottom: 5px;
  aspect-ratio: 216 / 144;
}


.column .date {
  margin-bottom: 5px;
  font-weight: normal;
}

.column-category {
  background: var(--column-color);
  color: #fff;
  padding: 0 .5em;
  font-weight: normal;
  border-radius: 4px;
}

.column-box-ttl {
  font-size: 20px;
}


/* swiper
----------------------------------------- */

@media screen and (min-width: 768px) {
  .column-swiper .swiper-slide {
    width: calc((100% - 60px) / 3);
    flex-shrink: initial !important;
  }
  .a-column .swiper-slide {
    width: calc((100% - 60px) / 3);
    flex-shrink: initial !important;
  }


}

@media screen and (max-width: 767px) {
  .column-flex {
    display: unset;
    flex-wrap: unset;
    gap: unset;
  }

  .swiper-pagination {
    position: static !important;
  }

}

/* a-column
ーーーーーーーーーーーーーーーーーーーーーーーーーー */

@media screen and (max-width: 767px) {
  .a-column.sec-p {
    padding-top: 0;
  }
}

.a-column-flex {
  display: flex;
  flex-wrap: wrap;
}

.a-column-box h2 {
  margin-top: 5px;
  margin-bottom: 5px;
}

.a-column-box {
  width: calc((100% - 20px)/ 3);
  margin-right: 10px;
  margin-bottom: 5%;
  font-size: 12px;

}

@media screen and (max-width: 767px) {

  .a-column-box {
    width: 100%;
    margin: 20px 0;
  }
}


.a-column-box:nth-child(3n) {
  margin-right: 0;
}


.a-column-box img {
  width: 100%;
  height: auto;
  margin-bottom: 5px;
  aspect-ratio: 216 / 144;
}

.new-item {
  display: inline;
  color: var(--required-color);
  font-size: 12px;
}

.a-column .date {
  margin-bottom: 5px;
  font-weight: normal;
}



.a-column-box-ttl {
  font-size: 20px;
}




/* a-news
ーーーーーーーーーーーーーーーーーーーーーーーーーー */

.a-news-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.a-news-img {
  width: 18%;
}

.a-news-text {
  width: 80%;
  padding-right: 1em;
}

@media only screen and (max-width: 767px) {
  .a-news-img {
    width: 100%;
    margin-bottom: 1em;
  }

  .a-news-text {
    width: 100%;
  }

}

.a-news-img img {
  aspect-ratio: 2/1.3;
  width: 100%;
  height: auto;
  object-fit: cover;
}


.a-news-list {}

.a-news-listitem {
  border-bottom: solid 1px #D4D4D4;
  margin-bottom: 16px;
  position: relative;
}

.a-news-listitem a {
  padding-bottom: 16px;
  display: block;
}

.a-news-ttl {
  font-size: 14px;
  margin-top: .7em;
}

.a-news-ttl:after {
  position: absolute;
  right: 0;
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 1px solid #111;
  border-right: 1px solid #111;
  transform: rotate(45deg);
}




@media screen and (max-width: 767px) {}







/* s-news
ーーーーーーーーーーーーーーーーーーーーーーーーーー */



.s-news-box {}

.s-news-box-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 780/520;
  object-fit: cover;
  margin-bottom: 40px;
}


/* 
ーーーーーーーーーーーーーーーーーーーーーーーーーー */
.s-news-content p {
  margin-bottom: 2em;
}

.s-news-content h3 {
  font-size: 20px;
  margin-bottom: 1em;
}



/* 
ーーーーーーーーーーーーーーーーーーーーーーーーーー */

.news-category {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-category {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}


.post-category li {
  font-weight: bold;
}


.date-and-category {
  display: flex;
  align-items: center;
  gap: 1em;
  flex-wrap: wrap;
}


/* ページネーション  archive-page ーーーーーーーーーーーーー */

.pn-a0001 .pagination {
  position: relative;
  z-index: 9;
}

.pn-a0001 .pagination {
  color: var(--main-color);
  margin-top: 64px;
  margin-bottom: 40px;
}

.pn-a0001 .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pn-a0001 .page-numbers li .next {
  color: var(--main-color);
  padding-bottom: 3px;
}

.pn-a0001 .page-numbers li .prev {
  color: var(--main-color);
  padding-bottom: 3px;
}

.pn-a0001 .page-numbers li .current {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: #fff;
  background: var(--main-color);
  border: var(--main-color) solid 1px;
  width: 48px;
  height: 48px;
  margin: 0 7.5px;
  border-radius: 50%;
}

.pn-a0001 .page-numbers li a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
  color: var(--main-color);
  border: var(--main-color) solid 1px;
  width: 48px;
  height: 48px;
  margin: 0 7.5px;
  border-radius: 50%;
}




@media screen and (max-width: 767px) {
  .pn-a0001 .page-numbers li a {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .pn-a0001 .page-numbers li .current {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}









/* s-column
ーーーーーーーーーーーーーーーーーーーーーーーーーー */

.s-column-box-head {
  margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
  .s-column-box-head {
    margin-bottom: 24px;
  }
}






.s-column-box-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 780/520;
  object-fit: cover;
  margin-bottom: 40px;
}

.s-column-box .date-flex {
  margin-bottom: 1em;
}

/* column-author
ーーーーーーーーーーーーーーーーーーーーーーーーーー */

.column-author {
  display: flex;
  gap: 40px;
  border: solid 1px #eee;
  padding: 40px;
}

@media screen and (max-width: 767px) {
  .column-author {
    padding: 16px;
  }

}

.column-author-position {
  color: var(--main-color);
  font-size: 16px;
  font-weight: bold;
}

.column-author-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: .7em;
}

.column-author-img img {
  width: 160px;
  border-radius: 50%;
}
/* 
ーーーーーーーーーーーーーーーーーーーーーーーーーー */

.related-bg {
  background: var(--bg-color06)
}

.related-ttl {
  font-size: 24px;
}

@media screen and (max-width: 767px) {
.related-ttl {
  font-size: 20px;
}
}

/* 
ーーーーーーーーーーーーーーーーーーーーーーーーーー */
.post-content p {
  margin-bottom: 2em;
}

.post-content h1 {
  font-size: 32px;
  margin-bottom: 24px;
}

.post-content h2 {
  font-size: 24px;
  margin-bottom: 24px;
  margin-top: 40px;
}

.s-column-content h2 {
  background: #F4F7FB;
  padding: 10px 16px;
}

.post-content h3 {
  font-size: 20px;
  margin-bottom: 24px;
  margin-top: 40px;
  color: var(--main-color);
  border-top: solid 1px var(--main-color);
  border-bottom: solid 1px var(--main-color);
  padding: 10px 0;
}

.post-content h4 {
  font-size: 20px;
  margin-bottom: 24px;
  margin-top: 40px;
}


@media screen and (max-width: 767px) {
  .post-content p {
    margin-bottom: 1em;
  }

  .post-content h1 {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .post-content h2 {
    font-size: 20px;
    margin-bottom: 24px;
    margin-top: 40px;
  }

  .post-content h3 {
    font-size: 18px;
    margin-bottom: 24px;
    margin-top: 40px;
  }

  .post-content h4 {
    font-size: 18px;
    margin-bottom: 24px;
    margin-top: 40px;
  }

}