/**
 * NEWSセクションのスタイル
 *
 * @package Type25F
 */
 
/* override */
.section-content.sc-news {
  padding-top: 75px;
}

/* セクションタイトル */
.section-news-title-container {
  width: 100%;
  margin: 0 auto 23px;
  max-width: 840px;
  position: relative;
  display: flex;
  align-items: center;
}
.section-news-title-container::before {
  content: '';
  display: block;
  flex: 0 1 auto;
  content: '';
  width: 100%;
  height: 13px;
  border-bottom:1px solid var(--text-color, #008000);
  z-index: 1;
}
.section-news-title-container::after {
  content: '';
  display: block;
  flex: 0 1 auto;
  content: '';
  width: 100%;
  height: 13px;
  border-bottom:1px solid var(--text-color, #008000);
  z-index: 1;
}

.section-news-title {
  flex: 0 0 auto;
  display: inline-block;
  position: relative;
  width: auto;
  color: var(--text-color, #008000);
  z-index: 2;
  margin: 0 auto;
  padding: 0 40px 0 40px;
  font-size: 3.0rem;
  line-height: 1;
  font-weight: 700;
}

/* ニュースセクション */
.news-container {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  border-bottom: 1px solid var(--text-color, #008000);
}

.news-list {

}

.news-list > li {
  border-bottom: 1px solid #B4B4B1;
}
.news-list > li a {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 15px 0;
  gap: 18px;
}
.news-list .news-li-inner-flex {
  flex: 0 0 auto;
  width: 185px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.news-list > li .news-tag {
  flex: 0 0 auto;
  width: 3em;
  font-size: 1.5rem;
  line-height: 2.6rem;
  color: #f00;
}

.news-list > li .news-date {
  flex: 0 0 auto;
  width: auto;
  font-size: 1.3rem;
  line-height: 2.6rem;
}

.news-list > li .news-cat {
  flex: 0 0 auto;
  width: 87px;
  text-align: center;
  background-color: #EAEAE9;
  color: #000000;
  font-size: 1.6rem;
  line-height: 2.6rem;
  padding: 0 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-list > li .news-title {
  flex: 1 1 auto;
  font-size: 1.5rem;
  line-height: 2.6rem;
}

/* もっと見るリンクのスタイル */
.news-more-link {
  text-align: right;
  margin-top: 22px;
  margin-bottom: 19px;
}

.news-more-link a {
  color: var(--text-color, #008000);
  padding-right: 24px; /* 矢印のスペース確保 */
  display: inline-block;
  transition: all 0.3s ease;
  background: url(../documents/news_more_link_arrow.svg) no-repeat right center;
  background-size: 20px;
}

.news-more-link a:hover {
  color: var(--text-color, #008000);
}

/* レスポンシブ設計 */
@media screen and (max-width: 992px) {
  .news-list > li a {
    flex-wrap: wrap;
    gap: 5px 18px;
  }
  .news-list .news-li-inner-flex {
    width: auto;
  }
  .news-list > li .news-title {
    flex: 0 0 auto;
    width: 100%;
  }
  .news-list > li .news-tag {
    flex: 1 1 auto;
    order: 2;

  }
  .news-list > li .news-cat {
    width: inherit;
    min-width: 87px;
    max-width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .news-list > li .news-date {
    order: 1;
  }
}

@media screen and (max-width: 768px) {
  /* override */
  .section-content.sc-news {
    padding-top: 40px;
  }

  .section-news-title {
    padding: 0 20px 0 20px;
    font-size: 2.4rem;
  }
  .section-news-title-container::before {
    height: 1px;
  }
  .section-news-title-container::after {
    height: 1px;
  }

  .section-news-title-container {
    margin: 0 auto 10px;
  }

  .news-list .news-li-inner-flex {
    width: 100%;
    justify-content: flex-start;
  }

  .news-list > li a {
    flex-direction: column;
    gap: 5px;
  }

  .news-list > li .news-tag {
    font-size: 1.6rem;
  }

  .news-list > li .news-date {
    font-size: 1.6rem;
  }
  .news-list > li .news-cat {
    font-size: 1.6rem;
  }

  .news-list > li .news-title {
    font-size: 1.6rem;
  }

}


