/* 作成者名：繁田  */

/* single.css */

/*
Theme Name: 千の栞
*/

/* 使用カラー */
:root {
  --black: #000;
  --navy: #1d4763;
  --red: #b40019;
  --skyblue: #7ac8d0;
  --pink: #f9cebf;
}

/* 使用フォント */
:root {
  --NotoSans: "Noto Sans JP", sans-serif;
  /* Regular 400 Medium 500 SemiBold 600 Bold 700 Black 900*/
  --NotoSerif: "Noto Serif JP", serif;
  /* Regular 400 Medium 500 Bold 700 */
}

.news_container {
  background-color: #fdf7f2;
  margin: 0 auto;
}

/* お知らせ詳細ページタイトル */

.news_header_flex {
  width: 110.7rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  column-gap: 79.45rem;
  margin: 0 auto;
  padding: 1.9rem 0 0 0;
}

.link_wrapper_flex {
  height: 4.202rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  column-gap: 1.5rem;
}

.icon_wrapper {
  width: 4.2rem;
  height: 4.202rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border: 0.1rem solid var(--red);
  border-radius: 50%;
  background-color: var(--red);
}

.link_text_wrapper {
  width: 8rem;
}

.link_icon {
  font-family: var(----NotoSans);
  font-weight: 900;
  font-size: 2rem;
  line-height: 2.45em;
  letter-spacing: 0;
  text-align: left;
  color: #ffffff;
}

.link_text {
  font-family: var(----NotoSans);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 2.813em;
  letter-spacing: 0;
  text-align: left;
  color: var(--red);
}

.news_single_title_wrapper {
  position: relative;
  right: 1.3rem;
}

.news_single_title {
  font-family: var(----NotoSans);
  font-weight: 500;
  font-size: 8.5rem;
  line-height: 1.447em;
  letter-spacing: 0;
  text-align: left;
  color: var(--navy);
}

/* お知らせ詳細記事 */

.news_article_wrapper {
  /* width: 110.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 0.1rem solid #ffffff;
  border-radius: 3.2rem 3.2rem 3.2rem 3.2rem;
  background-color: #ffffff;
  margin: 0 auto;
  padding: 6.7rem 0 18.3rem 0; */
  margin: 0 8.65rem 7.698rem 8.65rem;
  padding: 6.7rem 12.571rem 18.8rem 11.672rem;
  background-color: #ffffff;
  border-radius: 3.2rem;
}

/* .news_date_area {
  width: 86.457rem;
} */

.news_single_date {
  font-family: var(----NotoSans);
  font-weight: 900;
  font-size: 1.8rem;
  /* line-height: 2.722em; */
  letter-spacing: 0;
  text-align: left;
  color: var(--navy);
}

.news_title_area {
  width: 100%;
  /* width: 86.457rem; */
  margin-top: 3.3rem;
}

.news_title {
  font-family: var(----NotoSans);
  font-weight: 900;
  font-size: 2.8rem;
  line-height: 4rem;
  /* line-height: 1.75em; */
  letter-spacing: 0;
  text-align: left;
  color: var(--navy);
}

.news_image_area {
  width: 100%;
  margin-top: 3.3rem;
}

.news_image_area > img{
  width: 100%;
  height: 50.9rem;
  object-fit: contain;
}

.news_single_img {
  width: 100%;
  height: 50.9rem;
  object-fit: contain;
}

.news_text_area {
  width: 76.2rem;
  margin-top: 6.4rem;
  padding-left: 1rem;
}

.news_text_area p {
  font-family: var(----NotoSans);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 3.8rem;
  letter-spacing: 0;
  text-align: left;
  color: var(--navy);
}

/* ページネーション */
.news_page_nation_flex {
  display: flex;
  flex-direction: row;
  justify-content: center;
  column-gap: 47.1rem;
  background-color: #fdf7f2;
  padding: 0 0 10.098rem 0;
}

.page_link_button {
  width: 9.3rem;
  height: 4.202rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: var(--red);
  border: 0.1rem solid var(--red);
  border-radius: 3.1rem 3.1rem 3.1rem 3.1rem;
}

.link_button_left {
  padding: 0 2rem 0 5.3rem;
}

.link_button_right {
  padding: 0 5.2rem 0 2.1rem;
}

.page_link_text {
  font-family: var(----NotoSans);
  font-weight: 900;
  font-size: 2rem;
  line-height: 2.45em;
  letter-spacing: 0;
  text-align: left;
  color: #ffffff;
}

@media screen and (max-width: 699.98px) {
  .news_container {
    width: 100%;
  }
  /* お知らせ詳細ページタイトル */
  .news_header_flex {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: start;
    row-gap: 2.798rem;
    margin: 0 auto;
    padding: 1.2rem 0 0 1.5rem;
  }

  .link_wrapper_flex {
    padding-left: 1.8rem;
  }

  .link_text {
    line-height: 4.5em;
  }

  .news_single_title_wrapper {
    position: relative;
    right: 0;
  }

  .news_single_title {
    font-size: 7rem;
    line-height: 1em;
  }

  /* お知らせ詳細記事 */

  .news_article_wrapper {
    margin: 3.3rem 1.5rem 6.998rem 1.5rem;
    padding: 4rem 0rem 19rem 0rem;
  }

  .news_single_date {
    width: 100%;
    font-size: 1.4rem;
    text-align: left;
    padding-left: 1.8rem;
    padding-right: 1.8rem;
  }

  .news_title_area {
    width: 100%;
    padding-left: 1.8rem;
    padding-right: 1.8rem;
    margin-top: 1.998rem;

    /* width: 86.457rem; */
  }

  .news_title {
    font-size: 2.5rem;
  }

  .news_image_area {
    width: 100%;
    margin-top: 2.4rem;
  }

  .news_image_area > img{
    width: 100%;
    height: 20.311rem;
    object-fit: contain;
  }

  .news_single_img {
    width: 100%;
    height: 20.311rem;
    object-fit: contain;
  }

  .news_text_area {
    width: 100%;
    margin-top: 1.889rem;
    padding-left: 1.8rem;
    padding-right: 1.8rem;
  }

  .news_page_nation_flex {
    column-gap: 15.5rem;
    background-color: #fdf7f2;
    padding: 0 0 6.9rem 0;
  }
}
