@charset "utf-8";

/* archiveList01
----------------------------------------------- */
.archiveList01__item {
  margin-bottom: 2em;
}
.archiveList01__link {
  display: block;
  padding: 1em;
  border: solid 1px #eee;
  text-decoration: none;
  color: #282828;
  transition: all 0.3s ease;
}
.archiveList01__link:hover {
  color: #282828;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.archiveList01__image {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.archiveList01__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}
.archiveList01__link:hover .archiveList01__image img {
  transform: scale(1.1);
}
.archiveList01__date {
  display: block;
  margin: 10px 0 8px;
  font-size: 0.8em;
}
.archiveList01__title {
  margin: 0;
  padding: 0;
  border: none;
  font-weight: 400;
  font-size: 1em;
  letter-spacing: 1px;
}
@media screen and (min-width: 768px) {
  .archiveList01 {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
  }
  .archiveList01__item {
    width: calc(50% - 0.5em);
    margin-bottom: 0;
  }
  .archiveList01__title {
    display: -webkit-box;
    display: -moz-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    height: calc(1.5em * 2);
    line-height: 1.5;
  }
}
@media screen and (min-width: 1200px) {
  .archiveList01__item {
    width: calc(100% / 3 - 2em / 3);
  }
}
/* archiveList02
----------------------------------------------- */
.archiveList02 {
  margin-top: 4em;
}
.archiveList02__item {
  margin-bottom: 3em;
}
.archiveList02__link {
  display: block;
  text-decoration: none;
  color: #282828;
}
.archiveList02__link:hover {
  color: #282828;
}
.archiveList02__image {
  border: solid 1px #fafafa;
  aspect-ratio: 3/2;
  overflow: hidden;
}
.archiveList02__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}
.archiveList02__link:hover .archiveList02__image img {
  transform: scale(1.1);
}
.archiveList02__title {
  margin: 0.8em 0 0;
  padding: 0;
  border: none;
  font-weight: 400;
  font-size: 1em;
  letter-spacing: 1px;
}
@media screen and (min-width: 768px) {
  .archiveList02 {
    display: flex;
    flex-wrap: wrap;
    gap: 8%;
  }
  .archiveList02__item {
    width: calc(50% - 4%);
    margin-bottom: 8%;
  }
}
/*@media screen and (min-width: 1200px) {
  .archiveList02__item {
    width: calc(100% / 3 - 4em / 3);
  }
}*/
/* archiveList03
（左）画像（右）タイトル、抜粋3行
----------------------------------------------- */
.archiveList03__link {
  display: block;
  padding: 1.5em 0.5em;
  border-bottom: solid 1px #999;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease;
}
.archiveList03__link:hover {
  opacity: 0.7;
  background: #fafafa;
}
.archiveList03__image {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.archiveList03__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
h3.archiveList03__title {
  margin: 1em 0;
  padding: 0;
  border: none;
  font-size: 1.15em;
  letter-spacing: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.archiveList03__excerpt {
  display: -webkit-box;
  display: -moz-box;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  height: calc(1.5em * 3);
  line-height: 1.5;
  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
}
@media screen and (min-width: 768px) {
  .archiveList03__link {
    display: flex;
    gap: 1.5em;
  }
  .archiveList03__image {
    width: 40%;
  }
  .archiveList03__text {
    width: calc(70% - 1.5em);
  }
  h3.archiveList03__title {
    margin-top: 0;
  }
}
/* ページネーション
----------------------------------------------- */
.pagination {
  position: relative;
  clear: both;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  font-size: 13px;
}
.pagination span,
.pagination a {
  display: block;
  width: auto;
  margin: 2px;
  padding: 8px;
  border: 1px solid var(--color-btn-border);
  background-color: var(--color-btn);
  color: var(--color-btn-text);
  text-decoration: none;
  text-align: center;
  line-height: 16px;
  transition: 0.3s ease;
}
.pagination a:hover,
.pagination .current {
  border-color: var(--color-btn-hover);
  background-color: var(--color-btn-hover);
  color: var(--color-btn-text-hover);
}
.pagination a.prev {
  margin-right: 12px;
}
.pagination a.next {
  margin-left: 12px;
}
.pagination span.page_num {
  display: none;
}
