.bg {
  padding-top: 150px;
  background-image: url(../img/bg.png);
}

.header-border {
  z-index: 0;
}

h2.page-title {
  display: block;
  width: fit-content;
  margin: 0 auto 100px;
  position: relative;
  text-align: center;
  font-style: italic;
  text-transform: uppercase;
  line-height: normal;
}

h2.page-title:after {
  content: "";
  display: block;
  width: max(40px, 4.17vw);
  height: 5px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  background-image: linear-gradient(100deg, #0350ff, #fe45be, #fcc745);
}

@media (max-width: 450px) {
  .bg {
    padding-top: 100px;
    background-image: url(../img/bg_sp.jpg);
  }

  h2.page-title {
    margin: 0 auto 50px;
  }
}

.news {
  padding-bottom: 200px;
  position: relative;
  z-index: 5;
}

.cat-list {
  justify-content: center;
  gap: 24px 2%;
  margin-bottom: 80px;
}

.category {
  width: 13.3%;
  min-width: 140px;
  text-align: center;
}

.category a {
  display: block;
  color: #363636;
  border: 1px solid #363636;
  background-color: #fff;
  border-radius: 2em;
  font-weight: 700;
  transition: all 0.3s linear;
}

.category:hover a {
  color: #fff;
  background-color: #363636;
}

a.cat-news {
  color: #fe45be;
  border: 1px solid #fe45be;
}

.category:hover a.cat-news {
  background-color: #fe45be;
}

a.cat-column {
  color: #0350ff;
  border: 1px solid #0350ff;
}

.category:hover a.cat-column {
  background-color: #0350ff;
}

a.cat-topics {
  color: #fcc745;
  border: 1px solid #fcc745;
}

.category:hover a.cat-topics {
  background-color: #fcc745;
}

.news_list_item a {
  align-items: stretch;
  overflow: hidden;
  border-radius: max(15px, 1.56vw);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.16);
}

.news_list_item:not(:last-child) {
  margin-bottom: 50px;
}

.news_list_item a figure {
  width: 41%;
}

.news_list_item_textarea {
  flex: 1;
  padding: 6% 3.8%;
  background-color: #fff;
}

.news_list_item_textarea > p {
  font-size: 1.2rem;
  line-height: normal;
  font-weight: 800;
}

p.sub-area {
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 40px;
  font-size: max(1.2rem, 0.83vw);
  font-weight: 700;
}

p.sub-area time {
  font-weight: 700;
  color: #6f6f6f;
}

.cat {
  display: block;
  width: 112px;
  background-color: #fff;
  border-radius: 2em;
  text-align: center;
  font-size: 1.2rem;
  line-height: 2;
  color: #fff;
}

.cat.cat-news {
  border: 1px solid #fe45be;
  background-color: #fe45be;
}

.cat.cat-column {
  border: 1px solid #0350ff;
  background-color: #0350ff;
}

.cat.cat-topics {
  border: 1px solid #fcc745;
  background-color: #fcc745;
}

.news_list_item_textarea h3 {
  margin-bottom: 30px;
  font-size: max(1.6rem, 1.04vw);
  line-height: normal;
  font-weight: 800;
}

.page-nation .nav-links > .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0 auto;
  padding: 120px 0 0;
}

.page-nation .page-numbers .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.16);
  background-color: #fff;
  font-style: italic;
  font-size: 1.8rem;
  font-weight: 700;
  text-indent: -0.1em;
  color: #363636;
}

.page-nation .page-numbers .page-numbers.current {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.16);
  background-color: #363636;
  font-style: italic;
  font-size: 1.8rem;
  font-weight: 700;
  text-indent: -0.1em;
  color: #fff;
}

.page-nation .page-numbers .page-numbers.next,
.page-nation .page-numbers .page-numbers.prev {
  width: 70px;
  border-radius: 3em;
  background-image: linear-gradient(100deg, #0350ff, #fe45be, #fcc745);
  color: #fff;
}

@media (max-width: 450px) {
  .news {
    padding-bottom: 80px;
  }

  .cat-list {
    margin-bottom: 50px;
  }

  .news_list_item a {
    flex-direction: column;
  }

  .news_list_item:not(:last-child) {
    margin-bottom: 30px;
  }

  .news_list_item a figure {
    width: 100%;
    aspect-ratio: 67 / 34;
  }

  .news_list_item_textarea {
    width: 100%;
    padding: 3.8% 7%;
  }

  p.sub-area {
    margin-bottom: 15px;
  }

  .news_list_item_textarea > p {
    font-size: 1rem;
    font-weight: 500;
  }

  .news_list_item_textarea h3 {
    margin-bottom: 15px;
    font-weight: 700;
  }
}
