/* news */
.p-news {
  position: relative;
  z-index: 1;
  max-width: 1000px;
}

.p-news__child {
  display: block;
  &:not(:last-of-type) {
    margin-bottom: 34px;
  }
}

.p-news__link {
  display: block;
  background: #ffffff;
  box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.16);
  position: relative;
  @media (any-hover: hover) {
    &:hover .p-news__circle {
      scale: var(--button-circle-scale);
    }
  }
  @media all and (min-width: 1024px) {
    border-radius: 40px;
    padding: 24px 80px 24px 32px;
  }
  @media not all and (min-width: 1024px) {
    border-radius: 20px;
    padding: 16px 50px 16px 16px;
  }
}

.p-news__linkUpper {
  @media all and (min-width: 1024px) {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }
}

.p-news__time {
  font-size: 14px;
  @media not all and (min-width: 1024px) {
    margin: 10px 0 6px;
  }
}

.p-news__title {
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  @media all and (min-width: 1024px) {
    font-size: 24px;
  }
  @media not all and (min-width: 1024px) {
    font-size: 18px;
  }
}

.p-news__circle {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-color);
  transition: scale var(--button-circle-duration) linear;
  & i {
    width: 11px;
    height: 11px;
    display: block;
    background: url('../../../images/common/right-arrow.svg') center no-repeat;
  }

  @media all and (min-width: 1024px) {
    right: 34px;
  }
  @media not all and (min-width: 1024px) {
    right: 14px;
  }
}

.p-news__category {
  @media all and (min-width: 1024px) {
    margin-right: 10px;
  }
  @media not all and (min-width: 1024px) {
  }
}

.p-news__none {
  @media all and (min-width: 1024px) {
    font-size: 20px;
    margin-top: 20px;
  }
  @media not all and (min-width: 1024px) {
    font-size: 16px;
    margin-top: 20px;
  }
}
