@charset 'UTF-8';

/* main > article */
#wrapper > main > article {
  padding: 6.4rem 0;
}
@media screen and (min-width: 768px) {
  #wrapper > main > article {
    padding: 10.4rem 0;
  }
}

/* artlist */
#artlist {
  padding: 6.2rem 0;
  margin: 0 auto;
  max-width: 97.4rem;
}
@media screen and (min-width: 768px) {
  #artlist {
    padding: 8.8rem 0;
  }
}
#artlist article {
  padding: 1.6rem 0;
}
@media screen and (min-width: 768px) {
  #artlist article {
    padding: 3.2rem 0;
  }
}
#artlist article a {
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  #artlist article a {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
}
#artlist article h2 {
  padding: 0.25em 0;
  margin: 0;
  /* font-size: 1.4rem; */
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: calc(0.56 / 14 * 1em);
}
#artlist article time {
  padding: 0.7em 0;
  order: -10;
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: calc(0.84 / 14 * 1em);
}

/* pagination */
#pagination {
  padding-top: 1.2rem;
}
@media screen and (min-width: 768px) {
  #pagination {
    padding-top: 8rem;
  }
}
#pagination > div {
  display: flex;
  justify-content: center;
}
#pagination a,
#pagination span {
  padding: 1em 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 3.6rem;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
}
#pagination a:not([rel]):not(.first):not(.last):not(.current) {
  transition: 0.2s color ease-out;
}
#pagination a:not([rel]):not(.first):not(.last):not(.current):hover {
  opacity: 1;
}
#pagination a:not([rel]):not(.first):not(.last):not(.current):not(:hover) {
  color: rgb(203, 195, 178);
}
@media screen and (max-width: 767px) {
  /* sp only */
  #pagination a[rel="prev"],
  #pagination .first,
  #pagination a[rel="next"],
  #pagination .last {
    font-size: 0;
  }
}
@media screen and (min-width: 768px) {
  #pagination a[rel="prev"],
  #pagination .first {
    margin-right: 5rem;
  }
  #pagination a[rel="next"],
  #pagination .last {
    margin-left: 5rem;
  }
}
#pagination a[rel="prev"]::before {
  content: "";
  width: 1em;
  height: 1em;
  background: url(../images/ico_next.svg) no-repeat 100% 50% / contain;
  scale: -1;
}
#pagination a[rel="next"]::after {
  content: "";
  width: 1em;
  height: 1em;
  background: url(../images/ico_next.svg) no-repeat 100% 50% / contain;
}
#pagination a.first::before {
  content: "";
  padding-left: 1rem;
  width: 1em;
  height: 1em;
  background: url(../images/ico_last.svg) no-repeat 100% 50% / contain;
  scale: -1;
}
#pagination a.last::after {
  content: "";
  padding-left: 1rem;
  width: 1em;
  height: 1em;
  background: url(../images/ico_last.svg) no-repeat 100% 50% / contain;
}
@media screen and (max-width: 767px) {
  /* sp only */
  #pagination a[rel="prev"]::before,
  #pagination .first::before,
  #pagination a[rel="next"]::after,
  #pagination .last::after {
    font-size: 1.4rem;
  }
}
