/*
Theme Name: Twenty Twenty-one Child
Version: 1.6
Template: twentytwentyone
*/
:root {
  --viewport-width: min(100vw, 2000px);
  --b: calc(var(--viewport-width) / 160);
}

#archive-news #content {
  background: #fff;
  min-height: 100vh;
}
#archive-news #content .content__wrapper {
  padding-top: max(12.5rem, 70px);
  padding-bottom: max(18rem, 100px);
}
#archive-news #content .content__wrapper .category__list {
  display: flex;
  flex-wrap: wrap;
  gap: max(1rem, 5px) max(1rem, 10px);
}
@media screen and (max-width: 768px) {
  #archive-news #content .content__wrapper .category__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 550px) {
  #archive-news #content .content__wrapper .category__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
#archive-news #content .content__wrapper .category__list--item {
  flex-shrink: 0;
  min-width: max(13.6054421769%, 150px);
}
@media screen and (max-width: 768px) {
  #archive-news #content .content__wrapper .category__list--item {
    min-width: auto;
  }
}
#archive-news #content .content__wrapper .category__list--item a {
  padding: max(1rem, 7px) max(2rem, 20px);
  text-align: center;
  border-radius: max(2rem, 19px);
  border: 1px solid #3b3128;
  font-size: max(1.4rem, 12px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}
#archive-news #content .content__wrapper .category__list--item a:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}
#archive-news #content .content__wrapper .category__list--item.focus a {
  color: #fff;
  background: #3b3128;
  pointer-events: none;
}
#archive-news #content .content__wrapper .news {
  margin-top: max(8.5rem, 50px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: max(10rem, 50px) max(6.5rem, 30px);
}
@media screen and (max-width: 1000px) {
  #archive-news #content .content__wrapper .news {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 550px) {
  #archive-news #content .content__wrapper .news {
    grid-template-columns: 1fr;
  }
}
#archive-news #content .content__wrapper .news article.news__item a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#archive-news #content .content__wrapper .news article.news__item a figure.news__item--image {
  width: 100%;
  aspect-ratio: 76/55;
  overflow: hidden;
}
#archive-news #content .content__wrapper .news article.news__item a figure.news__item--image img {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease-in-out;
}
#archive-news #content .content__wrapper .news article.news__item a .news__item--detail {
  flex: 1;
  display: flex;
  flex-direction: column;
}
#archive-news #content .content__wrapper .news article.news__item a .news__item--detail ul.news__category {
  display: flex;
  gap: max(1rem, 10px);
  margin-top: max(2.5rem, 25px);
  margin-bottom: max(1.5rem, 15px);
}
#archive-news #content .content__wrapper .news article.news__item a .news__item--detail ul.news__category li.news__category {
  padding: max(0.75rem, 7.5px) max(3rem, 20px);
  border: 1px solid #3b3128;
  border-radius: max(1.7rem, 15px);
  font-size: max(1.4rem, 12px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
}
#archive-news #content .content__wrapper .news article.news__item a .news__item--detail ul.news__category li.news__category--primary {
  color: #3b3128;
  background: #fff;
}
#archive-news #content .content__wrapper .news article.news__item a .news__item--detail h3.news__title {
  margin-bottom: max(2rem, 15px);
  font-size: max(1.4rem, 12px);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
}
#archive-news #content .content__wrapper .news article.news__item a .news__item--detail time.news__date {
  margin-top: auto;
  color: rgba(59, 49, 40, 0.4);
  font-family: YakuHanJP, "Jost", "Noto Sans JP", sans-serif;
  font-size: max(1.4rem, 12px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.05em;
}
#archive-news #content .content__wrapper .news article.news__item a:hover figure.news__item--image img {
  transform: scale(1.05);
}
#archive-news #content .content__wrapper .news .no-posts {
  grid-column: 1/-1;
  text-align: center;
  padding: max(4rem, 40px);
}
#archive-news #content .content__wrapper .news .no-posts p {
  font-size: max(1.6rem, 14px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: rgba(59, 49, 40, 0.6);
}
#archive-news #content .content__wrapper .pagination {
  margin-top: max(11.5rem, 60px);
}
#archive-news #content .content__wrapper .pagination ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: max(2rem, 20px);
}
#archive-news #content .content__wrapper .pagination ul.page-numbers li {
  line-height: 1;
}
#archive-news #content .content__wrapper .pagination ul.page-numbers li span,
#archive-news #content .content__wrapper .pagination ul.page-numbers li a {
  font-family: YakuHanJP, "Jost", "Noto Sans JP", sans-serif;
  font-size: max(1.4rem, 14px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}
#archive-news #content .content__wrapper .pagination ul.page-numbers li a {
  opacity: 0.4;
}
#archive-news #content .content__wrapper .pagination ul.page-numbers li a.next {
  opacity: 1;
}
#archive-news #content .content__wrapper .pagination ul.page-numbers li a.prev {
  opacity: 1;
}/*# sourceMappingURL=archive.css.map */