@charset "UTF-8";

/********************************************************/
/*-------------------------------------------
 * 全体レイアウト
 * -------------------------------------------*/
.news__container {
  display: grid;
  grid-template-columns: auto 900px;
  gap: 3rem 4%;
  justify-content: space-between;
}

@media (max-width: 1445px) {
  .news__container {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 3rem 4%;
    justify-content: space-between;
  }
}

@media (max-width: 834px) {
  .news__container {
    display: flex;
    flex-direction: column-reverse;
    gap: 5rem 0;
  }
}

.news-archive__content {
  order: 2;
}

.news-single__content {
  order: 2;
}

.news-sidebar {
  order: 1;
}

/*-------------------------------------------
 * サイドメニュー
  * （共通）
 * -------------------------------------------*/
.news-sidebar__heading {
  font-family: var(--ff-gilda);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.news-sidebar__item+.news-sidebar__item {
  margin-top: 6rem;
}

.news-sidebar__inner-list {
  font-size: 1.4rem;
  font-weight: 300;
}

.news-sidebar__category-list,
.news-sidebar__archive-list {
  font-family: var(--ff-work);
}

.news-sidebar__inner-list>li {
  line-height: 1;
}

.news-sidebar__inner-list>li+li {
  margin-top: 1.8rem;
}

.news-sidebar__list-item {
  line-height: 1;
}

/*-------------------------------------------
 * サイドメニュー
 * カテゴリー（現在のカテゴリーをハイライト）
 * -------------------------------------------*/
.news-sidebar__list-item--current-category a.active {
  border-bottom: 1px solid #000;
}

/*-------------------------------------------
 * サイドメニュー
 * カテゴリー（マーク付き）
 * -------------------------------------------*/
.news-sidebar__mark-list-item {
  position: relative;
  display: flex;
}

.news-sidebar__mark-list-item a {
  position: relative;
  padding-left: 2.6rem;
}

.news-sidebar__mark-list-item a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.7rem;
  aspect-ratio: 1;
  border: 1px solid #c1bfbc;
  border-radius: 100vmax;
}

.news-sidebar__mark-list-item a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.7rem;
  aspect-ratio: 1;
  background-color: #000;
  border-radius: 100vmax;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.news-sidebar__mark-list-item a:hover {
  cursor: pointer;
}

.news-sidebar__mark-list-item a:hover::after {
  opacity: 1;
}

.news-sidebar__category-item a.active::after {
  opacity: 1;
  /* 常に表示 */
  transform: translateY(-50%) scale(1);
}

.news-sidebar__category-item a::after {
  opacity: 0;
  transform: translateY(-50%) scale(0);
}

.news-sidebar__category-item a:hover::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/*-------------------------------------------
 * サイドメニュー
 * アコーディオン
 * -------------------------------------------*/
.accordion__item {
  display: grid;
  grid-template-rows: min-content 0fr;
  transition: grid-template-rows 300ms ease;
  cursor: pointer;
  overflow: hidden;
}

.accordion__item.accordion-open {
  grid-template-rows: min-content 1fr;
}

.accordion__item.accordion-open .open-close-button::before {
  content: "";
  transition: all 0.3s 0s ease;
  transform: translate(50%, -50%) rotate(-90deg);
}

.accordion__item .accordion__detail {
  overflow: hidden;
}

.accordion__item+.accordion__item {
  margin-top: 2rem;
}

.accordion__summary {
  display: grid;
  grid-template-columns: auto 1fr;
  -moz-column-gap: 0.8em;
  column-gap: 0.8em;
  align-items: center;
  font-size: var(--f16);
  font-weight: 500;
  line-height: 1;
  padding-bottom: 1rem;
}

.open-close-button {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 100vmax;
  transition: 0.5s;
  display: grid;
  position: relative;
}

.open-close-button::before,
.open-close-button::after {
  content: "";
  position: absolute;
  background: #222;
  transition: all 0.2s ease;
}

.open-close-button::after {
  width: 1.3rem;
  height: 1px;
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
}

.open-close-button::before {
  width: 1px;
  height: 1.3rem;
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
}

