@charset "utf-8";
/* ======================
news
====================== */
.news {
  padding-top: clamp(4rem, 2rem + 4.167vw, 7rem);
  padding-bottom: clamp(10rem, 4.167rem + 12.15vw, 18.75rem);
}
.news__inner {
  padding-inline: clamp(1.25rem, -12.917rem + 29.514vw, 22.5rem);
}
.news__cate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  margin-bottom: clamp(2.5rem, 0.833rem + 3.472vw, 5rem);
}
.news__cate .webgene-blog,
.news__cate .webgene-item {
  display: contents;
}
.news-cate__btn,
.news__cate .sideLink {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 26px;
  background-color: #fee4b8;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(34, 34, 34, 0.16);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #222;
  white-space: nowrap;
  transition: all 0.5s;
}
.news__cate a:hover .news-cate__btn,
.news__cate .sideLink:hover,
.news-cate__btn.is-current,
.news__cate .sideLink.is-current {
  background-color: #f6a700;
  color: #fff;
  text-shadow: 0.02em 0 currentColor, -0.02em 0 currentColor;
}
.news__block {
  padding-top: clamp(2.5rem, 0.833rem + 3.472vw, 5rem);
  padding-bottom: clamp(2.5rem, 0.833rem + 3.472vw, 5rem);
  padding-inline: clamp(1.5rem, -4.5rem + 12.5vw, 10.5rem);
  background-color: #fffde1;
  border-radius: 30px;
}
.newsItem {
  padding-bottom: 32px;
  border-bottom: 1px solid #ddd;
}
.newsItem + .newsItem {
  margin-top: 32px;
}
.newsLink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 0.25rem + 2.08vw, 2.75rem);
  width: 100%;
}
.newsLink::after {
  content: "";
  flex-shrink: 0;
  overflow: hidden;
  width: 40px;
  height: 40px;
  background-color: #fee4b8;
  background-image: url("https://an-llc.jp/system_panel/uploads/images/news-arrow.png"), url("https://an-llc.jp/system_panel/uploads/images/news-arrow.png");
  background-repeat: no-repeat, no-repeat;
  background-position: 13px 14px, -27px 14px;
  background-size: 14px 12px, 14px 12px;
  border-radius: 50%;
  transition: background-position 0.5s;
}
.newsLink:hover::after {
  background-position: 53px 14px, 13px 14px;
}
.newsItemImg {
  display: none;
}
.newsItemBottom {
  flex: 1;
  min-width: 0;
}
.newsItemText {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.newsItemTime {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #a3a3a3;
  white-space: nowrap;
}
.newsItemCate {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 23px;
  padding: 0 16px;
  background-color: #f6a700;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.newsItemTit {
  word-break: break-all;
  overflow: hidden;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.125;
  color: #1a1a1a;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.5s;
}
.newsLink:hover .newsItemTit {
  color: #FD7426;
}

/* pagination */
.webgene-pagination {
  margin-top: 40px;
}
.webgene-pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0;
  list-style: none;
}
.webgene-pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #222;
  transition: all 0.5s;
}
.webgene-pagination li.number a {
  border-radius: 50%;
}
.webgene-pagination li.number a:hover,
.webgene-pagination li.selected a {
  background-color: #f6a700;
  color: #fff;
}
.webgene-pagination li.next a,
.webgene-pagination li.prev a {
  min-width: auto;
  padding: 0 8px;
}
.news-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
}
.news__btn {
  margin-top: clamp(2.5rem, 0.833rem + 3.472vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 272px;
  height: 72px;
  margin-inline: auto;
  background-color: #fd7426;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(34, 34, 34, 0.16);
}
.news-btn__text {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.news-btn__circle {
      width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-btn__icon {
      width: 13px;
    height: auto;
    object-fit: contain;
}
a:hover .news__btn {
  animation: hover-bounce 0.5s ease 1;
}

@media (max-width: 767px) {
  .news {
    padding-top: clamp(2.5rem, 1.065rem + 6.122vw, 4rem);
  }
  .news__inner {
    padding-inline: clamp(1rem, 0.761rem + 1.02vw, 1.25rem);
  }
  .news__cate {
    gap: clamp(1rem, 0.043rem + 4.082vw, 2rem);
    margin-bottom: clamp(1.5rem, 0.543rem + 4.082vw, 2.5rem);
  }
  .news-cate__btn,
  .news__cate .sideLink {
    height: clamp(2.5rem, 1.902rem + 2.551vw, 3.125rem);
    padding: 0 clamp(1rem, 0.402rem + 2.551vw, 1.625rem);
    font-size: clamp(0.875rem, 0.755rem + 0.51vw, 1rem);
  }
  .news__block {
    padding-top: clamp(1.5rem, 0.543rem + 4.082vw, 2.5rem);
    padding-bottom: clamp(1.5rem, 0.543rem + 4.082vw, 2.5rem);
    padding-inline: clamp(1rem, 0.522rem + 2.041vw, 1.5rem);
    border-radius: clamp(1.25rem, 0.652rem + 2.551vw, 1.875rem);
  }
  .newsItem {
    padding-bottom: clamp(1.25rem, 0.533rem + 3.061vw, 2rem);
  }
  .newsItem + .newsItem {
    margin-top: clamp(1.25rem, 0.533rem + 3.061vw, 2rem);
  }
  .newsLink {
    gap: clamp(0.75rem, 0.272rem + 2.041vw, 1.25rem);
  }
  .newsItemText {
    gap: clamp(0.75rem, 0.511rem + 1.02vw, 1rem);
    margin-bottom: clamp(0.75rem, 0.511rem + 1.02vw, 1rem);
  }
  .newsItemTime {
    font-size: clamp(0.75rem, 0.63rem + 0.51vw, 0.875rem);
  }
  .newsItemCate {
    min-width: clamp(4.5rem, 3.543rem + 4.082vw, 5.5rem);
    height: clamp(1.25rem, 1.071rem + 0.765vw, 1.438rem);
    padding: 0 clamp(0.75rem, 0.511rem + 1.02vw, 1rem);
    font-size: clamp(0.75rem, 0.63rem + 0.51vw, 0.875rem);
  }
  .newsItemTit {
    font-size: clamp(0.875rem, 0.755rem + 0.51vw, 1rem);
  }
  .webgene-pagination {
    margin-top: clamp(1.5rem, 0.543rem + 4.082vw, 2.5rem);
  }
  .webgene-pagination ul {
    gap: clamp(0.75rem, 0.511rem + 1.02vw, 1rem);
  }
  .webgene-pagination li a {
    min-width: clamp(2rem, 1.522rem + 2.041vw, 2.5rem);
    height: clamp(2rem, 1.522rem + 2.041vw, 2.5rem);
    font-size: clamp(0.875rem, 0.755rem + 0.51vw, 1rem);
  }
  .news__btn {
    gap: clamp(0.625rem, 0.386rem + 1.02vw, 0.875rem);
    width: clamp(15.5rem, 14.065rem + 6.122vw, 17rem);
    height: clamp(4rem, 3.522rem + 2.041vw, 4.5rem);
    margin-top: clamp(1.5rem, 0.543rem + 4.082vw, 2.5rem);
  }
  .news-btn__text {
    font-size: clamp(1rem, 0.88rem + 0.51vw, 1.125rem);
  }
  .news-btn__circle {
    width: clamp(2rem, 1.522rem + 2.041vw, 2.5rem);
    height: clamp(2rem, 1.522rem + 2.041vw, 2.5rem);
  }
  .news-btn__icon {
    width: clamp(0.688rem, 0.568rem + 0.51vw, 0.812rem);
  }
}
