/* 作成者名：東  */

/*
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: #BFE2DB;
  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;
  margin-top: 2.5rem;
  margin-bottom: 7.698rem;
  padding: 6.7rem 0 18.8rem 0;
}

.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: 86.457rem;
  margin: 3.3rem 0 0 0;
}

.news_title {
  font-family: var(--NotoSans);
  font-weight: 900;
  font-size: 2.8rem;
  line-height: 1.75em;
  letter-spacing: 0;
  text-align: left;
  color: var(--navy);
}

.news_image_area img {
  width: 86.457rem;
  height: 50.9rem;
  margin: 3.3rem 0 0 0;
}

.news_single img {
  width: 86.457rem;
  height: 50.9rem;
  object-fit: cover;
}

.news_text_area {
  position: relative;
  width: 76.2rem;
  margin: 6.4rem 0 0 0;
  right: 3rem;
}

.news_text {
  font-family: var(----NotoSans);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 2.375em;
  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; */
  margin: 7.698rem 0 0 0;
  padding: 0 0 10.098rem 0;
  width: 100%;
}

.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;
}

.page_link_button.no-post {
  visibility: hidden;
}

.link_button_left {
  padding: 0 2rem 0 5.3rem;
}

.link_button_right {
  padding: 0 5.2rem 0 2.1rem;
}

.page_link_text a {
  font-family: var(----NotoSans);
  font-weight: 900;
  font-size: 2rem;
  line-height: 2.45em;
  letter-spacing: 0;
  text-align: left;
  color: #FFFFFF;
}

/* テキスト */
.device_text_wrap p {
  font-size: 1.6rem;
  letter-spacing: 0;
  line-height: calc(38 / 16);
  font-weight: 400;
  color: #1D4763;
}

.wp-block-image {
  max-width: 100%;
  width: auto;
  height: auto;
}

.wp-block-image img{
  width: auto;
}

/* スマホ版 */
@media screen and (max-width: 699.98px) {

  .news_article_wrapper {
    width: 34.5rem;
    padding: 0;
    margin-top: 2.1rem;
  }

  .news_header_flex {
    width: 100%;
    margin: 0 auto;
    padding: 4rem 1.5rem;
  }


  /* 画像 */
  .news_image_area img {
    width: 34.5rem;
    height: 20.311rem;
    margin: 3.3rem 0 0 0;
  }

  /* テキスト */
  .device_text_wrap p {
    font-size: 1.6rem;
    letter-spacing: 0;
    line-height: calc(38 / 16);
  }

  .news_text_area {
    /* position: relative; */
    width: 28.5rem;
    margin: 0;
    right: 0;
    padding-top: 3.489rem;
    padding-bottom: 20.4rem;
  }



  .news_title_area {
    width: 100%;
    padding: 0 1.8rem;
  }

  .news_page_nation_flex {
    gap: 15.5rem;
  }
}