/*!*************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scss/news.scss ***!
  \*************************************************************************************************************/
@charset "UTF-8";
/**
* @mixin heightControl
* @param {Number} $height - 高さの値（デフォルトは100）
* 
* ビューポートの高さに基づいて要素の高さを設定します。
* モバイルブラウザの動的なビューポート高さに対応するためにdvh単位を使用します。
*/
.news__item {
  padding: 15px 0;
  border-bottom: 1px solid var(--fd-light-gray);
}
.news__item:first-of-type {
  border-top: 1px solid var(--fd-light-gray);
}
.news__link {
  display: grid;
  grid-template-areas: "category date" "title title";
  grid-template-columns: 120px 1fr;
  gap: 10px 30px;
}
@media (hover: hover) {
  .news__link {
    transition: font-weight 0.3s ease, color 0.3s ease;
  }
  .news__link:hover .news__title {
    font-weight: bold;
    color: var(--fd-dark-blue);
  }
}
.news__category {
  grid-area: category;
  font-size: 14px;
  color: var(--fd-dark-blue);
  background: var(--fd-light-gray);
  padding: 5px 0;
  display: inline-block;
  width: 120px;
  line-height: 1;
  text-align: center;
  border-radius: 50px;
  overflow: hidden;
  text-box: trim-both cap alphabetic;
}
.news__date {
  grid-area: date;
  font-size: 14px;
  color: var(--fd-light-blue);
  padding: 5px 0;
  display: inline-block;
  line-height: 1;
  text-box: trim-both cap alphabetic;
}
.news__title {
  grid-area: title;
  font-weight: normal;
  color: var(--fd-dark-gray);
  text-box: trim-both cap alphabetic;
}
@media (min-width: 1024px) {
  .news__link {
    grid-template-areas: "category date title";
    grid-template-columns: 120px 120px 1fr;
    gap: 30px;
    align-items: start;
  }
  .news__title {
    padding-top: 3px;
  }
}
