/*
# Hero Section (Archive Hero)
==================================== */
.archive__hero {
  background: url(../images/header-eyecatch.jpg) center/cover no-repeat;
  padding: 120px 0;
  text-align: center;
  color: #fff;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.archive__hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.archive__hero-title {
  font-family: "mgen-bold", sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0;
  line-height: 1.2;
}

/*
# Archive Header Section
==================================== */
.archive__header {
  border-top: 3px solid var(--section-yellow);
  margin-bottom: 56px;
  padding: 28px 0 0;
}

.archive__header--description {
  margin-bottom: 70px;
}

.archive__lead {
  color: var(--section-yellow);
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.archive__title {
  font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo",
    "Noto Sans Japanese", sans-serif;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 18px;
}

.archive__title--category::before {
  color: var(--section-yellow);
  content: "\f02d";
  font-family: "Font Awesome 5 Free", sans-serif;
  font-size: 26px;
  font-weight: 900;
  margin-right: 8px;
}

.archive__title--search span {
  color: var(--section-yellow);
}

.archive__title--search::before {
  color: var(--section-yellow);
  content: "\f002";
  font-family: "Font Awesome 5 Free", sans-serif;
  font-size: 26px;
  font-weight: 900;
  margin-right: 8px;
}

.archive__description {
  font-size: 14px;
  line-height: 1.4;
}

/*
# Archive Content Section
==================================== */
.archive__content-inner {
  display: flex;
  padding-bottom: 20px;
  padding-top: 20px;
  padding-left: 40px;
  padding-right: 40px;
}

.archive__content > .inner {
  display: flex;
  padding-bottom: 120px;
}

.archive__content--one > .inner {
  display: block;
}

.archive__primary {
  width: 100%;
}

/*
# Archive Entries Section
==================================== */
.archive__entries {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.archive__entries--horizontal {
  margin-bottom: 62px;
}

.archive__entry-item {
  background: #fff;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.16);
  display: block;
  margin-bottom: 50px;
  margin-right: 40px;
  text-decoration: none;
  transition: all 0.3s ease 0s;
  width: calc(50% - 40px / 2);
}

.archive__entry-item:hover {
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.16);
}

.archive__entry-item:nth-child(2n),
.archive__entry-item:last-child {
  margin-right: 0;
}

.archive__entries--horizontal .archive__entry-item {
  display: flex;
  margin-bottom: 30px;
  margin-right: 0;
  padding: 20px;
  width: 100%;
}

.archive__entries--horizontal .archive__entry-item:last-child {
  margin-bottom: 0;
}

.archive__entry-item-img {
  text-align: center;
}

.archive__entries--horizontal .archive__entry-item .archive__entry-item-img {
  width: 36.02941%;
}

.archive__entry-item-body {
  padding: 20px;
}

.archive__entries--horizontal .archive__entry-item .archive__entry-item-body {
  padding: 0 0 0 20px;
  width: 63.97059%;
}

.archive__entry-item-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.archive__entry-item-tag {
  background: var(--section-yellow);
  color: #fff;
  display: block;
  font-size: 12px;
  margin-right: 15px;
  padding: 3px 14px 2px;
}

.archive__entry-item-published {
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴシック", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  color: #808080;
  font-size: 12px;
  margin-top: 4px;
}

.archive__entry-item-published::before {
  content: "\f073";
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 400;
  margin-right: 8px;
}

.archive__entry-item-title {
  font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo",
    "Noto Sans Japanese", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.42;
  margin-bottom: 14px;
}

.archive__entry-item-excerpt {
  color: #454545;
  font-size: 14px;
  line-height: 1.71429;
}

/*
# Archive Pagination Section
==================================== */
.archive__pagination {
  margin-top: 12px;
  text-align: center;
}

.archive__pagination a {
  transition: all 0.3s ease 0s;
}

.archive__pagination a:hover {
  opacity: 0.6;
}

.archive__pagination a.next,
.archive__pagination a.prev {
  font-size: 30px;
}

.archive__pagination a.next:hover,
.archive__pagination a.prev:hover {
  opacity: 0.6;
}

.archive__pagination .page-numbers {
  background: #fff;
  border: 1px solid #e2e2e2;
  color: #808080;
  display: inline-block;
  font-family: "Lato", sans-serif;
  font-size: 20px;
  height: 40px;
  line-height: 38px;
  margin-right: 14px;
  min-width: 40px;
  text-align: center;
  text-decoration: none;
}

.archive__pagination .page-numbers:last-child {
  margin-right: 0;
}

.archive__pagination .page-numbers.current {
  background: var(--section-yellow);
  border: 1px solid var(--section-yellow);
  color: #fff;
  font-weight: 700;
}

.archive__pagination .page-numbers.dots,
.archive__pagination .page-numbers.next,
.archive__pagination .page-numbers.prev {
  border: none;
  line-height: 40px;
  min-width: initial;
  width: auto;
}

/*
# Archive Entry item img
==================================== */
.archive__entry-item-img img {
  max-width: 100%;
  height: auto;
}

/*
# Responsive Design
==================================== */
@media (max-width: 768px) {
  .archive__hero {
    padding: 80px 0;
    min-height: 300px;
  }

  .archive__hero-content {
    padding: 0 15px;
  }

  .archive__hero-title {
    font-size: 3.2rem;
  }

  .archive__content-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media screen and (max-width: 767px) {
  .archive__hero {
    padding: 60px 0;
    min-height: 250px;
  }

  .archive__hero-title {
    font-size: 2.8rem;
  }

  .archive__header {
    margin-bottom: 40px;
    padding-top: 18px;
  }

  .archive__header--description {
    margin-bottom: 50px;
  }

  .archive__lead {
    font-size: 12px;
    margin-bottom: 2px;
  }

  .archive__title {
    font-size: 20px;
    margin-bottom: 0;
  }

  .archive__content-inner {
    display: block;
  }

  .archive__primary {
    width: 100%;
  }

  .archive__entries {
    display: block;
  }

  .archive__entry-item {
    margin-bottom: 27px;
    margin-right: 0;
    width: 100%;
  }

  .archive__entry-item:last-child {
    margin-bottom: 0;
  }

  .archive__entries.archive__entries--horizontal {
    margin-bottom: 40px;
  }

  .archive__entries--horizontal .archive__entry-item {
    margin-bottom: 20px;
    padding: 10px;
  }

  .archive__entries--horizontal .archive__entry-item .archive__entry-item-img {
    width: 45.06173%;
  }

  .archive__entries--horizontal .archive__entry-item .archive__entry-item-body {
    padding-left: 12px;
    width: 54.93827%;
  }

  .archive__entries--horizontal
    .archive__entry-item
    .archive__entry-item-published {
    font-size: 10px;
  }

  .archive__entries--horizontal .archive__entry-item .archive__entry-item-tag {
    font-size: 10px;
    margin-right: 8px;
  }

  .archive__entries--horizontal
    .archive__entry-item
    .archive__entry-item-title {
    font-size: 12px;
    margin-bottom: 0;
  }

  .archive__entries--horizontal
    .archive__entry-item
    .archive__entry-item-excerpt {
    display: none;
  }
}
