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

#archiveNews .news {
  padding-bottom: max(11rem, 70px);
}
#archiveNews .news__wrapper {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 50px max(20rem, 50px);
}
@media screen and (max-width: 1000px) {
  #archiveNews .news__wrapper {
    grid-template-columns: 1fr;
  }
}
#archiveNews .news__sidebar {
  position: sticky;
  -ms-flex-item-align: start;
      align-self: flex-start;
  top: calc(max(8rem, 50px) * 2);
}
@media screen and (max-width: 1000px) {
  #archiveNews .news__sidebar {
    position: static;
    -ms-flex-item-align: stretch;
        align-self: stretch;
  }
}
#archiveNews .news__sidebar h3 {
  position: relative;
  display: inline-block;
  color: #177e5d;
  font-size: max(2rem, 16px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.075em;
  padding-bottom: max(2rem, 10px);
  margin-bottom: max(2.5rem, 15px);
}
#archiveNews .news__sidebar h3::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80%;
  height: 1px;
  background: #177e5d;
}
#archiveNews .news__sidebar__tag {
  display: grid;
  row-gap: max(1rem, 10px);
}
#archiveNews .news__sidebar__tag li button {
  position: relative;
  padding-left: 1.5em;
  font-size: max(1.4rem, 13px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
#archiveNews .news__sidebar__tag li button::before, #archiveNews .news__sidebar__tag li button::after {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 0.75em;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 50%;
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transform-origin: center;
          transform-origin: center;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}
#archiveNews .news__sidebar__tag li button::before {
  background: rgba(23, 126, 93, 0.7);
  z-index: -1;
}
#archiveNews .news__sidebar__tag li button::after {
  background: #177e5d;
  -webkit-transition-delay: 0.2s;
          transition-delay: 0.2s;
  z-index: -2;
}
#archiveNews .news__sidebar__tag li button:hover::before, #archiveNews .news__sidebar__tag li button:hover::after {
  -webkit-transform: scale(1);
          transform: scale(1);
}
#archiveNews .news__sidebar__tag li button span {
  opacity: 0.3;
}
#archiveNews .news__sidebar__tag li button.is-active {
  pointer-events: none;
}
#archiveNews .news__sidebar__tag li button.is-active::after {
  -webkit-transform: scale(1);
          transform: scale(1);
}
#archiveNews .news__sidebar__tag li button.is-active span {
  opacity: 1;
}
#archiveNews .news__content {
  display: grid;
  gap: max(4rem, 30px);
}
#archiveNews .news__content__category {
  position: relative;
  width: max(43rem, 200px);
}
@media screen and (max-width: 1000px) {
  #archiveNews .news__content__category {
    width: 100%;
  }
}
#archiveNews .news__content__category::after {
  content: "";
  position: absolute;
  top: 50%;
  right: max(1.5rem, 12px);
  width: max(0.8rem, 7px);
  height: max(0.8rem, 7px);
  border-right: max(0.2rem, 2px) solid #177e5d;
  border-bottom: max(0.2rem, 2px) solid #177e5d;
  -webkit-transform: translateY(-75%) rotate(45deg);
          transform: translateY(-75%) rotate(45deg);
  pointer-events: none;
}
#archiveNews .news__content__category__select {
  width: 100%;
  padding: max(1.5rem, 15px) max(4rem, 32px) max(1.5rem, 15px) max(1.8rem, 15px);
  background: #fff;
  border-radius: max(1rem, 10px);
  -webkit-box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.15);
          box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.15);
  border: max(0.2rem, 2px) solid #177e5d;
  color: #177e5d;
  font-size: max(1.6rem, 14px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  -webkit-transition: background 0.5s ease, color 0.5s ease;
  transition: background 0.5s ease, color 0.5s ease;
}
#archiveNews .news__content__category__select:focus {
  color: #fff;
  outline: none;
  background: #177e5d;
}
#archiveNews .news__content__list {
  --news-list-gap: max(3rem, 10px);
  display: grid;
  -webkit-column-gap: var(--news-list-gap);
     -moz-column-gap: var(--news-list-gap);
          column-gap: var(--news-list-gap);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, max(250px, (100% - 2 * var(--news-list-gap)) / 3)), 1fr));
  grid-template-rows: auto auto auto 1fr;
}
@media screen and (max-width: 1000px) {
  #archiveNews .news__content__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
#archiveNews .news__content__list__empty {
  grid-column: 1/3;
}
#archiveNews .news__content__list.is-fading .news__content__list__item {
  opacity: 0;
  -webkit-transform: translateY(12px);
          transform: translateY(12px);
}
#archiveNews .news__content__list__item {
  display: grid;
  grid-template-rows: subgrid;
  gap: 0;
  grid-row: span 4;
  margin-bottom: max(10rem, 50px);
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition: opacity 320ms ease, -webkit-transform 320ms ease;
  transition: opacity 320ms ease, -webkit-transform 320ms ease;
  transition: opacity 320ms ease, transform 320ms ease;
  transition: opacity 320ms ease, transform 320ms ease, -webkit-transform 320ms ease;
  will-change: opacity, transform;
}
#archiveNews .news__content__list__item__thumbnail {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 30/23;
  border-radius: max(1rem, 10px);
  -webkit-box-shadow: 3px 3px 0 rgba(233, 234, 228, 0.8);
          box-shadow: 3px 3px 0 rgba(233, 234, 228, 0.8);
  -webkit-transition: -webkit-transform 0.5s ease, -webkit-box-shadow 0.5s ease;
  transition: -webkit-transform 0.5s ease, -webkit-box-shadow 0.5s ease;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  transition: transform 0.5s ease, box-shadow 0.5s ease, -webkit-transform 0.5s ease, -webkit-box-shadow 0.5s ease;
  overflow: hidden;
}
#archiveNews .news__content__list__item__thumbnail::before, #archiveNews .news__content__list__item__thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #177e5d;
  mix-blend-mode: lighten;
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transform-origin: center;
          transform-origin: center;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  border-radius: max(1rem, 10px);
}
#archiveNews .news__content__list__item__thumbnail::after {
  background: #177e5d;
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}
#archiveNews .news__content__list__item__thumbnail img {
  width: 100%;
  height: 100%;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}
