@charset "UTF-8";

/* news.css（お知らせ一覧） */
.p-news {
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .p-news {
    padding-block: 6.6875rem 9.375rem;
  }
}

/*----------------------------------
  記事一覧
-----------------------------------*/
.p-news__list .webgene-blog {
  display: flex;
  flex-direction: column;
  row-gap: 0.625rem;
}

.p-news__list .webgene-pagination {
  flex-basis: 100%;
}

/*----------------------------------
  news 記事アイテム
-----------------------------------*/
.c-news__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 1rem;
  min-height: 6.125rem;
  padding: 1.125rem 1rem 1.125rem 1.25rem;
  border: 1px solid #d4d4d4;
  border-radius: 0.3125rem;
  background-color: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
  .c-news__item {
    column-gap: 2.5rem;
    padding: 1.25rem 2.5rem;
  }
}

@media (any-hover: hover) {
  .c-news__item:hover {
    border-color: #d00168;
    box-shadow: 0 0.5rem 1.25rem rgba(208, 1, 104, 0.08);
  }

  .c-news__item:hover .c-news__arrow img {
    translate: 0.125rem 0;
  }
}

.c-news__info {
  min-width: 0;
}

@media (min-width: 768px) {
  .c-news__info {
    display: grid;
    grid-template-columns: 11.25rem 1fr;
    align-items: center;
  }
}

.c-news__meta {
  display: flex;
  align-items: center;
  column-gap: 0.6875rem;
  white-space: nowrap;
}

.c-news__date {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  color: #43423f;
  font-size: max(0.75rem, 9.6px);
  font-weight: 400;
  line-height: 1.3333333333;
}

@media (min-width: 0px) {
  .c-news__date {
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .c-news__date {
    font-size: max(0.75rem, 10px);
    font-weight: 400;
    line-height: 1.3333333333;
  }
}

.c-news__tag {
  padding: 0.25rem 0.3125rem;
  border-radius: 0.3125rem;
  background-color: #645a63;
  color: #ffffff;
  font-size: max(0.75rem, 9.6px);
  font-weight: 500;
  line-height: 1.1666666667;
  letter-spacing: 0.03em;
}

@media (min-width: 0px) {
  .c-news__tag {
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .c-news__tag {
    font-size: max(0.75rem, 10px);
    font-weight: 500;
    line-height: 1.1666666667;
    letter-spacing: 0.03em;
  }
}

.c-news__title {
  margin-block-start: 0.5rem;
  overflow: hidden;
  color: #505050;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: max(0.875rem, 11.2px);
  font-weight: 500;
  line-height: 1.8571428571;
  letter-spacing: 0.03em;
}

@media (min-width: 0px) {
  .c-news__title {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .c-news__title {
    margin-block-start: 0;
    font-size: max(0.875rem, 10px);
    font-weight: 500;
    line-height: 2.1428571429;
    letter-spacing: 0.03em;
  }
}

.c-news__arrow {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 0.3125rem;
  background-color: #d00168;
}

.c-news__arrow img {
  width: 0.625rem;
  height: auto;
  aspect-ratio: 10.348/10.89;
  transition: translate 0.3s ease;
}