﻿.news .wrapper {
  display: flex;
  flex-direction: column;
  padding: 10px 30px 60px;
}
.news .wrapper a.news_card {
  display: block;
  width: 100%;
  margin: 0;
  padding: 24px 0;
  text-decoration: none;
  border-bottom: 2px solid var(--gray03);
  transition: 0.3s;
}

.news .wrapper dl {
  display: flex;
  flex-direction: column;
  gap: 6px 20px;
  color: var(--black);
  font-weight: bold;
}

.news .wrapper dl dt.news_ttl {
  font-size: 20px;
  line-height: 1.25;
}
.news .wrapper dl dt.news_ttl h1 {
  font-size: 24px;
  line-height: 1.5;
}
.news .wrapper dl dd.news_detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 20px;
}
.news .wrapper dl dd.news_detail:first-of-type {
  order: -1;
}

.news .wrapper dl dd.news_detail span.date {
  font-family: "Staatliches", sans-serif;
  font-weight: 400;
  color: var(--blue);
  font-size: 20px;
}

.news .wrapper dl dd.news_detail span.cate {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: scroll;
  gap: 12px;
  padding: 12px 0;
}

.news .wrapper dl dd.news_detail span.cate span {
  padding: 4px 12px;
  white-space: nowrap;
  font-size: 10px;
  background: var(--gray02);
  border-radius: 30px;
  transition: 0.2s;
}
.news .wrapper dl dd.news_detail span.cate span a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.news .wrapper dl dd.news_detail span.cate span:hover {
  background: var(--gray03);
}

.news .wrapper dl dd.news_content {
  max-height: 44px;
  font-size: 13px;
  line-height: 22px;
  font-weight: normal;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.news .wrapper dl dd.news_content:empty {
  display: none;
}
.news .wrapper > * {
  margin-bottom: 30px;
}

.news .wrapper h2 {
  padding-left: 20px;
  font-size: 16px;
  border-left: 6px solid var(--blue);
}
.news .wrapper h3 {
  font-size: 18px;
  color: var(--blue);
}
.news .wrapper h4 {
  font-size: 16px;
}

.news .wrapper h5 {
  font-size: 14px;
}
nav.navigation.pagination {
  margin: 0 auto;
}
.nav-links a,
.nav-links span {
  font-family: "Staatliches", sans-serif;
  display: block;
  width: 45px;
  padding: 10px;
  line-height: 40px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  color: var(--black);
}
.nav-links .page-numbers.current {
  color: var(--blue);
}

.nav-links {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 40px auto 0 !important;
  text-align: center;
  gap: 13px;
}
.nav-links .prev,
.nav-links .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.nav-links i {
  color: var(--gray03);
  line-height: 38px;
}
.nav-links .prev {
  left: 0;
}
.nav-links .next {
  right: 0;
}

.nav-links a,
.nav-links span:not(.dots) {
  border: 1px solid var(--gray02);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(54, 54, 54, 0.1);
}

.nav-links.single {
  max-width: 540px;
}

.nav-links.single a.page-numbers {
  font-family: "Noto Sans JP", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  width: calc((100% - 20px) / 3);
  font-size: 14px;
  line-height: 38px;
  font-weight: 400;
  white-space: nowrap;
}

.nav-links.single a.page-numbers.current {
  color: var(--black);
}

@media screen and (max-width: 768px) {
  .nav-links .page-numbers {
    display: none;
  }

  .nav-links .page-numbers.current,
  .nav-links .page-numbers.prev,
  .nav-links .page-numbers.next {
    display: block;
  }
  .pc {
    display: none !important;
  }
}
@media screen and (min-width: 769px) {
  .news .wrapper .wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .news .wrapper a.news_card {
    padding: 36px 30px;
  }

  .news .wrapper a.news_card:hover {
    background: var(--gray01);
  }
  .news .wrapper dl dd.news_detail span.cate {
    padding: 0;
  }

  .news .wrapper dl dd.news_detail span.cate span {
    font-size: 12px;
  }

  .news .wrapper dl dd.news_content {
    font-size: 14px;
  }
  .news .wrapper h2 {
    font-size: 20px;
  }

  .news .wrapper h3 {
    font-size: 20px;
  }
  .news .wrapper h4 {
    font-size: 18px;
  }

  .news .wrapper h5 {
    font-size: 16px;
  }
  .nav-links.single a.page-numbers {
    font-size: 18px;
  }
  .sp {
    display: none !important;
  }
}
