.post {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: white;
}

.post * {
  font-family: "Noto Sans JP", sans-serif;
}

.post__wrapper {
  max-width: 896px;
  margin: 0 auto;
}

.post__category-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.post__category {
  display: none;
}

.post__category-item {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: #707070;
  padding: 4px 8px 5px;
  border: 1px solid #707070;
  border-radius: 2px;
  white-space: nowrap;
}

.post__title {
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  margin-top: 16px;
  color: #3b4043;
  margin-bottom: 22px;
}

.post__main-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #a0a0a0;
  margin: 22px auto 0;
}

.post__subtitle {
  position: relative;
  margin-top: 32px;
  border-top-right-radius: 9999px;
  border-bottom-right-radius: 9999px;
  background-color: #58c7d9;
  color: white;
  font-size: 16px;
  line-height: 24px;
  padding: 8px 16px 8px 24px;
}

.post__wrapper h3 {
  position: relative;
  margin-top: 32px;
  border-top-right-radius: 9999px;
  border-bottom-right-radius: 9999px;
  background-color: #58c7d9;
  color: white;
  font-size: 16px;
  line-height: 24px;
  padding: 8px 16px 8px 24px;
}

.post__subtitle::before {
  content: "";
  display: block;
  width: 16px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #0e5195;
}

.post__wrapper h3::before {
  content: "";
  display: block;
  width: 16px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #0e5195;
}

.post__subtitle-sec {
  position: relative;
  margin-top: 20px;
  font-size: 16px;
  line-height: 24px;
  color: #3b4043;
  padding: 0 16px 0 24px;
}

.post__wrapper h4 {
  position: relative;
  margin-top: 20px;
  font-size: 16px;
  line-height: 24px;
  color: #3b4043;
  padding: 0 16px 0 24px;
}

.post__subtitle-sec::before {
  content: "";
  display: block;
  position: absolute;
  width: 16px;
  height: 100%;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  background-color: #1b4765;
  left: 0;
  top: 0;
}

.post__wrapper h4::before {
  content: "";
  display: block;
  position: absolute;
  width: 16px;
  height: 100%;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  background-color: #1b4765;
  left: 0;
  top: 0;
}

.post__text {
  margin-top: 16px;
  font-size: 16px;
  line-height: 24px;
  color: #3b4043;
}

.post__wrapper p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 24px;
  color: #3b4043;
}

.post__images {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  justify-content: center;
}

.post__images-item {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 320 / 173;
  background-color: #a0a0a0;
}

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

/* .navi_buttons * {
  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;
} */

.navi_buttons div:first-child {
  text-align: right;
  padding-right: 20px;
}

.navi_buttons div:last-child {
  padding-left: 16px;
}

/* .navi_buttons *::before {
  position: absolute;
  display: block;
  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 a::before {
  position: absolute;
  display: block;
  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 div:first-child::before {
  left: 11px;
} */

.navi_buttons div.post-detail__btn-p a::before {
  left: 11px;
}

/* .navi_buttons div:last-child::before {
  right: 11px;
  transform: translateY(-50%) rotate(180deg);
} */
.navi_buttons div.post-detail__btn-n a::before {
  right: 11px;
  transform: translateY(-50%) rotate(180deg);
}

.post__wrapper table {
  border-collapse: collapse;
  width: 100%;
  /* max-width: 700px; */
  margin: 40px auto 0;
}

.post__wrapper table tr {
  margin-bottom: 20px;
}

.post__wrapper table td {
  width: 100% !important;
}

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

.post-detail__btn-p a {
  text-align: right;
  padding-right: 20px;
}

.post-detail__btn-n a {
  text-align: left;
  padding-left: 20px;
}

.navi_buttons a {
  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;
  display: block;
  position: relative;
}

.navi_buttons a::before {
  position: absolute;
  display: block;
  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 .post-detail__btn-n a::before {
  right: 11px;
  transform: translateY(-50%) rotate(180deg);
}

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

  .navi_buttons div:first-child {
    padding-right: 10px;
  }

  .navi_buttons div:last-child {
    padding-left: 8px;
  }
}

@media (min-width: 768px) {
  .post {
    padding-top: 200px;
    padding-bottom: 126px;
  }

  .post__title {
    font-size: 36px;
    line-height: 48px;
    margin-top: 64px;
    margin-bottom: 39px;
  }

  .post__category {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }

  .post__main-image {
    width: 100%;
    aspect-ratio: 896 / 504;
    background-color: #a0a0a0;
    margin: 39px auto 0;
  }

  .post__subtitle {
    position: relative;
    margin-top: 40px;
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
    background-color: #58c7d9;
    color: white;
    font-size: 20px;
    line-height: 32px;
    padding: 20px 36px;
  }

  .post__wrapper h3 {
    position: relative;
    margin-top: 40px;
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
    background-color: #58c7d9;
    color: white;
    font-size: 20px;
    line-height: 32px;
    padding: 20px 36px;
  }

  .post__subtitle-sec {
    margin-top: 50px;
    font-size: 20px;
    line-height: 32px;
    padding: 10px 36px;
  }

  .post__wrapper h4 {
    margin-top: 50px;
    font-size: 20px;
    line-height: 32px;
    padding: 10px 36px;
  }

  .post__wrapper p {
    margin-top: 40px;
    line-height: 32px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .post__images {
    margin-top: 60px;
  }

  .navi_buttons {
    margin: 60px auto 0 auto;
  }

  .post__wrapper td {
    padding-left: 20px;
  }

  .post__wrapper table td {
    width: auto !important;
  }

  .navi_buttons {
    margin: 60px auto 0 auto;
  }
}