/*-------------------------------------------
 * サイドメニュー
 * 月別アーカイブ（セレクトボックス）
 * -------------------------------------------*/
.news-side__select-box {
  border: 1px solid #333;
  padding: 0.5rem 3rem 0.5rem 1rem;
  display: inline-block;
  width: 100%;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.news-side__select-box:focus {
  border: 1px solid #c1c1c1;
  outline: none;
}

.news-side__select-box-wrap {
  display: inline-block;
  position: relative;
  width: 100%;
}

.news-side__select-box-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.5rem;
  width: 0.9rem;
  height: 0.9rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
  border-right: 2px solid rgba(0, 0, 0, 0.3);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

/*-------------------------------------------
 * 記事一覧箇所
 * -------------------------------------------*/
.news-list>li+li {
  margin-top: 5rem;
}

.news-list__category {
  border-radius: 100vmax;
  border: 1px solid #000;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0.1rem 1.5rem 0.3rem;
  font-size: var(--f13);
  margin-bottom: 2rem;
}

.news-list__img img {
  aspect-ratio: 4/3;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
  width: 100%;
  height: auto;
}

/*-------------------------------------------
 * アーカイブページ
 * -------------------------------------------*/
.news-archive__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (max-width: 834px) {
  .news-archive__list {}
}

.news-archive__list>li {}

.news-archive__item-link {
  display: grid;
  align-items: center;
  grid-template-columns: 80px 90px auto 20px;
  gap: 15px 3%;
  padding: 30px 0;
  line-height: 1.875;
  border-bottom: 1px solid #dadada;
}

.news-archive__item-title {
  font-size: 1.6rem;
  font-weight: 400;
}

.news-archive__item-date {
  font-size: 1.4rem;
  font-weight: 400;
  font-family: var(--ff-work);
}

@media (max-width: 834px) {
  .news-archive__item-link {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 0;
    padding: 25px 0;
    border-bottom: 1px solid #dadada;
  }

  .news-archive__item-date {
    width: 85px;
    margin: 0;
  }

  .news-archive__category-list {
    width: calc(100% - 85px);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
  }

  .news-archive__category-list .news__category-item+.news__category-item {
    margin-top: 0;
  }
}

@media (max-width: 834px) {
  .news-archive__item-link .news-archive__img {
    order: 3;
  }
}

@media (max-width: 834px) {
  .news-archive__item-link .post-page__title {
    order: 2;
  }
}

.news-archive__thumbnail {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  position: relative;
}

.news-archive__thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 3/2;
}

/*-------------------------------------------
 * アーカイブページ
 * ページネーション
 * -------------------------------------------*/
.news__pagination {
  margin: 9rem auto 0;
  text-align: center;
  line-height: 1;
}

@media (max-width: 834px) {
  .news__pagination {
    margin-top: 5rem;
    font-size: var(--f15);
  }
}

.news__pagination .next,
.news__pagination .prev {
  position: relative;
  width: 2rem;
  height: 1.4rem;
  border-radius: 100vmax;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  line-height: 1;
  overflow: hidden;
  background: #d1d3d5;
}

.news__pagination .prev::after ,
.news__pagination .next::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1rem;
  height: .6rem;
  background: url(../img/common/link-arrow.svg) no-repeat center / contain;
}

.news__pagination .prev::after {
  transform: translate(-50%, -50%) scaleX(-1);
}

@media (max-width: 834px) {

  .news__pagination .next,
  .news__pagination .prev {
    font-size: 1.2rem;
  }
}

.news__pagination .next:hover,
.news__pagination .prev:hover {
  opacity: .7;
}

.news__pagination .pagination {
  display: flex;
  gap: 3.2rem;
  align-items: center;
  justify-content: center;
}

@media (max-width: 834px) {
  .news__pagination .pagination {
    gap: 1rem 5%;
  }
}

.news__pagination .page-numbers {
  padding: 0 .5em .6em;
}

.news__pagination .page-numbers.current {
  border-bottom: 1px solid currentColor;
  padding: 0 .5em .6em;
}

@media (max-width: 834px) {}

/*-------------------------------------------
 * 個別記事ページ
 * -------------------------------------------*/
