/* archive.css */


/* ページ全体 */
.archive_main_wrapper {
  width: max-content;
  margin-inline: 17.5rem;
  padding: 0 0 10rem 0;
}

.article_content_flex {
  width: calc((33rem * 3) + (5rem * 2));
  display: flex;
  flex-wrap: wrap;
  column-gap: 5rem;
  row-gap: 7rem;
  padding: 10rem 0 0 0;
}

.archive_item_wrapper {
  width: 33rem;
}

.archive_content_flex {
  display: flex;
  flex-direction: column;
  row-gap: 0.4rem;
  padding: 1.5rem 0 0 0;
  overflow-wrap: break-word;
}

.archive_header_flex {
  display: flex;
  column-gap: 1.2rem;
}

.archive_date_font,
.archive_category_font {
  font-family: var(--NotoSans);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.333em;
  color: #99A1AF;
}

.archive_category_font {
  border: 0.1rem solid #D1D5DC;
  padding: 0 0.8rem;
}

.archive_img_wrapper,
.alternative_img_frame,
.archive_article_img {
  width: 33rem;
  height: 30rem;
  border-radius: 3rem;
  box-shadow:0 0.4rem 0.4rem #00000025
}

.archive_no_thumbnail {
  object-fit: contain;
}

.archive_img_wrapper {
  position: relative;
}

.alternative_img_frame {
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(50% 50% at 50% 50%, var(--white) 0%, #FFE5EB 100%);
  box-shadow: 0 0.4rem 0.4rem 0 #00000040;
}

.archive_alternative_font {
  font-family: var(--NotoSans);
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 0.917em;
  letter-spacing: calc(0.07em / 36);
  color: #000000;
}

.archive_article_img {
  object-fit: cover;
}

.archive_circle_flex {
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  border-radius: 50%;
  border: 0.2rem solid var(--white);
  overflow: hidden;
}

.archive_circle_black {
  border: #0A0A0A 0.2rem solid;
}

.archive_post_link:hover .archive_arrow_img {
  animation: archiveArrow 0.7s;
}

@keyframes archiveArrow {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(2rem, -2rem);
  }

  51% {
    transform: translate(-2rem, 2rem);
    opacity: 0;
  }

  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}

.archive_arrow_img {
  width: 2rem;
  height: 2rem;
  object-fit: cover;
  position: absolute;
}

.arrow_black {
  filter: brightness(0) saturate(100%) invert(0%) sepia(27%) saturate(7472%) hue-rotate(98deg) brightness(67%) contrast(92%);
}

.archive_title_font,
.archive_text_font {
  font-family: var(--NotoSans);
  font-size: 1.4rem;
  line-height: 1.429em;
  letter-spacing: calc(-0.15em / 14);
}

.archive_title_font {
  font-weight: 500;
  color: #0A0A0A;
}

.archive_text_font {
  font-weight: 400;
  color: #6A7282;
}

/* ページネーション */

.page_nation_flex {
  padding: 8.5rem 0 0 0;
}

.nav-links {
  display: flex;
  justify-content: center;
  column-gap: 2rem;
  position: relative;
}

.page-numbers {
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-family: var(--NotoSans);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.429em;
  letter-spacing: calc(-0.15em / 14);
  color: #000000;
  background-color: #FFE3EC;
  border: 0.1rem solid #0A0A0A;
  border-radius: 50%;
}

.prev_arrow_font,
.next_arrow_font {
  width: 2rem;
  height: 0.1rem;
  display: inline-block;
  position: relative;
  border-radius: 999.9rem;
  background-color: #0A0A0A;
}

.next_arrow_font::before,
.next_arrow_font::after,
.prev_arrow_font::before,
.prev_arrow_font::after {
  content: "";
  width: 0.8rem;
  height: 0.1rem;
  position: absolute;
  top: calc(50% - 0.05rem);
  border-radius: 999.9rem;
  background-color: #000000;
}

.next_arrow_font::before,
.next_arrow_font::after {
  right: 0;
  transform-origin: calc(100% - 0.05rem) 50%;
}

.prev_arrow_font::before,
.prev_arrow_font::after {
  left: 0;
  transform-origin: 0.05rem 50%;
}

.next_arrow_font::before,
.prev_arrow_font::before {
  transform: rotate(45deg);
}

.prev_arrow_font::after,
.next_arrow_font::after {
  transform: rotate(-45deg);
}

/* 2026_08_12 修正 */
.page-numbers {
  background-color: var(--white);
}

.page-numbers.current {
  background-color: #FFE3EC;
}


.archive_no_thumbnail {
  padding: 3rem;
}

/* archive.css */

@media screen and (max-width: 699.98px) {

  /* ページ全体 */
  .archive_main_wrapper {
    max-width: fit-content;
    margin-inline-start: 2.2rem;
    margin-inline-end: 2.3rem;
    padding: 0 0 6rem 0;
  }

  .article_content_flex {
    width: 33rem;
    display: flex;
    flex-direction: column;
    row-gap: 5rem;
    padding: 3rem 0 0 0;
  }

  /* ページネーション */

  .page_nation_flex {
    padding: 6rem 0 0 0;
  }

  .page-numbers {
    width: 3.8rem;
    height: 3.8rem;
  }

  .nav-links {
    column-gap: 1rem;
  }
}