.c-container {
  max-width: 1348px;
}

.c-block:first-child {
  margin-top: 107px;
}

.c-title {
  position: relative;
}

.c-title-main span {
  font-size: 160px;
}

.c-title-sub {
  margin-top: 10px;
}

.btn-has-pattern {
  background-color: #fd0200;
  border-radius: 200px;
  color: #fff;
  cursor: pointer;
  column-gap: 7px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  padding-inline: 40px;
  position: absolute;
  bottom: -4px;
  right: 0;
}

.btn-has-pattern .c-btnText {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-has-pattern .c-btnText::after {
  height: 12px;
  width: 12px;
}

.c-content {
  max-width: 1048px;
  margin-inline: auto;
  padding-inline: 24px;
}

.news-category-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 16px;
  gap: 11px 12px;
}

.news-category-item {
  background-color: #fff;
  border: 1px solid #272727;
  border-radius: 90px;
  color: #272727;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  min-width: 190px;
  width: calc((100% - 48px) / 5);
}

.news-category-item.active {
  background-color: #fd0200;
  border: 1px solid #fd0200;
  color: #fff;
}

.filter-reset {
  margin: 20px auto 0;
  text-align: center;
}

.filter-reset a {
  color: #272727;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  transition: all 0.3s;
}

@media (hover: hover) {
  .news-category-item:hover {
    background-color: #fd0200;
    border: 1px solid #fd0200;
    color: #fff;
  }

  .filter-reset a:hover {
    opacity: 1;
    text-decoration: none;
  }
}

.news-list {
  display: flex;
  flex-direction: column;
  row-gap: 47px;
  margin-top: 50px;
}

@keyframes show {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.news-date-cat {
  display: flex;
  font-size: 14px;
}

.news-date {
  font-size: 14px;
  white-space: nowrap;
}

.news-date::after {
  content: "|";
  color: #272727;
  margin-right: 5px;
}

.news-cat {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: 9px;
}

.news-cat li {
  border: 1px solid #272727;
  border-radius: 90px;
  padding: 1px 12px;
}

.news-link {
  color: #272727;
  display: inline-block;
  font-size: 14px;
  margin-top: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
  width: 100%;
}

@media (hover: hover) {
  .news-link:hover {
    text-decoration: underline;
    opacity: 1;
  }
}

/* wp pagenavi */
.wp-pagenavi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 55px;
}

.c-page .wp-pagenavi a,
.c-page .wp-pagenavi span {
  border: none;
  color: #272727;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  padding: 0;
  height: 40px;
  width: 40px;
}

.c-page .wp-pagenavi span.current {
  background-color: #fd0200;
  border-radius: 50%;
  color: #fff;
}

.c-page .wp-pagenavi a.previouspostslink,
.c-page .wp-pagenavi a.nextpostslink {
  background-color: #fff;
  border: 1px solid #fd0200;
  border-radius: 50%;
  color: #fd0200;
}

.c-page .wp-pagenavi a.previouspostslink::after,
.c-page .wp-pagenavi a.nextpostslink::after {
  content: "";
  background-image: url(../../images/common/arrow.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  height: 10.5px;
  width: 14px;
}

.c-page .wp-pagenavi a.previouspostslink::after {
  transform: rotate(180deg);
}

/* sp */
.s .c-container {
  padding-inline: 16px;
}
.s .c-content {
  padding-inline: 0;
}

.s .c-title {
  margin-top: 8px;
}

.s .c-title-main span {
  font-size: 48px;
}

.s .btn-has-pattern {
  column-gap: 2px;
  font-size: 10px;
  position: relative;
  bottom: unset;
  right: unset;
  margin: 24px auto 0;
  padding: 0 6% 0 5%;
  width: fit-content;
  min-width: 140px;
}

.s .btn-has-pattern::after {
  height: 10px;
  width: 10px;
}

.s .c-block:first-child {
  margin-top: 60px;
}

.s .news-category-list {
  justify-content: flex-start;
  gap: 7px;
}

.s .news-category-item {
  font-size: 14px;
  padding: 11px 21px;
  min-width: 72px;
  width: fit-content;
}

.s .filter-reset {
  margin-top: 12px;
}

.s .news-list {
  row-gap: 13px;
  margin-top: 40px;
}

.s .news-date {
  font-size: 12px;
}

.s .news-cat {
  margin-left: 3px;
}

.s .news-cat::before {
  margin-right: 0;
}

.s .news-cat li {
  font-size: 10px;
  padding: 3px 7px;
}

.s .news-link {
  margin-top: 4px;
  overflow: initial;
  text-overflow: initial;
  white-space: initial;
}

.s .wp-pagenavi {
  margin-top: 45px;
}

.s .c-page .wp-pagenavi a,
.s .c-page .wp-pagenavi span {
  height: 38px;
  width: 38px;
}

/* ニュース詳細 */
.news-article img {
  max-width: 100%;
}
.news-article .news-title {
  border-bottom: 2px solid #ccc;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 40px;
  padding-bottom: 1em;
}

.news-article .news-content-area {
  margin-top: 85px;
}

.news-article .back-news-list {
  margin-top: 60px;
  text-align: center;
}

.news-article .back-news-list a {
  background-color: #000;
  border: 2px solid #000;
  border-radius: 200px;
  color: #fff;
  font-size: 18px;
  display: inline-block;
  font-weight: 600;
  padding: 14.5px 30px;
  text-align: center;
  transition: all 0.3s;
  text-decoration: none;
  min-width: min(288px, 100%);
}

.post-navigation-block {
  margin-top: 0;
  max-width: 700px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 137px;
}

.post-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-previous,
.nav-next {
  max-width: 150px;
}

.nav-previous a,
.nav-next a {
  background-color: #000;
  border: 2px solid #000;
  border-radius: 200px;
  color: #fff;
  font-size: 16px;
  display: inline-block;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s;
  text-decoration: none;
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 5px 20px;
}

.nav-previous a:before {
  content: "";
  background: url(../../images/news/icon_previous.webp);
  background-size: cover;
  display: block;
  width: 20px;
  height: 20px;
}

.nav-next a:after {
  content: "";
  background: url(../../images/news/icon_next.webp);
  background-size: cover;
  display: block;
  width: 20px;
  height: 20px;
}

.s .post-navigation-block {
  margin-top: 80px;
}

@media (hover: hover) {
  .news-article .back-news-list a:hover {
    background-color: #fff;
    color: #000;
    opacity: 1;
  }
}

.news-article .news-content-area p + p,
.news-article .news-content-area p + img,
.news-article .news-content-area img + p,
.news-article .news-content-area p + figure {
  margin-top: 1em;
}

.news-article .news-content-area figure + p {
  margin-top: 0.5em;
}

.s .news-article .news-title {
  font-size: 24px;
  margin-top: 30px;
}

.s .news-article .news-content-area {
  margin-top: 50px;
}

.s .news-article .back-news-list {
  margin-top: 30px;
}

.s .news-article .back-news-list a {
  font-size: 18px;
  padding: 16px;
}
