@charset "UTF-8";
/* ===== 記事詳細ヘッダー ===== */
.news_detail {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
}
.text_head_detail {
  margin-bottom: 3rem;
  text-align: left;
}

.news_date_detail {
  display: block;
  color: var(--color-grey);
  font-size: 1.25rem;
  font-weight: var(--weight-bold);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.news_title_detail {
  color: var(--color-main);
  font-size: 1.75rem;
  line-height: 1.7;
  margin: 0;
  font-weight: var(--weight-medium);
  border-bottom: 1px solid color-mix(in srgb, var(--color-grey) 50%, white);
  padding-bottom: 0.5em;
}
/* 記事引用部分 */
.news-quote-heading {
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
  color: var(--color-main, #2c3543);
}

/* blockquote の引用スタイル */
.news-quote {
  margin: 0;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--color-main, #2c3543);
  background: #fafafa;
  border-radius: 4px;
  line-height: 1.85;
  pointer-events: auto;
}
/* ===== 記事本文 ===== */
.news__wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.news_image {
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  max-width: 880px;
  border-radius: 0.4rem;
  aspect-ratio: 16/9;
}
.news_image img {
  object-fit: contain;
  max-width: 100%;
  height: 100%;
  border-radius: 0.4rem;
}

/* ===== ニュース項目のwrapper ===== */

.longComment {
  line-height: 1.8;
  color: var(--color-text);
  margin-block: 2em;
  text-align: center;
}

/* ===== 記事一覧セクション ===== */
.news-list-section {
  margin: 4rem 0;
  scroll-margin-top: 140px;
}

.news-list-section__title {
  font-size: 1.5rem;
  color: var(--color-main);
  text-align: left;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-list__item {
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, var(--color-main), var(--color-grey)) 1;
  padding-bottom: 1rem;
}

.news-list__link {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-decoration: none;
  color: var(--color-text);
  transition: var(--transition);
  padding-block: 1rem;
}

.news-list__link:hover {
  background-color: var(--color-bg);
  color: var(--color-main);
}

.news-list__content {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.news-list__date {
  font-size: 1.25rem;
  color: var(--color-grey);
  margin-right: 1rem;
}

.news-list__title {
  font-size: 1.25rem;
  font-weight: var(--weight-medium);
  line-height: 2;
}

.text_head_detail {
  margin-bottom: 2rem;
}
.news-contact-link,
.news-external__link {
  color: color-mix(in srgb, var(--color-main) 70%, dodgerblue);
}
.news-contact-link:hover,
.news-external__link:hover {
  color: color-mix(in srgb, var(--color-main) 20%, dodgerblue);
}
.news-detail__list {
  padding-top: 0;
}
/* ===== レスポンシブ対応 ===== */
@media (max-width: 960px) {
  .is-inner .section__title-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  .is-inner .section__title-inner__divider {
    display: none;
  }
  .is-inner .section__title-inner__index {
    border-bottom: 1px solid currentColor;
    padding-bottom: 0.2em;
  }

  .news_date_detail {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .news_title_detail {
    font-size: 1.375rem;
    line-height: 1.3;
  }

  .news-item-wrapper {
    margin-bottom: 2rem;
  }

  .news-item-wrapper img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 1.5rem auto;
  }
  .news_detail {
    padding-inline: 0;
  }

  .news-download-button {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
  }

  .news-list-section {
    margin: 2rem 0;
  }
  .news-list-section__title {
    margin-top: 5rem;
    margin-bottom: 0;
  }
  .news-list {
    align-items: flex-start;
  }
  .news-list__link {
    flex-direction: column;
    gap: 1rem;
    text-align: left;
  }
  .news-list__item {
    width: 100%;
  }
  .news-list__date {
    font-size: 1rem;
  }
  .news-list__title {
    font-size: 1rem;
    font-weight: var(--weight-medium);
    line-height: 2;
  }
}
