/* ========================================
   お知らせ詳細
======================================== */

.singleNews {
  padding: 40px 0 100px;
}

.singleNews .container {
  max-width: 1080px;
  margin: 0 auto;
}


/* パンくず */
.singleNews__breadcrumb {
  margin-bottom: 90px;
  font-size: 12px;
  color: #222;
}

.singleNews__breadcrumb a {
  color: #222;
  text-decoration: none;
}

.singleNews__breadcrumb span {
  margin: 0 3px;
}


/* ========================================
   記事部分
======================================== */

.singleNews__main {
  max-width: 800px;
  margin: 0 auto;
}

.singleNews__date {
  display: block;
  margin-bottom: 18px;
  color: #8c8c8c;
  font-size: 12px;
}


/* カテゴリー */
.singleNews__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 34px;
}

.singleNews__category {
  display: inline-block;
  width: auto;
  padding: 4px 10px;
  border: 1px solid #777;
  font-size: 11px;
  line-height: 1.2;
  color: #333;
  background: #fff;
}


/* 区切り線 */
.singleNews__line {
  width: 100%;
  height: 1px;
  margin-bottom: 40px;
  background: #ddd;
}


/* 本文 */
.singleNews__content {
  font-size: 14px;
  line-height: 2;
  color: #111;
}

.singleNews__content h2 {
  margin: 35px 0 25px;
  font-size: 18px;
  line-height: 1.6;
}

.singleNews__content h3 {
  margin: 30px 0 20px;
  font-size: 16px;
}

.singleNews__content p {
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 2;
}

.singleNews__content img {
  max-width: 100%;
  height: auto;
}


/* ========================================
   前後の記事
======================================== */

.singleNews__navigation {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 800px;
  margin: 80px auto 90px;
}

.singleNews__navigation > div {
  width: 270px;
}

.singleNews__navigation a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 48px;
  padding: 10px 30px;
  border-radius: 30px;
  background: #079bd8;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .15);
}

.singleNews__prev a span {
  position: absolute;
  left: 15px;
  font-size: 20px;
}

.singleNews__next {
  margin-left: auto;
}

.singleNews__next a span {
  position: absolute;
  right: 15px;
  font-size: 20px;
}


/* ========================================
   関連コンテンツ
======================================== */

.relatedNews {
  padding-bottom: 80px;
}

.relatedNews .h2A {
  margin-bottom: 60px;
}


/* 3カラム */
.relatedNews__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.relatedNews__item {
  margin: 0;
}

.relatedNews__link {
  display: block;
  color: #111;
  text-decoration: none;
}

.relatedNews__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 20px;
}

.relatedNews__title {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
}

.relatedNews__date {
  display: block;
  margin-bottom: 10px;
  color: #888;
  font-size: 12px;
}

.relatedNews__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.relatedNews__category {
  display: inline-block;
  width: auto;
  padding: 4px 9px;
  border: 1px solid #777;
  font-size: 10px;
  line-height: 1.2;
}


/* ========================================
   お知らせカード共通
   ・お知らせ一覧
   ・TOP「事業部からのお知らせ」
======================================== */

.newsArchive .articleList,
.notice .articleList {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  row-gap: 40px;
}


/* 各カード */
.newsArchive .articleList > li,
.notice .articleList > li {
  position: relative;
  height: auto !important;
  margin-bottom: 0;
}


/* カード内リンク */
.newsArchive .articleList__wrap,
.notice .articleList__wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}


/* アイキャッチ画像 */
.newsArchive .articleList__img,
.notice .articleList__img {
  position: static;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}


/* カテゴリー */
.newsArchive .newsList__cate,
.notice .newsList__cate {
  position: static;
  display: inline-block;
  width: fit-content;
  margin-top: 12px;
}


/* タイトル */
.newsArchive .articleList__title,
.notice .articleList__title {
  position: static;
  margin: 10px 0 8px;
  height: auto;
}


/* 日付 */
.newsArchive .articleList time,
.notice .articleList time {
  position: static;
  display: block;
  margin-top: auto;
}


/* ========================================
   スマホ
======================================== */

@media (max-width: 767px) {

  /* 記事詳細 */
  .singleNews {
    padding: 30px 0 60px;
  }

  .singleNews__breadcrumb {
    margin-bottom: 50px;
    font-size: 10px;
  }

  .singleNews__main {
    max-width: 100%;
  }

  .singleNews__content {
    font-size: 13px;
  }

  .singleNews__content p {
    font-size: 13px;
    line-height: 1.9;
  }


  /* 前後の記事 */
  .singleNews__navigation {
    flex-direction: column;
    margin: 50px auto 70px;
  }

  .singleNews__navigation > div {
    width: 100%;
  }

  .singleNews__next {
    margin-left: 0;
  }


  /* 関連コンテンツ */
  .relatedNews__list {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .relatedNews__image {
    aspect-ratio: 1 / 1;
  }


  /* お知らせカード */
  .newsArchive .articleList,
  .notice .articleList {
    row-gap: 30px;
  }

}


.breadcrumb {
  margin: 20px 0 70px 0;
}