@charset "UTF-8";
* {
  font-family: "Zen Kaku Gothic New";
  color: #333;
}

main {
  margin-top: 80px;
}
@media (max-width: 768px) {
  main {
    margin-top: 70px;
  }
}

.first__section {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 80px;
  overflow: hidden;
}
.first__section h2 {
  color: #fff;
  font-size: clamp(2.188rem, 1.417rem + 3.29vw, 4.375rem);
  font-weight: 900;
  text-align: center;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.3);
}

.archive__section {
  margin-bottom: 130px;
}
.archive__inner {
  width: 90%;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  justify-content: center;
  grid-template-columns: minmax(200px, 784px) minmax(auto, 336px);
  gap: 40px;
}

.list__wrap {
  background: #F4F9F6;
  padding: 70px 40px;
}
.list__wrap article {
  border-bottom: 1px solid #aaa;
  box-sizing: border-box;
  margin-bottom: 40px;
  padding-bottom: 15px;
}
.list__data {
  display: grid;
  grid-template-columns: minmax(75px, auto) 1fr;
  align-items: center;
  margin-bottom: 15px;
}
.list__time {
  font-size: 18px;
  font-weight: 500;
  margin: 0 20px 0 0;
}
.list__category ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.list__category a {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  background: #7DBA8C;
  padding: 8px 18px;
  border-radius: 500px;
}
.list__body a {
  display: block;
  width: 100%;
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.page-numbers {
  width: 30px;
  height: 30px;
  padding: 1px 10px;
  font-size: 20px;
  font-weight: 500;
  color: #7DBA8C;
  background: #fff;
  border: 1px solid #7DBA8C;
  border-radius: 50%;
  transition: color 0.4s ease, background 0.4s ease;
}
.page-numbers:hover {
  color: #fff;
  background: #7DBA8C;
  opacity: 1;
}
.page-numbers.current {
  color: #fff;
  background: #7DBA8C;
}
.page-numbers.next, .page-numbers.prev {
  width: unset;
  height: unset;
  border: unset;
  border-radius: unset;
  font-size: 16px;
  font-weight: 500;
  background-color: unset;
  transition: opacity 0.4s ease;
}
.page-numbers.next:hover, .page-numbers.prev:hover {
  color: #7DBA8C;
  opacity: 0.4;
}
.page-numbers.next {
  margin-left: 10px;
  padding: 0 14px 2px 0;
  background: url(../images/pager__next.webp) no-repeat center right/12px;
}
.page-numbers.prev {
  margin-right: 10px;
  padding: 0 0 2px 14px;
  background: url(../images/pager__prev.webp) no-repeat center left/12px;
}

.aside__contents {
  background: #F4F9F6;
  padding: 40px;
  height: -moz-min-content;
  height: min-content;
}
.aside__categories {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #aaa;
}
.aside__title {
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.aside__title::before {
  content: "●";
  font-size: 20px;
  color: #7DBA8C;
}
.aside__categories-el {
  font-size: 16px;
}
.aside__categories-el a {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  font-weight: 400;
}
.aside__categories-el:not(:last-child) {
  margin-bottom: 5px;
}
.aside__select {
  font-size: 16px;
  width: 100%;
  padding: 15px 0;
  text-align: center;
  outline: 0;
  border: 1px solid #7DBA8C;
  background: #fff url(../images/iconArrow__mainColor.svg) no-repeat right 10px center/12px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .first__section {
    height: 335px;
  }
  .archive__inner {
    grid-template-columns: 1fr;
  }
  .list__wrap {
    padding: clamp(1.25rem, 0.057rem + 5.09vw, 2.5rem);
  }
  .list__wrap article {
    margin-bottom: clamp(1.25rem, 0.057rem + 5.09vw, 2.5rem);
  }
  .list__data {
    grid-template-columns: 1fr;
  }
  .list__time {
    font-size: clamp(1rem, 0.881rem + 0.51vw, 1.125rem);
    margin: 0 0 clamp(0.313rem, 0.014rem + 1.27vw, 0.625rem) 0;
  }
  .list__category ul {
    flex-wrap: wrap;
  }
  .list__category a {
    font-size: clamp(0.875rem, 0.756rem + 0.51vw, 1rem);
    padding: clamp(0.375rem, 0.256rem + 0.51vw, 0.5rem) clamp(1rem, 0.881rem + 0.51vw, 1.125rem);
  }
  .list__body a {
    font-size: clamp(1.125rem, 1.006rem + 0.51vw, 1.25rem);
  }
  .nav-links {
    flex-wrap: wrap;
  }
  .page-numbers {
    padding: clamp(0.063rem, 0.003rem + 0.25vw, 0.125rem) clamp(0.625rem, 0.565rem + 0.25vw, 0.688rem);
    font-size: clamp(1.125rem, 1.006rem + 0.51vw, 1.25rem);
  }
  .page-numbers.prev, .page-numbers.next {
    font-size: 14px;
  }
  .page-numbers.prev:hover, .page-numbers.next:hover {
    opacity: 1;
  }
  .page-numbers.prev {
    margin-right: unset;
  }
  .page-numbers.next {
    margin-left: unset;
  }
  .aside__contents {
    padding: clamp(1.25rem, 0.057rem + 5.09vw, 2.5rem);
  }
  .aside__categories {
    margin-bottom: clamp(1.25rem, 0.057rem + 5.09vw, 2.5rem);
    padding-bottom: clamp(1.25rem, 0.057rem + 5.09vw, 2.5rem);
  }
  .aside__title {
    font-size: clamp(1.125rem, 1.006rem + 0.51vw, 1.25rem);
  }
  .aside__title::before {
    font-size: clamp(1.125rem, 1.006rem + 0.51vw, 1.25rem);
  }
}/*# sourceMappingURL=archive.css.map */