.post_page {
  background-color: #123a78;
}

.post {
  padding: 40px 27px 80px;
  max-width: 830px;
  margin: 0 auto;

  color: white;
}

.post__title {
  font-size: 24px;
  line-height: normal;
  text-align: center;
  margin: 21px auto 0;
}

h2,
h3,
h4 {
  font-family: "Noto Serif JP", sans-serif;
}

.post__main_image {
  width: 100%;
  margin: 40px auto 0;
  position: relative;
}

.post > img {
  display: block;
  max-width: 660px;
  margin: 40px auto 0;
}

.post__main_image {
  width: 100%;
  aspect-ratio: 311 / 190;
  display: block;
  background-color: #fff;
  margin: 24px auto 0;
  object-fit: cover;
  object-position: center;
}

.post__main_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.post__date {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  color: #707070;
  background-color: white;
  line-height: 25px;
  height: 25px;
  width: 167px;
  text-align: center;
  border-radius: 4px;
  margin: 0 auto;
}

.post__title_2 {
  display: block;
  font-size: 20px;
  margin-top: 48px;
  width: 100%;
  padding: 10px;
  height: fit-content;
  position: relative;
  color: black;
  background-color: white;
  text-align: left;
}

.post__title_3 {
  font-size: 20px;
  padding: 0 0 16px 30px;
  display: block;
  border-bottom: 1px solid #fff;
  margin-top: 40px;
  text-align: left;
  padding: 10px;
}

.post__text {
  font-family: "Noto Sans JP", sans-serif;
  margin-top: 20px;
}

.post__img_wrapper {
  display: flex;
  margin: 40px auto 0;
  max-width: 830px;
  flex-direction: column;
  gap: 20px;
}

.post__image {
  width: 100%;
  aspect-ratio: 320 / 173;
  background-color: #797979;
  object-fit: cover;
}

.navi_buttons {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 830px;
  margin: 40px auto 0 auto;
}

.navi_buttons a {
  display: block;
  width: 144px;
  height: 40px;
  border: 1px solid #707070;
  border-radius: 2px;
  background-color: #ffffff;
  color: #707070;
  font-weight: 500;
  line-height: 37px;
  position: relative;
  cursor: pointer;
  padding-top: 2px;
}

.navi_buttons .prev-button {
  text-align: right;
  padding-left: 30px;
}

.navi_buttons .next-button {
  padding-left: 16px;
}

.navi_buttons span::before {
  position: absolute;
  height: 12px;
  width: 6px;
  content: "";
  background-image: url(../images/news/navi-arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  top: 50%;
  transform: translateY(-50%);
}

.navi_buttons .prev-button::before {
  left: 11px;
}

.navi_buttons .next-button::before {
  right: 11px;
  transform: translateY(-50%) rotate(180deg);
}

@media (max-width: 360px) {
  .navi_buttons a {
    width: 120px;
    font-size: 14px;
  }

  .navi_buttons a:first-child {
    padding-right: 5px;
  }

  .navi_buttons a:last-child {
    padding-left: 10px;
  }

  .navi_buttons .prev-button {
    text-align: right;
    padding-left: 20px;
  }

  .navi_buttons .next-button {
    padding-left: 0px;
  }
}

@media (min-width: 768px) {
  .post {
    padding: 160px 27px;
    box-sizing: content-box;
  }

  .post__title {
    font-size: 36px;
    margin-top: 56px;
  }

  .post__title::after {
    width: 100%;
    margin-top: 25px;
  }

  .post__title_2 {
    font-size: 30px;
    padding: 17px 36px;
    line-height: 42px;
  }

  .post__title_3 {
    text-align: center;
    font-size: 24px;
    line-height: 36px;
  }

  .post__main_image {
    margin: 50px auto 0;
    max-width: 807px;
  }

  .post__img_wrapper {
    margin-top: 40px;
    flex-direction: row;
    justify-content: space-between;
  }

  .post__img_wrapper img {
    max-width: 385px;
    display: block;
    margin: 0 auto;
  }

  .post__text {
    font-family: "Noto Sans JP", sans-serif;
    margin-top: 40px;
  }

  .post > img {
    aspect-ratio: 660 / 369;
    margin-top: 80px;
  }
  .post__images_wrapper img {
    aspect-ratio: 385 / 217;
    max-width: 385px;
  }

  .post__text {
    padding: 0 20px;
  }
}
