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

#news {
  min-height: auto;
}
#news .news::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: max(7rem, 50px);
  background: #5DC2D0;
  z-index: -1;
}
#news .news__wrapper {
  padding-top: max(10.5rem, 70px);
}
#news .news__content {
  margin-top: max(2rem, 15px);
  background: #fff;
}
#news .news__content__category {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-radius: max(2.5rem, 22px) max(2.5rem, 22px) 0 0;
  overflow: hidden;
}
@media screen and (max-width: 1000px) {
  #news .news__content__category {
    grid-template-columns: repeat(2, 1fr);
  }
}
#news .news__content__category li:not(:last-of-type) {
  border-right: max(0.3rem, 3px) solid #ebebeb;
}
@media screen and (max-width: 1000px) {
  #news .news__content__category li:nth-of-type(odd) {
    border-right: none;
  }
  #news .news__content__category li.category-all {
    grid-column: 1/3;
  }
}
#news .news__content__category li button {
  position: relative;
  width: 100%;
  padding: max(2rem, 10px) 5%;
  text-align: center;
  background: #f7f7f7;
  border-bottom: max(0.3rem, 3px) solid #ebebeb;
  z-index: 0;
}
#news .news__content__category li button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #5DC2D0;
  -webkit-transform: scaleY(0);
          transform: scaleY(0);
  -webkit-transform-origin: bottom;
          transform-origin: bottom;
  -webkit-transition: 0.4s ease 0.4s;
  transition: 0.4s ease 0.4s;
  pointer-events: none;
  z-index: -1;
}
#news .news__content__category li button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: max(0.3rem, 3px);
  background: #6C9BD2;
  -webkit-transform: translateY(100%) scaleX(0);
          transform: translateY(100%) scaleX(0);
  -webkit-transform-origin: center;
          transform-origin: center;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
  z-index: -1;
  pointer-events: none;
}
#news .news__content__category li button span {
  color: #333333;
  font-size: max(1.8rem, 13px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
  opacity: 0.35;
  -webkit-transition: 0.4s ease 0.4s;
  transition: 0.4s ease 0.4s;
}
#news .news__content__category li button:hover::after {
  -webkit-transform: translateY(100%) scaleX(1);
          transform: translateY(100%) scaleX(1);
}
#news .news__content__category li button.is-active {
  pointer-events: none;
}
#news .news__content__category li button.is-active::before {
  -webkit-transform: scaleY(1);
          transform: scaleY(1);
}
#news .news__content__category li button.is-active::after {
  -webkit-transform: translateY(100%) scaleX(1);
          transform: translateY(100%) scaleX(1);
}
#news .news__content__category li button.is-active span {
  color: #fff;
  opacity: 1;
}
#news .news__content__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  padding-top: max(7.5rem, 30px);
}
@media screen and (max-width: 1000px) {
  #news .news__content__inner {
    padding-top: max(3rem, 20px);
    grid-template-columns: 1fr;
  }
}
#news .news__content__tag {
  display: grid;
  row-gap: max(2rem, 10px);
  position: relative;
  padding-right: max(8rem, 20px);
}
@media screen and (max-width: 1000px) {
  #news .news__content__tag {
    display: none;
  }
}
#news .news__content__tag::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background-image: linear-gradient(to bottom, #000 4px, transparent 3px);
  background-size: 1px 7px;
}
#news .news__content__tag li button {
  --fontSize: max(1.4rem, 13px);
  --circleScale: 0;
  position: relative;
  padding-left: calc(var(--fontSize) * 1.2);
  color: #b3b3b3;
  font-size: var(--fontSize);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.05em;
  -webkit-transition: color 0.4s ease;
  transition: color 0.4s ease;
}
#news .news__content__tag li button::before {
  content: "";
  position: absolute;
  left: 0;
  width: calc(var(--fontSize) * 0.7);
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: #5DC2D0;
  -webkit-transform: translateY(calc(var(--fontSize) * 0.175)) scale(var(--circleScale));
          transform: translateY(calc(var(--fontSize) * 0.175)) scale(var(--circleScale));
  -webkit-transition: background 0.4s ease, -webkit-transform 0.4s ease;
  transition: background 0.4s ease, -webkit-transform 0.4s ease;
  transition: transform 0.4s ease, background 0.4s ease;
  transition: transform 0.4s ease, background 0.4s ease, -webkit-transform 0.4s ease;
}
#news .news__content__tag li button:hover {
  color: #333333;
}
#news .news__content__tag li button:hover::before {
  --circleScale: 1;
  background: rgba(93, 194, 208, 0.6);
}
#news .news__content__tag li button.is-active {
  --circleScale: 1;
  color: #5DC2D0;
  pointer-events: none;
}
#news .news__content__tag-select {
  display: none;
}
@media screen and (max-width: 1000px) {
  #news .news__content__tag-select {
    display: block;
    width: 100%;
    padding: max(1.5rem, 14px) max(2rem, 15px);
    font-size: max(1.8rem, 13px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.05em;
    color: #5DC2D0;
    background: #fff;
    border: 1px solid #5DC2D0;
    border-radius: max(0.9rem, 6px);
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.916' height='15.202' viewBox='0 0 16.916 15.202'%3E%3Cpath d='M8.457,15.2C10.331,10.151,13.529,3.884,16.916,0L8.457,3.059,0,0C3.387,3.885,6.585,10.151,8.457,15.2' fill='%235dc2d0'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right max(1.5rem, 12px) center;
    background-size: max(2rem, 15px);
    -webkit-transition: outline 0.4s ease;
    transition: outline 0.4s ease;
    cursor: pointer;
  }
  #news .news__content__tag-select:hover, #news .news__content__tag-select:focus {
    outline: 2px solid #5DC2D0;
    outline-offset: -2px;
  }
}
#news .news__content__list {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: repeat(5, 1fr);
  row-gap: max(1.7rem, 15px);
  padding-left: max(8rem, 20px);
  background: #fff;
}
@media screen and (max-width: 1300px) {
  #news .news__content__list {
    grid-template-columns: auto 1fr;
  }
}
@media screen and (max-width: 1000px) {
  #news .news__content__list {
    padding-left: 0;
    padding-top: max(7rem, 30px);
  }
}
#news .news__content__list__item {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: span 3;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
  transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transition: opacity 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
  opacity: 1;
}
@media screen and (max-width: 1300px) {
  #news .news__content__list__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 5px;
  }
}
#news .news__content__list__item.is-fading-out {
  opacity: 0;
  -webkit-transform: translateY(-15px);
          transform: translateY(-15px);
}
#news .news__content__list__item.is-fading-in {
  opacity: 0;
  -webkit-transform: translateY(15px);
          transform: translateY(15px);
}
#news .news__content__list__item__date {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  font-family: YakuHanJP, "Manrope", "IBM Plex Sans JP", sans-serif;
  font-size: max(1.6rem, 12px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  margin-right: max(1.8rem, 5px);
}
#news .news__content__list__item__tags {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: max(1.2rem, 2px);
  margin-right: max(2.5rem, 20px);
}
@media screen and (max-width: 1300px) {
  #news .news__content__list__item__tags {
    grid-template-columns: auto auto;
    margin-right: 0;
  }
}
#news .news__content__list__item__tags li a {
  font-size: max(1.4rem, 10px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  padding: max(1rem, 8px) max(0.8rem, 5px);
  text-align: center;
  background: #E4F7F8;
  border-radius: max(0.4rem, 4px);
  overflow: hidden;
}
#news .news__content__list__item__tags li a:hover {
  -webkit-filter: invert(0.1);
          filter: invert(0.1);
}
#news .news__content__list__item__tags li.category-from-office a {
  background: #dbdbdb;
}
#news .news__content__list__item__tags li.category-pt a {
  color: #fff;
  background: #6C9BD2;
}
#news .news__content__list__item__tags li.category-po a {
  color: #fff;
  background: #F5A73E;
}
#news .news__content__list__item__tags li.category-st a {
  color: #fff;
  background: #EF858C;
}
#news .news__content__list__item__link {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
@media screen and (max-width: 1300px) {
  #news .news__content__list__item__link {
    width: 100%;
  }
}
#news .news__content__list__item__link h3 {
  position: relative;
  display: inline;
  font-size: max(1.5rem, 13px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
}
#news .news__content__list__item__link h3::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: max(0.1rem, 1px);
  background: #5DC2D0;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  -webkit-transform-origin: left;
          transform-origin: left;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
}
#news .news__content__list__item__link:hover h3::before {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}
#news .news__content__list__loading, #news .news__content__list__error, #news .news__content__list__empty {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: max(0.95rem, 7.5px) 0;
  font-size: max(1.5rem, 13px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media screen and (max-width: 1300px) {
  #news .news__content__list__loading, #news .news__content__list__error, #news .news__content__list__empty {
    padding: 16.5px 0;
    line-height: 2;
  }
}
#news .news__content__list__error {
  color: #ef5350;
}
#news .news__content__btn {
  position: relative;
  padding: max(6rem, 30px) max(9rem, 20px) max(7.5rem, 40px);
}
#news .news__content .pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: max(6.5rem, 20px);
  padding-top: max(10rem, 40px);
  padding-bottom: max(7.5rem, 40px);
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
}
#news .news__content .pagination.is-hidden {
  opacity: 0;
  pointer-events: none;
}
#news .news__content .pagination__btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: max(0.5rem, 5px);
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
}
#news .news__content .pagination__btn__text {
  font-family: YakuHanJP, "Manrope", "IBM Plex Sans JP", sans-serif;
  font-size: max(1.6rem, 13px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  -webkit-transform: translateY(1%);
          transform: translateY(1%);
}
#news .news__content .pagination__btn svg {
  width: max(1.5rem, 12px);
  height: auto;
  fill: #5DC2D0;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
}
#news .news__content .pagination__btn:disabled {
  opacity: 0.3;
  cursor: default;
}
#news .news__content .pagination__btn--prev:hover:not(:disabled) svg {
  -webkit-transform: translateX(-15%);
          transform: translateX(-15%);
}
#news .news__content .pagination__btn--next:hover:not(:disabled) svg {
  -webkit-transform: translateX(15%);
          transform: translateX(15%);
}
#news .news__content .pagination__numbers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: max(1rem, 10px);
}
#news .news__content .pagination__numbers button {
  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;
  width: max(4.5rem, 36px);
  height: max(4.5rem, 36px);
  border-radius: 50%;
  font-family: YakuHanJP, "Manrope", "IBM Plex Sans JP", sans-serif;
  font-size: max(1.6rem, 13px);
  font-weight: 600;
  line-height: 1;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
#news .news__content .pagination__numbers button:hover:not(.is-active) {
  background: rgb(195.6, 237.4, 239.6);
}
#news .news__content .pagination__numbers button.is-active {
  color: #fff;
  background: #5DC2D0;
  pointer-events: none;
}
#news .news__content .pagination__ellipsis {
  font-family: YakuHanJP, "Manrope", "IBM Plex Sans JP", sans-serif;
  font-size: max(1.6rem, 13px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2em;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}/*# sourceMappingURL=archive-news.css.map */