/* 全体の背景色 */
body {
  /* background-color: #292929; */
}

.news_post_content {
  margin-bottom: 10rem;
  padding: 0 5rem;
}
.container:has(.navigation) .news_post_content {
  margin-bottom: 0;
}

/* サムネイルと記事 横並び */
.flex_area {
  width: 118rem;
  display: flex;
  gap: 2rem;
  margin-bottom: 0;
  border-top: solid 0.1rem #FFFFFF;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.news_post_content article:last-child .flex_area {
  border-bottom: 0.1rem solid #fff;
}

/* 最後のflex_areaに下線を引く */
.bottom {
  border-bottom: solid 0.1rem #FFFFFF;
}

/* ホバーで色変更 */
.flex_area:hover {
  background-color: #707070;
}

/* コンテンツの幅 */
.container {
  width: 118rem;
  margin: 6rem auto 0;
}

/* タイトル */
.page_title {
  font-size: 4rem;
  color: #FFFFFF;
  margin-bottom: 4.5rem;
  font-weight: normal;
}


/* サムネイルの設定 */

.left_area,
.thumbnail {
  width: 27.5rem;
  height: 15.5rem;
}

.no_image{
  object-fit: contain;
}

/* 日付 */
.date {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

/* 記事のタイトル */
.news_title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #FFFFFF;
  font-weight: 600;
}

/* 記事の本文 */
.news_text {
  width: 80.5rem;
  font-size: 1.6rem;
  color: #FFFFFF;
  text-align: left;
  display: -webkit-box;
  /* Webkit系の表示を有効にする */
  -webkit-box-orient: vertical;
  /* テキストの方向を垂直に設定する */
  -webkit-line-clamp: 2;
  /* 表示する行数を2行に制限する */
  line-clamp: 2;
  /* 互換性 */
  overflow: hidden;
  /* 範囲外のコンテンツを非表示にする */
  text-overflow: ellipsis;
  /* はみ出したテキストを省略記号で表示（主に単一行向けだが併用される） */
}


/* ナビ部分 */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 3rem;
  margin-top: 3.5rem;
  margin-bottom: 10rem;
}


/* ページ数 */
.page-numbers {
  gap: 3rem;
  width: 5rem;
  height: 5rem;
  border: solid 0.1rem #FFFFFF;
  border-radius: 50%;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 2rem;
}

/* 選択中のページに色を付ける */
.current {
  background-color: #fff;
  color: #000000;
}

/* クラス名にdotsがついたときの...の仕様 */
.dots {
  border: none;
  align-items: center;
  width: 2.2rem;
  padding-top: 4.5rem;
  pointer-events: none;
}


/* SP版 */
@media screen and (max-width:699.98px) {
  .container {
    width: 35.5rem;
    margin: 3rem auto 0;
  }

  .page_title {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .news_post_content{
    padding: 0 1.5rem;
  }

  .flex_area {
    width: 100%;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }

  .flex_area:hover {
    background-color: #707070;
  }

  .left_area,
  .thumbnail {
    width: 100%;
    height: 20rem;
  }

  .date {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .news_title {
    display: -webkit-box;
    /* Webkit系の表示を有効にする */
    -webkit-box-orient: vertical;
    /* テキストの方向を垂直に設定する */
    -webkit-line-clamp: 1;
    /* 表示する行数を1行に制限する */
    line-clamp: 1;
    /* 互換性 */
    overflow: hidden;
    /* 範囲外のコンテンツを非表示にする */
    text-overflow: ellipsis;
    /* はみ出したテキストを省略記号で表示（主に単一行向けだが併用される） */
  }

  .news_text {
    width: 35.5rem;
    display: -webkit-box;
    /* Webkit系の表示を有効にする */
    -webkit-box-orient: vertical;
    /* テキストの方向を垂直に設定する */
    -webkit-line-clamp: 2;
    /* 表示する行数を2行に制限する */
    line-clamp: 2;
    /* 互換性 */
    overflow: hidden;
    /* 範囲外のコンテンツを非表示にする */
    text-overflow: ellipsis;
    /* はみ出したテキストを省略記号で表示（主に単一行向けだが併用される） */
  }

  .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 10.5rem;
  }

  .page-numbers {
    width: 4.5rem;
    height: 4.5rem;
  }

  .dots {
    width: 2rem;
  }
}