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

#archive-works #preface {
  background: #fff;
}
#archive-works #preface .preface__wrapper {
  padding-top: max(12.5rem, 80px);
}
#archive-works #category {
  background: #fff;
}
#archive-works #category .category__wrapper {
  padding-top: max(7rem, 30px);
  padding-bottom: max(18rem, 100px);
}
#archive-works #category .category__wrapper .category__list {
  display: flex;
  flex-wrap: wrap;
  gap: max(1rem, 5px) max(1rem, 10px);
}
@media screen and (max-width: 768px) {
  #archive-works #category .category__wrapper .category__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 550px) {
  #archive-works #category .category__wrapper .category__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
#archive-works #category .category__wrapper .category__list--item {
  flex-shrink: 0;
  min-width: max(13.6054421769%, 150px);
}
@media screen and (max-width: 768px) {
  #archive-works #category .category__wrapper .category__list--item {
    min-width: auto;
  }
}
#archive-works #category .category__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-works #category .category__wrapper .category__list--item a:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}
#archive-works #category .category__wrapper .category__list--item.focus a {
  color: #fff;
  background: #3b3128;
}
#archive-works #detail {
  background: #fff;
}
#archive-works #detail .detail__wrapper {
  padding-bottom: max(10rem, 50px);
}
#archive-works #detail .detail__wrapper .works__content .works__list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: max(6rem, 60px);
}
@media screen and (max-width: 1000px) {
  #archive-works #detail .detail__wrapper .works__content .works__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 768px) {
  #archive-works #detail .detail__wrapper .works__content .works__list {
    row-gap: max(10rem, 30px);
    grid-template-columns: 1fr;
  }
}
#archive-works #detail .detail__wrapper .works__content .works__list .works__item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: max(3rem, 30px);
}
#archive-works #detail .detail__wrapper .works__content .works__list .works__item--more figure .imageBox {
  width: 100%;
  height: auto;
  aspect-ratio: 347/248;
  margin-bottom: max(2.5rem, 20px);
  overflow: hidden;
}
#archive-works #detail .detail__wrapper .works__content .works__list .works__item--more figure .imageBox img {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease-in-out;
}
#archive-works #detail .detail__wrapper .works__content .works__list .works__item--more figure figcaption .works__item-meta {
  display: flex;
  flex-wrap: wrap;
  -moz-column-gap: max(1rem, 10px);
       column-gap: max(1rem, 10px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
#archive-works #detail .detail__wrapper .works__content .works__list .works__item--more figure figcaption .works__item-meta--num {
  font-family: YakuHanJP, "Jost", "Noto Sans JP", sans-serif;
  font-size: max(1.5rem, 13px);
}
#archive-works #detail .detail__wrapper .works__content .works__list .works__item--more figure figcaption .works__item-meta--place {
  font-size: max(1.4rem, 12px);
}
#archive-works #detail .detail__wrapper .works__content .works__list .works__item--more figure figcaption h3.works__item-title {
  font-size: max(1.6rem, 14px);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
  margin-top: max(1rem, 10px);
}
#archive-works #detail .detail__wrapper .works__content .works__list .works__item--more:hover figure .imageBox img {
  transform: scale(1.05);
}
#archive-works #detail .detail__wrapper .works__content .works__list .works__item--category {
  display: flex;
  flex-wrap: wrap;
  gap: max(1rem, 10px);
}
#archive-works #detail .detail__wrapper .works__content .works__list .works__item--category li {
  line-height: 1;
}
#archive-works #detail .detail__wrapper .works__content .works__list .works__item--category li a {
  display: inline-block;
  color: rgba(59, 49, 40, 0.4);
  font-size: max(1.3rem, 11px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  transition: transform 0.4s ease-in-out, text-shadow 0.4s ease-in-out;
}
#archive-works #detail .detail__wrapper .works__content .works__list .works__item--category li a:hover {
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
#archive-works #detail .pagination {
  margin-top: max(11.5rem, 60px);
}
#archive-works #detail .pagination ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: max(2rem, 20px);
}
#archive-works #detail .pagination ul.page-numbers li {
  line-height: 1;
}
#archive-works #detail .pagination ul.page-numbers li span,
#archive-works #detail .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-works #detail .pagination ul.page-numbers li a {
  position: relative;
  opacity: 0.4;
}
#archive-works #detail .pagination ul.page-numbers li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: max(0.1rem, 1px);
  background: #3b3128;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease-in-out;
}
#archive-works #detail .pagination ul.page-numbers li a.next {
  opacity: 1;
}
#archive-works #detail .pagination ul.page-numbers li a.next::before {
  display: none;
}
#archive-works #detail .pagination ul.page-numbers li a.prev {
  opacity: 1;
}
#archive-works #detail .pagination ul.page-numbers li a.prev::before {
  display: none;
}
#archive-works #detail .pagination ul.page-numbers li a:hover::before {
  transform: scaleX(1);
}
#archive-works #popularity {
  background: #fff;
}
#archive-works #popularity .popularity__wrapper {
  border-top: 1px solid rgba(59, 49, 40, 0.15);
  padding-top: max(max(10rem, 50px));
  padding-bottom: max(16rem, 100px);
}
#archive-works #popularity .popularity__wrapper .works__content .works__list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: max(6rem, 60px);
}
@media screen and (max-width: 1000px) {
  #archive-works #popularity .popularity__wrapper .works__content .works__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 768px) {
  #archive-works #popularity .popularity__wrapper .works__content .works__list {
    row-gap: max(10rem, 30px);
    grid-template-columns: 1fr;
  }
}
#archive-works #popularity .popularity__wrapper .works__content .works__list .works__item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: max(3rem, 30px);
}
#archive-works #popularity .popularity__wrapper .works__content .works__list .works__item--more figure .imageBox {
  width: 100%;
  height: auto;
  aspect-ratio: 347/248;
  margin-bottom: max(2.5rem, 20px);
  overflow: hidden;
}
#archive-works #popularity .popularity__wrapper .works__content .works__list .works__item--more figure .imageBox img {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease-in-out;
}
#archive-works #popularity .popularity__wrapper .works__content .works__list .works__item--more figure figcaption .works__item-meta {
  display: flex;
  flex-wrap: wrap;
  -moz-column-gap: max(1rem, 10px);
       column-gap: max(1rem, 10px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
#archive-works #popularity .popularity__wrapper .works__content .works__list .works__item--more figure figcaption .works__item-meta--num {
  font-family: YakuHanJP, "Jost", "Noto Sans JP", sans-serif;
  font-size: max(1.5rem, 13px);
}
#archive-works #popularity .popularity__wrapper .works__content .works__list .works__item--more figure figcaption .works__item-meta--place {
  font-size: max(1.4rem, 12px);
}
#archive-works #popularity .popularity__wrapper .works__content .works__list .works__item--more figure figcaption h3.works__item-title {
  font-size: max(1.6rem, 14px);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
  margin-top: max(1rem, 10px);
}
#archive-works #popularity .popularity__wrapper .works__content .works__list .works__item--more:hover figure .imageBox img {
  transform: scale(1.05);
}
#archive-works #popularity .popularity__wrapper .works__content .works__list .works__item--category {
  display: flex;
  flex-wrap: wrap;
  gap: max(1rem, 10px);
}
#archive-works #popularity .popularity__wrapper .works__content .works__list .works__item--category li {
  line-height: 1;
}
#archive-works #popularity .popularity__wrapper .works__content .works__list .works__item--category li a {
  display: inline-block;
  color: rgba(59, 49, 40, 0.4);
  font-size: max(1.3rem, 11px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  transition: transform 0.4s ease-in-out, text-shadow 0.4s ease-in-out;
}
#archive-works #popularity .popularity__wrapper .works__content .works__list .works__item--category li a:hover {
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}/*# sourceMappingURL=archive-works.css.map */