.news-single__go-top-button {
  margin-inline: auto;
}

.news-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 25px;
  margin-bottom: 60px;
}

@media (max-width: 834px) {
  .news-single__meta {
    gap: 5px 10px;
    padding-bottom: 18px;
    margin-bottom: 30px;
  }
}

.news-single__date {
  width: 90px;
  font-size: 1.6rem;
  font-weight: 400;
  font-family: var(--ff-work);
}

@media (max-width: 834px) {
  .news-single__date {
    width: 85px;
    font-size: 1.4rem;
  }
}

.news-single__title {
  width: 100%;
  font-size: 2.8rem;
  line-height: 1.45;
  font-family: var(--ff-shippori);
}

@media (max-width: 1445px) {
  .news-single__title {
    font-size: 2.5rem;
  }
}

@media (max-width: 834px) {
  .news-single__title {
    font-size: 2.1rem;
  }
}

.news-single__category-list {
  display: flex;
  align-items: center;
  gap: 5px;
}

.news-single__category-list .news__category-item+.news__category-item {
  margin-top: 0;
}

.news-single__tag-list {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1.4rem;
}

@media (max-width: 834px) {
  .news-single__tag-list {
    font-size: 1.2rem;
  }
}

.news-single__thumbnail {
  margin-bottom: 6rem;
}

@media (max-width: 834px) {
  .news-single__thumbnail {
    margin-bottom: 3rem;
  }

}

/*-------------------------------------------
 * 個別記事ページ
 * 見出し設定
 * -------------------------------------------*/
.news-single__content-body {
  padding-bottom: 9rem;
}

@media (max-width: 834px) {
  .news-single__content-body {
    padding-bottom: 5rem;
  }
}

.news-single__content-body p {
  font-size: 1.6rem;
  line-height: 2;
}

@media (max-width: 1445px) {
  .news-single__content-body p {
    font-size: 1.5rem;
  }
}

@media (max-width: 834px) {
  .news-single__content-body p {
    font-size: 1.4rem;
  }
}

.news-single__content-body .wp-block-heading {
  margin-top: 3rem;
  width: -moz-fit-content;
  width: fit-content;
  display: block;
}

.news-single__content-body .wp-block-heading+p {
  margin-top: 3rem;
}

@media (max-width: 834px) {
  .news-single__content-body .wp-block-heading+p {
    margin-top: 2rem;
  }
}

.news-single__content-body p+.wp-block-heading {
  margin-top: 4rem;
}

.news-single__content-body h2.wp-block-heading {
  font-size: 2.4rem;
  font-weight: 400;
  font-family: var(--ff-shippori);
  border-left: 2px solid #ddd;
  padding: 0.2em 0 0.4em 0.9em;
  line-height: 1.4;
}

.news-single__content-body h3.wp-block-heading {
  font-size: 2.4rem;
  font-weight: 400;
  font-family: var(--ff-shippori);
}

.news-single__content-body h4.wp-block-heading {
  position: relative;
  font-size: 2rem;
  font-weight: 400;
  font-family: var(--ff-shippori);
  padding-left: 2em;
  line-height: 1.4;
}

.news-single__content-body h4.wp-block-heading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  height: 1px;
  width: 1.3em;
  background: #3d4658;
}

.news-single__content-body h5.wp-block-heading {
  position: relative;
  font-size: 1.8rem;
  font-weight: 400;
  font-family: var(--ff-shippori);
  padding-left: 1.3em;
}

.news-single__content-body h5.wp-block-heading::before {
  content: '';
  position: absolute;
  top: .65em;
  left: 0;
  border-radius: 100vmax;
  background: currentColor;
  width: .8em;
  height: .8em;
}

.news-single__content-body h6.wp-block-heading {
  font-size: 1.8rem;
  font-weight: 400;
  font-family: var(--ff-shippori);
  border-bottom: 1px solid currentColor;
  /* padding-inline: 0.5rem; */
}

@media (max-width: 1445px) {
  .news-single__content-body h2.wp-block-heading {
    font-size: 2.1rem;
  }

  .news-single__content-body h3.wp-block-heading {
    font-size: 2rem;
  }
}

