@charset "UTF-8";
/* ニュースセクション */
.news {
  padding: 120px 0 170px;
  background: #FFFFFF;
}

.news .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 72px;
  box-sizing: content-box;
}

/* メインレイアウト */
.news__wrapper {
  display: flex;
  align-items: flex-start;
}

/* 左側：タイトル部分 */
.news__left {
  flex: 0 0 300px;
}

.news__title {
  font-size: 56px;
  font-weight: 500;
  color: #E62327;
  font-family: "Nunito Sans", sans-serif;
  margin: 0;
  margin-bottom: 10px;
  line-height: 1;
}

.news__subtitle {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  margin-bottom: 50px;
}

.news__more-btn {
  display: inline-flex;
  align-items: center;
  background: #E62327;
  color: #FFFFFF;
  padding: 12px 36px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding-right: 50px;
}

.news__more-btn::after {
  content: "";
  position: absolute;
  right: 20px;
  width: 7px;
  height: 18px;
  background-image: url("../images/common/arr_w.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.news__more-btn:hover {
  background: #CC1F22;
  transform: translateX(5px);
}

/* 右側：ニュースリスト */
.news__right {
  flex: 1;
}

.news__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}

/* ニュースアイテム */
.news__item {
  padding: 30px 15px;
  border-top: 1px solid #E5E5E5;
  cursor: pointer;
  transition: background 0.3s ease;
}

.news__item:hover {
  background: rgba(230, 35, 39, 0.02);
}

.news__item:last-child {
  border-bottom: 1px solid #E5E5E5;
}

/* カテゴリラベル */
.news__category {
  display: inline-block;
  padding: 6px 17px;
  background: none;
  border: 1px solid #E5E5E5;
  border-radius: 50px;
  font-size: 12px;
  color: #636E72;
  width: fit-content;
  margin-bottom: 12px;
  line-height: 1;
  letter-spacing: 1px;
}

/* 日付 */
.news__date {
  display: inline-block;
  color: #636E72;
  font-family: "Nunito Sans", sans-serif;
  margin-left: 20px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

/* ニューステキスト */
.news__text {
  line-height: 1.6;
  color: #2D3436;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 1px;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .news__wrapper {
    flex-direction: column;
  }
  .news__left {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: start;
    width: 100%;
    margin-bottom: 30px;
  }
  .news__title {
    font-size: 48px;
    grid-column: 1;
    grid-row: 1;
  }
  .news__subtitle {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 0;
  }
  .news__more-btn {
    grid-column: 2;
    grid-row: 1/3;
    align-self: start;
  }
  .news__right {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .news .container {
    padding: 0 20px;
  }
  .news {
    padding: 60px 0;
  }
  .news__title {
    font-size: 32px;
    margin-bottom: 0;
  }
  .news__subtitle {
    font-size: 14px;
  }
  .news__more-btn {
    font-size: 14px;
    padding: 10px 30px;
    padding-right: 45px;
  }
  .news__more-btn::after {
    right: 18px;
    width: 6px;
    height: 16px;
  }
  .news__item {
    padding: 20px 0;
  }
}
@media (max-width: 480px) {
  .news__more-btn {
    font-size: 12px;
    padding: 8px 25px;
    padding-right: 40px;
  }
  .news__more-btn::after {
    right: 15px;
    width: 5px;
    height: 14px;
  }
}