/* =========================
  NEWS ARCHIVE
========================= */

.news-archive {
  padding: 60px 0 90px;
}

.news-archive__inner {
  width: var(--aibi-width, 100%);
  max-width: var(--aibi-inner, 1100px);
  margin: 0 auto;
}

.news-archive__title {
  display: grid;
  grid-template-columns: auto 220px auto;
  align-items: center;
  column-gap: 18px;
  width: fit-content;
  margin: 0 0 52px;
}

.news-archive__title h1 {
  margin: 0;
  font-size: var(--aibi-title-size, 42px);
  font-weight: 600;
  line-height: 1;
}

.news-archive__title h1 span {
  color: var(--aibi-color-main, #ee9988);
}

.news-archive__title i {
  height: 1px;
  background: #999;
}

.news-archive__title em {
  color: #999;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
}

/* filter */

.news-filter {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 70px;
  flex-wrap: wrap;
}

.news-filter a {
  width: 170px;
  height: 42px;
  border: 1px solid #999;
  border-radius: 999px;
  color: #777;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  transition: .3s;
}

.news-filter a.is-current {
  background: var(--aibi-color-main, #ee9988);
  border-color: var(--aibi-color-main, #ee9988);
  color: #fff;
}

/* list */

.news-list {
  border-top: 1px solid #999;
}

.news-card {
  border-bottom: 1px solid #999;
  padding: 24px 0;
}

.news-card a {
  display: grid;
  grid-template-columns: 430px 1fr;
  column-gap: 48px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.news-card__image {
  margin: 0;
}

.news-card__image img {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  object-fit: cover;
  display: block;
}

.news-card__tag {
  width: 170px;
  height: 40px;
  border: 1px solid #999;
  border-radius: 999px;
  color: #777;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  font-size: 16px;
}

.news-card__body time {
  display: block;
  margin-bottom: 18px;
  font-size: 26px;
  font-weight: 700;
}

.news-card__body h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
}

.news-card__place {
  margin: 26px 0 0;
  font-size: 20px;
  font-weight: 700;
}

/* pagination */

.news-pagination {
  margin-top: 60px;
}

.news-pagination .page-numbers {
  width: 50px;
  height: 50px;
  background: #777;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-right: 8px;
  font-size: 18px;
}

.news-pagination .current {
  background: var(--aibi-color-orange, #f26b2f);
}

/* SP */

@media (max-width: 768px) {

  .news-archive {
    padding: 50px 0 70px;
  }

  .news-archive__inner {
    width: var(--aibi-sp-width, calc(100% - 32px));
  }

  .news-archive__title {
    width: 100%;
    grid-template-columns: auto 1fr auto;
    margin-bottom: 38px;
  }

  .news-archive__title h1{
    font-size: 35px;
  }
  
  .news-archive__title em {
    font-size: var(--aibi-title-en-size-sp);
  }

  .news-filter {
    gap: 10px;
    margin-bottom: 40px;
  }

  .news-filter a {
    width: calc(30% - 6px);
    height: 40px;
    font-size: 11px;
  }

  .news-card a {
    display: block;
  }

  .news-card__image {
    margin-bottom: 24px;
  }

  .news-card__tag {
    width: 120px;
    height: 34px;
    margin-bottom: 18px;
    font-size: 14px;
  }

  .news-card__body time {
    margin-bottom: 10px;
    font-size: 22px;
  }

  .news-card__body h2 {
    font-size: 22px;
    line-height: 1.5;
  }

  .news-card__place {
    margin-top: 16px;
    font-size: 16px;
  }
}

/* =========================
  NEWS SINGLE
========================= */

.news-single {
  padding: 60px 0 100px;
}

.news-single__inner {
  width: var(--aibi-width, 100%);
  max-width: var(--aibi-inner, 1100px);
  margin: 0 auto;
}

/* title */

.news-single__title {
  display: grid;
  grid-template-columns: auto 220px auto;
  align-items: center;
  column-gap: 18px;
  width: fit-content;
  margin: 0 0 58px;
}

.news-single__title h1 {
  margin: 0;
  font-size: var(--aibi-title-size, 42px);
  font-weight: 600;
  line-height: 1;
}

.news-single__title h1 span {
  color: var(--aibi-color-main, #ee9988);
}

.news-single__title i {
  height: 1px;
  background: #999;
}

.news-single__title em {
  color: #999;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
}

/* tag */

.news-single__tag {
  width: 190px;
  height: 44px;
  border: 1px solid #999;
  border-radius: 999px;
  color: #777;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 18px;
}

/* head */

.news-single__head {
  /* display: grid; */
  grid-template-columns: 540px 1fr;
  column-gap: 56px;
  align-items: start;
  margin-bottom: 54px;
}

.news-single__image {
  margin: 0;
}

.news-single__image img {
  width: 100%;
  display: block;
}

.news-single__date {
  display: block;
  margin-bottom: 22px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}

.news-single__info h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.6;
}

.news-single__place {
  margin: 24px 0 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
}

/* content */

.news-single__content {
  font-size: 16px;
  font-weight: 700;
  line-height: 2.5;
  letter-spacing: .04em;
}

.news-single__content p {
  margin: 0 0 2.2em;
}

.news-single__content img {
  max-width: 100%;
  height: auto;
}

/* cta */

.news-single__cta {
  margin-top: 70px;
  text-align: center;
}

.news-single__cta a {
  width: min(100%, 760px);
  min-height: 86px;
  background: #777;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.7;
  transition: opacity .3s ease;
}

.news-single__cta a:hover {
  opacity: .8;
}

/* pager */

.news-single__pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 80px;
}

.news-single__pager a {
  min-width: 96px;
  height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  background: #777;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
}

/* SP */

@media (max-width: 768px) {

  .news-single {
    padding: 50px 0 70px;
  }

  .news-single__inner {
    width: var(--aibi-sp-width, calc(100% - 32px));
  }

  .news-single__title {
    width: 100%;
    grid-template-columns: auto 1fr auto;
    margin-bottom: 40px;
  }

  .news-single__tag {
    width: 130px;
    height: 38px;
    margin-bottom: 22px;
    font-size: 14px;
  }

  .news-single__head {
    display: block;
    margin-bottom: 38px;
  }

  .news-single__image {
    margin-bottom: 28px;
  }

  .news-single__date {
    margin-bottom: 14px;
    font-size: 24px;
  }

  .news-single__info h2 {
    font-size: 28px;
    line-height: 1.5;
  }

  .news-single__place {
    margin-top: 16px;
    font-size: 18px;
  }

  .news-single__content {
    font-size: 15px;
    line-height: 2.2;
  }

  .news-single__cta {
    margin-top: 50px;
  }

  .news-single__cta a {
    min-height: 72px;
    padding: 18px 22px;
    font-size: 18px;
    line-height: 1.6;
  }

  .news-single__pager {
    flex-wrap: wrap;
    margin-top: 60px;
  }

  .news-single__pager a {
    min-width: 88px;
    height: 40px;
    font-size: 15px;
  }
}