@media (max-width: 834px) {
  .news-single__content-body h2.wp-block-heading {
    font-size: 1.9rem;
  }

  .news-single__content-body h3.wp-block-heading {
    font-size: 1.9rem;
  }

  .news-single__content-body h4.wp-block-heading {
    font-size: 1.7rem;
  }

  .news-single__content-body h5.wp-block-heading {
    font-size: 1.6rem;
  }

  .news-single__content-body h6.wp-block-heading {
    font-size: 1.6rem;
  }
}

/*-------------------------------------------
 * 個別記事ページ
 * プラグイン「Table of Contents Plus」使用時の設定
 * -------------------------------------------*/
.news-single__content-body .toc_title {}

.news-single__content-body #toc_container {
  font-family: var(--ff-shippori);
}

.news-single__content-body #toc_container p.toc_title {
  font-size: 2.1rem;
  font-family: var(--ff-gilda);
  text-align: left;
  font-weight: 400;
}

.news-single__content-body p+#toc_container {
  margin-top: 2rem;
}

.news-single__content-body #toc_container {
  border: none;
  background: #f2f2f2;
  padding: 4rem 5%;
  margin-bottom: 6rem;
}

@media (max-width: 834px) {
  .news-single__content-body #toc_container {
    padding: 3rem;
    margin-bottom: 3rem;
  }
}

.news-single__content-body #toc_container a {
  color: inherit;
}

.news-single__content-body #toc_container a[href^="#H2"],
.news-single__content-body #toc_container a[href^="#h2"] {
  font-size: 1.6rem;
  font-weight: 400;
  display: block;
  border-bottom: 1px solid #ddd;
  padding-bottom: .3em;
  margin-bottom: 1.7rem;
}

.news-single__content-body #toc_container a[href^="#H3"],
.news-single__content-body #toc_container a[href^="#h3"],
.news-single__content-body #toc_container a[href^="#H4"],
.news-single__content-body #toc_container a[href^="#h4"],
.news-single__content-body #toc_container a[href^="#H5"],
.news-single__content-body #toc_container a[href^="#h5"],
.news-single__content-body #toc_container a[href^="#H6"],
.news-single__content-body #toc_container a[href^="#h6"] {
  font-size: 1.4rem;
  font-weight: 400;
  display: block;
}

.news-single__content-body #toc_container a[href^="#H4"],
.news-single__content-body #toc_container a[href^="#h4"] {
  padding-left: 0.5rem;
}

@media (max-width: 834px) {

  .news-single__content-body #toc_container a[href^="#H4"],
  .news-single__content-body #toc_container a[href^="#h4"] {
    padding-left: 0;
  }
}

.news-single__content-body #toc_container a[href^="#H5"],
.news-single__content-body #toc_container a[href^="#h5"] {
  padding-left: 1rem;
}

@media (max-width: 834px) {

  .news-single__content-body #toc_container a[href^="#H5"],
  .news-single__content-body #toc_container a[href^="#h5"] {
    padding-left: 0;
  }
}

.news-single__content-body #toc_container a[href^="#H6"],
.news-single__content-body #toc_container a[href^="#h6"] {
  padding-left: 1.5rem;
}

@media (max-width: 834px) {

  .news-single__content-body #toc_container a[href^="#H6"],
  .news-single__content-body #toc_container a[href^="#h6"] {
    padding-left: 0;
  }
}

.news-single__content-body #toc_container .toc_list>li+li {
  margin-top: 4.5rem;
}

@media (max-width: 834px) {
  .news-single__content-body #toc_container .toc_list>li+li {
    margin-top: 3rem;
  }
}

.news-single__content-body #toc_container li,
.news-single__content-body #toc_container ul {
  margin-top: 1rem;
}

.news-single__content-body #toc_container .toc_list>li>ul {
  margin-left: 0;
}

@media (max-width: 834px) {

  .news-single__content-body #toc_container li,
  .news-single__content-body #toc_container ul {
    margin-top: 1.6rem;
  }
}

.news-single__button {
  margin: 0 auto;
}

/*# sourceMappingURL=news.css.map */