@charset "utf-8";
li {
  list-style: none;
}

/* ここからarchive */
.news_archive_top {
  position: relative;
  min-height: 30vh;
}

.archive_main_img {
  min-height: 30vh;
}

.archive_main_img img {
  min-height: 30vh;
}
.page_title_container {
display: flex;
flex-direction: column;
gap: 8px;
position: absolute;
/* bottom: 100px; */
  top: 45%;
/* left: 142px; */
left: 10.142857142857142vw;
}

@media (max-width:768px){
  .page_title_container {
/* bottom: 20px; */
left: 20px;

}
}


.link_line_container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.link_line {
  color: var(--color-black);
font-weight: 400;
font-size: 13px;
line-height: 1.5;
position: relative;
}

.link_line.link_underline:before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--color-black);
  position: absolute;
  bottom: 0;
  left: 0;
}

.link_line_arrow {
  max-width: 13px;
}


.page_title {
  color: var(--color-black);
  font-family: var(--font-lato);
font-weight: 700;
font-size: 48px;
line-height: 1;
text-transform: uppercase;
}
@media (max-width:768px){
  .page_title {
font-size: 32px;
}
}

.news_list {
  margin: 100px auto 200px;
}
@media (max-width:768px){
  .news_list {
  margin: 80px auto 100px;
}
}
.archive_list {
  max-width: 954px;
  margin: 0 auto;
}

.archive_list_item {
  border-top: 1px solid hsla(0, 0%, 86%, 1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.archive_list_item::before {
  display: block;
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-lite-gray);
  transition: transform 0.6s ease;
  transform: scaleX(0);
  transform-origin: right;
  z-index: -1;
}

.archive_list_item:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.archive_list_item:last-child {
  border-bottom: 1px solid hsla(0, 0%, 86%, 1);
}

.news_link {
  color: var(--color-black);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  padding: 20px 22px;
  width: 100%;
}

.archive_list_item_info_date {
  font-size: 12px;
}

.archive_list_item_title {
  max-width: 700px;
}

@media (max-width: 1020px) {
.archive_list_item_title {
  max-width: 500px;
}
}

@media (max-width: 790px) {
.archive_list_item_title {
  max-width: 400px;
}
}

@media (max-width: 768px) {
.archive_list_item_title {
font-size: 14px;
}
}

@media (max-width: 570px) {
.archive_list_item_title {
  max-width: 300px;
}
}

@media (max-width: 465px) {
.archive_list_item_title {
  max-width: 250px;
}
}

@media (max-width: 400px) {
.archive_list_item_title {
  max-width: 210px;
}
}

/* 矢印アイコン */
.icon-arrow {
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 24px;
  bottom: 0;
  width: 24px;
  margin: auto 0;
  line-height: 1;
}
@media (max-width: 465px) {
  .icon-arrow {
  right: 6px;
}
}
.icon-arrow:before,
.icon-arrow:after {
  content: url(../img/top/news_arrow.svg);
  position: absolute;
  top: 40%;
  right: 0;
  animation-fill-mode: forwards;
  animation-duration: 0.6s;
}

.icon-arrow:after {
  transform: translateX(-100%);
}

.archive_list_item:hover .icon-arrow:before {
  animation-name: transformRightLeft;
  /* 修正: hover時のアニメーションを指定 */
  animation-delay: 0s;
}

.archive_list_item:hover .icon-arrow:after {
  animation-name: transformLeftRight;
  /* 修正: hover時のアニメーションを指定 */
  animation-delay: 0.2s;
}

@keyframes transformLeftRight {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes transformRightLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}

/* ページねージョン */
.nav-links {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  gap: 12px;
}

@media (max-width: 768px) {
  .nav-links {
  margin-top: 40px;
}
}
.page-numbers {
  color: var(--color-black);
  position: relative;
  z-index: 1;

font-weight: 500;
font-size: 20px;
line-height: 1.5;
text-align: center;
vertical-align: middle;
text-box-trim: trim-both;
}

@media (max-width: 768px) {
.page-numbers {
  font-size: 15px;
}
}

.page-numbers {
  color: var(--color-black);
  background-image: linear-gradient(var(--color-black), var(--color-black));
  background-repeat: no-repeat;
  background-position: bottom left;
  /* 下線の初期位置 */
  background-size: 100% 1px;
  /* 下線のサイズ（横幅、高さ） */
  transition: background-size 0.3s;
}

.page-numbers:hover {
  background-position: bottom right;
  /* 下線のホバー時位置 */
  background-size: 0 1px;
  /* 下線の横幅を100%にする */
}

.current {
  color: var(--color-white);
  background: var(--color-black);
  border-radius: 999px;
  /* padding: 8px 4px; */
  min-width: 31px;
  max-height: 31px;
  text-decoration: none;
}
@media (max-width: 768px) {
  .current {
    min-width: 21px;
  }
}

.prev, .next {
  color: var(--color-black);
  background-image: linear-gradient(var(--color-black), var(--color-black));
  background-repeat: no-repeat;
  background-position: bottom left;
  /* 下線の初期位置 */
  background-size: 100% 1px;
  /* 下線のサイズ（横幅、高さ） */
  transition: background-size 0.3s;
}

.prev:hover, .next:hover {
  background-position: bottom right;
  /* 下線のホバー時位置 */
  background-size: 0 1px;
  /* 下線の横幅を100%にする */
}


.inactive {
  color: var(--color-lite-gray);
  text-decoration: none;
}
.prev {
  margin-right: 12px;
}

.prev.inactive {
    color: var(--color-lite-gray);
    background: none;
}

.next {
  margin-left: 12px;
}

.next.inactive {
    color: var(--color-lite-gray);
    background: none;
}


