@charset "UTF-8";
/* object/project/_news-home.scss */
.p-news-home {
  width: 100%;
  padding: 0 1rem;
  justify-self: center;
}
.p-news-home__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.p-news-home__card {
  position: relative;
  width: 100%;
  max-width: 800px;
  background-color: white;
  border-radius: 10px; /* カード四隅の角丸 */
  box-shadow: 3px 3px 10px #d9d9d9; /* カードの影 */
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.p-news-home__card:hover {
  box-shadow: 3px 3px 10px lightgreen;
  transform: translateY(-4px);
}
.p-news-home {
  /* カード全体にリンク範囲を広げる設定 */
}
.p-news-home__link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  padding: 1rem;
}
.p-news-home {
  /* カード上部の日付、タグ */
}
.p-news-home__head {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.p-news-home__date {
  font-size: 0.9rem;
  text-align: center;
  margin-right: 0.5rem;
}
.p-news-home__tag {
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  color: white;
  background-color: #e79968;
  border-radius: 30px;
}
.p-news-home {
  /* カード本文 */
}
.p-news-home__text {
  align-self: stretch;
}
.p-news-home__date, .p-news-home__text {
  color: black;
}
.p-news-home {
  /* 矢印の設定 */
}
.p-news-home__arrow-wrapper {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}
.p-news-home__arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-top: 2px solid black;
  border-right: 2px solid black;
  transform: rotate(45deg);
}

/*# sourceMappingURL=news-home.css.map */