#archiveNews .news__content__list__item__terms {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: -webkit-min-content;
  height: -moz-min-content;
  height: min-content;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: max(0.5rem, 5px);
  margin-top: max(1.5rem, 15px);
  margin-bottom: max(1rem, 10px);
}
#archiveNews .news__content__list__item__terms li {
  padding: max(0.5rem, 5px) max(2rem, 10px);
  border-radius: 999px;
  font-size: max(1.3rem, 10px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}
#archiveNews .news__content__list__item__terms li.category {
  color: #fff;
  background: #177e5d;
}
#archiveNews .news__content__list__item__terms li.tag {
  color: #000000;
  background: #e6e6e6;
}
#archiveNews .news__content__list__item__date {
  margin-bottom: max(0.5rem, 5px);
  font-size: max(1.3rem, 11px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}
#archiveNews .news__content__list__item__title {
  font-size: max(1.4rem, 12px);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.05em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  text-overflow: ellipsis;
}
#archiveNews .news__content__list__item a {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
}
#archiveNews .news__content__list__item a:hover .news__content__list__item__thumbnail {
  -webkit-transform: translate(3px, 3px);
          transform: translate(3px, 3px);
  -webkit-box-shadow: 0 0 0 rgba(233, 234, 228, 0.8);
          box-shadow: 0 0 0 rgba(233, 234, 228, 0.8);
}
#archiveNews .news__content__list__item a:hover .news__content__list__item__thumbnail::before, #archiveNews .news__content__list__item a:hover .news__content__list__item__thumbnail::after {
  -webkit-transform: scale(1);
          transform: scale(1);
}
#archiveNews .news__content__list__item a:hover .news__content__list__item__thumbnail img {
  -webkit-transform: scale(1.01);
          transform: scale(1.01);
}
#archiveNews .news .pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: max(2.5rem, 20px);
  padding-top: max(5rem, 40px);
}
#archiveNews .news .pagination.is-hidden {
  display: none;
}
#archiveNews .news .pagination__btn, #archiveNews .news .pagination__numbers button {
  border: none;
  color: #177e5d;
  font-size: max(2rem, 13px);
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  -webkit-transition: color 0.5s ease, background 0.5s ease;
  transition: color 0.5s ease, background 0.5s ease;
}
#archiveNews .news .pagination__btn {
  color: #177e5d;
}
#archiveNews .news .pagination__btn[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
}
#archiveNews .news .pagination__numbers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: max(2rem, 15px);
}
#archiveNews .news .pagination__numbers button {
  display: grid;
  place-items: center;
  width: max(6rem, 30px);
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: max(0.1rem, 1px) solid #177e5d;
  color: #177e5d;
  -webkit-transition: background 0.5s ease;
  transition: background 0.5s ease;
}
#archiveNews .news .pagination__numbers button:hover {
  background: rgba(23, 126, 93, 0.2);
}
#archiveNews .news .pagination__numbers button.is-active {
  position: relative;
  color: #fff;
  background: #177e5d;
  pointer-events: none;
}
#archiveNews .news .pagination__ellipsis {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: rgba(0, 0, 0, 0.5);
  font-size: max(1.6rem, 14px);
}/*# sourceMappingURL=archive-news.css.map */