@charset "UTF-8";
/* main colors */
/* アーカイブページ */
.news-archive {
  position: relative;
  margin-top: 40px;
  padding-inline: 20px;
}
@media (max-width: 919px) {
  .news-archive {
    padding-top: 60px;
  }
}
@media (min-width: 920px) {
  .news-archive {
    margin-top: 5.5714285714vw;
    padding-inline: 7.8571428571vw;
  }
}
.news-archive .catch_text {
  top: 0;
}
@media (min-width: 920px) {
  .news-archive .catch_text {
    writing-mode: vertical-rl;
    font-feature-settings: "pkna";
  }
}
.news-archive .news_list {
  width: auto;
}
@media (min-width: 920px) {
  .news-archive .news_list {
    margin-left: 24.2857142857vw;
  }
}

.wp-pagenavi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  margin: auto;
  margin-top: 40px;
  position: relative;
}
@media (min-width: 920px) {
  .wp-pagenavi {
    margin-top: 5.7142857143vw;
    gap: 0.5714285714vw;
  }
}
.wp-pagenavi > *:not([rel=prev]):not([rel=next]) {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: 40px;
  border: 1px solid #58566B;
  border-radius: 4px;
}
@media (min-width: 920px) {
  .wp-pagenavi > *:not([rel=prev]):not([rel=next]) {
    width: 4.5714285714vw;
    border-radius: 0.2857142857vw;
    font-size: 1.7142857143vw;
  }
}
.wp-pagenavi .current {
  background-color: #fff;
  color: #000;
}
.wp-pagenavi [rel=prev], .wp-pagenavi [rel=next] {
  position: absolute;
  white-space: nowrap;
}
@media (min-width: 920px) {
  .wp-pagenavi [rel=prev], .wp-pagenavi [rel=next] {
    font-size: 1.2857142857vw;
  }
}
.wp-pagenavi [rel=prev] {
  right: calc(100% + 2em);
}
.wp-pagenavi [rel=next] {
  left: calc(100% + 2em);
}

/* 記事ページ */
.page-title.single {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (max-width: 919px) {
  .page-title.single {
    height: auto;
    padding-top: 140px;
  }
}
.page-title.single .date {
  margin-bottom: 1em;
  font-weight: 500;
  font-size: 16px;
}
@media (min-width: 920px) {
  .page-title.single .date {
    font-size: 1.4285714286vw;
  }
}
.page-title.single h2 {
  display: block;
  height: auto;
  font-weight: 400;
  font-size: 26px;
}
@media (min-width: 920px) {
  .page-title.single h2 {
    font-size: 2.8571428571vw;
  }
}

.news-body {
  display: grid;
  align-items: start;
  margin-top: 80px;
  margin-bottom: 80px;
  padding-inline: 20px;
}
@media (min-width: 920px) {
  .news-body {
    margin-top: 11.4285714286vw;
    margin-bottom: 10vw;
    padding-inline: 7.8571428571vw;
    grid-template-columns: 1fr 28%;
    gap: 7.1428571429vw;
  }
}

.wp-entry :is(h2, h3, h4, h5, h6) {
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.3em;
  margin-bottom: 1.15em;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
}
@media (min-width: 920px) {
  .wp-entry :is(h2, h3, h4, h5, h6) {
    font-size: 1.7142857143vw;
  }
}
.wp-entry * + :is(h2, h3, h4, h5, h6) {
  margin-top: 2em;
}
.wp-entry p {
  margin-top: 0.7em;
  font-size: 14px;
}
@media (min-width: 920px) {
  .wp-entry p {
    font-size: 1.0714285714vw;
  }
}
.wp-entry a {
  display: inline-flex;
  position: relative;
  color: #C93F18;
  background-image: linear-gradient(to right, currentColor, currentColor);
  background-size: 100% 1px;
  background-position: bottom left;
  background-repeat: no-repeat;
  line-height: 1.2;
}
.wp-entry a:hover {
  animation: linkLineReverse 0.5s ease forwards;
}
.wp-entry ul, .wp-entry ol {
  padding: 0;
  margin: 0;
  margin-left: 1.4em;
  margin-top: 0.7em;
  font-size: 14px;
}
@media (min-width: 920px) {
  .wp-entry ul, .wp-entry ol {
    font-size: 1.0714285714vw;
  }
}
.wp-entry .wp-block-image {
  margin-top: 1.8em;
  margin-bottom: 1.8em;
  text-align: center;
}
.wp-entry .wp-block-image img {
  width: 90%;
}
.wp-entry *:last-child {
  margin-bottom: 0;
}

.latest-posts {
  background-color: #383745;
  border-radius: 20px;
  padding: 40px 20px 20px;
}
@media (max-width: 919px) {
  .latest-posts {
    margin-top: 80px;
  }
}
@media (min-width: 920px) {
  .latest-posts {
    padding: 4.2857142857vw 1.7142857143vw 1.1428571429vw;
    border-radius: 1.4285714286vw;
  }
}
.latest-posts h3 {
  font-size: 18px;
}
@media (min-width: 920px) {
  .latest-posts h3 {
    font-size: 1.4285714286vw;
  }
}
.latest-posts-list li {
  line-height: 1.5;
}
@media (max-width: 919px) {
  .latest-posts-list li {
    font-size: 14px;
  }
}
.latest-posts-list li + li {
  border-top: 1px solid #58566B;
}
.latest-posts-list a {
  display: grid;
  padding-block: 12px;
}
@media (min-width: 920px) {
  .latest-posts-list a {
    padding-block: 1.7142857143vw;
  }
}
.latest-posts-list .date {
  margin-bottom: 0.2em;
  font-size: 13px;
}
@media (min-width: 920px) {
  .latest-posts-list .date {
    font-size: 1vw;
  }
}

.back-to-archive {
  margin-top: 20px;
  border-top: 1px solid #58566B;
  border-bottom: 1px solid #58566B;
  padding-block: 50px;
}
.back-to-archive a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  font-weight: 700;
  font-size: 16px;
}
.back-to-archive a::before {
  content: "";
  background: url(../img/common/mrk-back.svg) no-repeat left/100%;
  width: 40px;
  aspect-ratio: 1;
  transition: 0.2s;
}
.back-to-archive a:hover::before {
  background-image: url(../img/common/mrk-back-hover.svg);
}
@media (min-width: 920px) {
  .back-to-archive {
    margin-top: 1.4285714286vw;
    padding-block: 5.7142857143vw;
  }
  .back-to-archive a {
    font-size: 1.2857142857vw;
  }
  .back-to-archive a::before {
    width: 3.4285714286vw;
  }
}