.news_notice_content {
  margin-top: 15rem;
}

.common_title_img {
  object-fit: cover;
  object-position: 100% 15%;
}

/* 一覧表示 */
.notice_list {
  width: 54rem;
  margin: 0 auto;
}
.notice_overview {
  height: 8rem;
}

.not_det_size {
  width: 50%;
}

.notice_date,
.notice_content a {
  color: #031a63;
  font-size: 1.5rem;
  margin-left: 1rem;
}
.det_not_date {
  font-size: 2.3rem;
}

.not_det_line {
  width: 100%;
}

.notice_detail_title {
  margin: 3rem 0;
}

.desc_line_detail {
  margin: 1rem;
}

.desc_line_detail a {
  text-decoration-line: underline;
}

.new_detail_content_second {
  padding-left: 2rem;
  margin-bottom: 3rem;
}

.desc_line_detail,
.new_detail_content_second ul li {
  font-size: 1.5rem;
}

.new_detail_content_first,
.new_detail_content_third {
  margin: 2rem 0;
  margin-bottom: 3rem;
}

.preferred {
  margin-left: 0;
}

/* バックボタン */

.notice_page_back {
  width: 5vh;
  height: 3vh;
  margin-top: 17px;
  margin-left: 1.3rem;
}

.arrow_fom_link {
  position: relative;
  font-size: 1.2rem;
}

.arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-top: solid 25px #031a63;
  border-right: solid 25px #031a63;
  transform: rotate(225deg) skew(155deg, 155deg);
}
.arrow_transpa {
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  border-top: solid 25px white;
  border-right: solid 25px white;
  transform: rotate(135deg) skew(160deg, 160deg);
  z-index: 9;
}
.arrow_transpa_square {
  position: absolute;
  left: 0.9rem;
  width: 3rem;
  height: 2rem;
  background-color: white;
  z-index: 99;
}
.arrow_line {
  position: absolute;
  width: 7rem;
  top: 1.1rem;
  border: #031a63 solid 1px;
  z-index: 999;
}
.arrow_code {
  position: absolute;
  top: 3px;
  left: 2.8rem;
  color: #031a63;
  background-color: white;
  z-index: 9999;
}

/* ページネション */
.notice_page_links {
  width: 26rem;
  height: 2rem;
  margin: 0 auto;
  text-align: center;
  margin-top: 3rem;
  font-size: 1.6rem;

}


.common_title_img_mini {
  margin-top: 7rem;
  object-fit: cover;
  object-position: 100% 30%;
}

.page_name {
  top: calc(50% - 50px);
  font-size: 2.9rem;
}

.page_name div {
  margin: 2rem auto;
}

.page-numbers {
  color: #031a63;
  border: 1px solid #031a63;
  padding: 0.5rem 1.1rem;
  border-radius: 10%;
  cursor: pointer;
}

.prev,
.next {
  padding: 0.5rem 0.75rem;
}

.not_view {
  border-color: #fff;
  color: #fff;
  pointer-events: none;
}

.article_images {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 2rem;
}

.article_images img {
  width: calc(50% - 10px);
  max-width: 560px;
}

@media (hover: hover) and (pointer: fine) {
  .page-numbers:hover {
    background-color: #031a63;
    color: #fff;
  }
}

.current {
  pointer-events: none;
  color: #fff;
  background-color: #031a63;
}

/* 各お知らせ詳細ページ */
/* 画像 */
.news_content_img {
  width: 60%;
  top: 60%;
}

@-moz-document url-prefix() {
  .news_notice_content {
    margin-top: 21vh;
  }

  .back_page {
    margin-top: 4%;
  }

  .arrow {
    top: 0;
  }

  .arrow_transpa {
    top: 0;
  }

  .arrow_transpa_square {
    top: 0;
  }
}

@media screen and (max-width: 990px) {
  #top_body {
    position: relative;
    top: -7rem;
  }

  .page_name {
    top: calc(50% - 35px);
  }

  .page_name div {
    margin: 1.5rem auto;
  }

  .heading {
    margin-bottom: 3rem;
  }

  .not_det_size {
    width: 80%;
  }

  .notice_list {
    width: 90%;
  }

  .notice_date,
  .notice_content a {
    margin-left: 0;
    
  }

  .notice_overview {
    width: 100%;
    margin: 0 auto;
  }

  .not_detail_heading {
    width: 100%;
    margin: 1rem;
  }

  .det_not_date {
    font-size: 2rem;
  }

  .detail_heading_name {
    font-size: 2rem;
  }

  .back_page {
    margin-left: 2rem;
  }

  .s_separator {
    width: 100%;
    margin: 0 auto;
  }

  .place_name {
    display: none;
  }

  .news_content_img {
    width: 70%;
    top: 70%;
  }
  .article_images img {
    max-width: 90%;
  }

  @-moz-document url-prefix() {
    .back_page {
      margin-top: 6%;
    }

    .arrow {
      top: 0;
    }

    .arrow_transpa {
      top: 0;
    }

    .arrow_transpa_square {
      top: 0;
    }
  }
}

@media screen and (max-width: 480px) {
  /* 共通 */

  .common_title_img {
    height: 60vw;
  }

  .main_view {
    margin-top: 7rem;
  }

  .heading {
    margin-bottom: 3rem;
    margin-top: -7rem;
  }

  .notice_list {
    width: 95%;
    margin: 0 auto;

  }

  .notice_overview {
    width: 100%;
    margin: 0 auto;
  }

  .s_separator {
    width: 100%;
  }

  .common_title_img_mini {
    height: 13.8vh;
  }

  .det_not_date {
    font-size: 1.8rem;
    margin-left: 1rem;
  }

  .not_detail_heading {
    width: 100%;
    margin: 1rem 0;
  }

  .detail_heading_name {
    font-size: 1.7rem;
  }

  .not_det_size {
    width: 100%;
  }

  .desc_line_detail {
    margin: 1rem 0;
  }

  .article_images {
    flex-direction: column;
    align-items: center;
  }

  .article_images img {
    width: 100%;
    max-width: none;
  }

  @-moz-document url-prefix() {
    .back_page {
      margin-top: 7%;
    }
  }

  .news_content_img {
    width: 100%;
    top: 100%;
    
  }
  
}