.news-details {
  position: relative;
  padding: 24px 27px 80px;
  margin: 90px auto 0;
  padding: 70px 21px 10px;
  overflow: hidden;
}

.news-details::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  aspect-ratio: 375 / 87;
  background-image: url(../images/common/bubbles-1.webp);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.news-details::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  aspect-ratio: 375 / 87;
  background-image: url(../images/common/bubbles-2.webp);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.news-details__category {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.news-details__category-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

@media (max-width: 460px) {
  .news-details__category-container {
    flex-direction: column;
  }
}

.news-details__category-item {
  display: block;
  width: fit-content;
  height: 21px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 21px;
  border-radius: 2px;
  border: 1px solid #707070;
  box-sizing: content-box;
  white-space: nowrap;
  color: #707070;
  background-color: #fff;
  padding: 0 5px;
}

.section__title {
  margin-top: 20px;
  font-size: 20px;
  line-height: 32px;
  width: 100%;
  max-width: 984px;
  position: relative;
}

.news-details__main-image {
  display: block;
  margin: 20px auto 0;
  width: 100%;
  padding: 0 6px;
  aspect-ratio: 320/180;
}

.news-details__main-image img {
  width: 100%;
  height: 100%;
  background-color: #707070;
  object-fit: cover;
}

.news-details__title-h3 {
  margin-top: 20px;
}

.news-details__title-h3 {
  position: relative;
  font-size: 18px;
  line-height: 24px;
  height: fit-content;
  margin-top: 20px;
  padding-left: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #707070;
}

.news-details__title-h3::after {
  position: relative;
  top: 10px;
  left: -8px;
  content: "";
  display: block;
  width: 68px;
  height: 4px;
  background-color: #707070;
  border-radius: 2px;
}

.news-details__title-h3--arrow {
  border-bottom: none;
  padding-bottom: 0;
}

.news-details__title-h3--arrow h3 {
  padding-bottom: 9.5px;
}

.news-details__title-h3--arrow::after {
  display: none;
}

.divider {
  display: flex;
  flex-direction: row;
}

.line {
  width: calc(50% - 12.5px);
  height: 1px;
  background-color: #707070;
}

.arrow {
  width: 25px;
  height: 17px;
  background-image: url(../images/news/arrow-divider.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.news-details__action_buttons {
  display: flex;
  gap: 20px;
  margin: 20px auto 0 auto;
  max-width: 303px;
}

.action-button {
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.action-button img {
  width: 14px;
  margin-right: 4px;
}

.like-counter {
  font-size: 14px;
  color: #888;
}

.news-details__buttons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  gap: 32px;
  margin-top: 30px;
  margin-bottom: 53px;
}

.news-details__buttons a {
  position: relative;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  width: 144px;
  height: 40px;
  border: 1px solid #707070;
  border-radius: 2px;
  margin: 0;
  background-color: #fff;
}

.news-details__buttons a span {
  position: relative;
  color: #707070;
}

.news-details__buttons a.prev_post span {
  left: 8px;
}

.news-details__buttons a.next_post span {
  right: 8px;
}

.news-details__buttons a.next_post {
  margin-left: auto;
}

.news-details__buttons a img {
  position: absolute;
  width: 8px;
  height: 13px;
}

.news-details__buttons a.prev_post img {
  left: 10px;
}

.news-details__buttons a.next_post img {
  right: 10px;
  transform: scaleX(-1);
}

@media (max-width: 340px) {
  .news-details__buttons a.prev_post img {
    left: 5px;
  }

  .news-details__buttons a.next_post img {
    right: 5px;
  }
}

.news-details__text {
  margin-top: 16px;
  line-height: 32px;
  color: #3b4043;
}

.news-details__image-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
  padding: 0 6px;
  margin: 40px auto 0 auto;
  justify-content: center;
}

.news-details__image-container img {
  max-width: 456px;
  width: 100%;
  height: 48vw;
  height: auto;
  object-fit: cover;
  aspect-ratio: 320 / 180;
  background-color: #707070;
}

.news-details__action_buttons {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 44px auto 0 auto;
}

.action-button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 26px;
}

.action-button span {
  font-size: 12px;
  letter-spacing: -1px;
}

.action-button span,
.like-counter {
  margin-top: 2px;
}

.like-counter {
  position: relative;
  left: 5px;
}

.action-button:first-child {
  width: 25.6vw;
  min-width: 88px;
  max-width: 96px;
}

.action-button:nth-child(2) {
  width: 18.7vw;
  max-width: 70px;
}

.action-button:nth-child(3) {
  width: 25.6vw;
  max-width: 96px;
}

.type_category,
.location_category {
  display: flex;
  border: 1px solid #707070;
  border-radius: 2px;
  height: 24px;
  font-size: 12px;
  align-items: center;
  color: #707070;
}

.type_category,
.location_category {
  width: 112px;
  padding-left: 5px;
}

.news_detail .title__text {
  font-size: 24px;
}

.news_detail .title__text {
  line-height: 1.4;
}

.sns__container {
  width: 100%;
  max-width: 303px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 20px 0 0 0;
}

.sns__item {
  display: block;
  width: fit-content;
  height: 26px;
  padding: 4px 8px;
  background-color: #000000;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
  gap: 4px;
}

.sns__item-text,
.sns__item-counter {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.sns__item-counter {
  margin-left: 4px;
}

@media (max-width: 360px) {
  .sns__item-counter {
    margin-left: 0px;
  }
}

@media (max-width: 345px) {
  .news-details__buttons a span {
    font-size: 14px;
  }
}

@media (max-width: 375px) {
  .action-button span {
    font-size: 10px;
  }
}

.pld-count-wrap {
  margin-left: 0px;
}

.pld-like-wrap.pld-common-wrap a {
  position: relative;
  top: 21px;
}

.pld-like-wrap.pld-common-wrap a::after {
  position: relative;
  top: -2px;
  font-weight: 500;
  content: "いいね！";
  color: white;
  font-size: 12px;
  width: 30px;
}

.pld-like-dislike-wrap {
  margin-bottom: 0;
}

.pld-like-dislike-wrap .pld-common-wrap {
  margin-right: 0;
}

.pld-like-wrap.pld-common-wrap a {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.pld-like-count-wrap.pld-count-wrap {
  position: relative;
  top: -2px;
  color: #fff;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 12px;
}

.pld-like-dislike-wrap.pld-custom img {
  position: relative;
  max-width: none;
  display: inline-block;
  vertical-align: middle;
  margin-right: 2px;
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  @media (min-width: 1050px) {
    .section__title {
      left: -24px;
    }
  }

  .news-details {
    margin-top: 0px;
    padding: 215px 27px 10px;
    box-sizing: content-box;
  }

  .news-details__container {
    max-width: 936px;
    margin: 0 auto;
  }

  .news-details__category {
    width: 100%;
    max-width: 1128px;
  }

  .section__title {
    margin-top: 40px;
    font-size: 24px;
    line-height: 48px;
  }

  .news-details__main-image {
    margin: 80px auto 0;
    aspect-ratio: 936 / 527;
  }

  .news-details__title-h3 {
    font-size: 20px;
    line-height: 42px;
    margin-top: 80px;
  }

  .news-details__title-h3::after {
    position: relative;
    top: 10px;
    left: -8px;
    content: "";
    display: block;
    width: 168px;
    height: 4px;
    background-color: #707070;
    border-radius: 2px;
  }

  .news-details__title-h3--arrow::after {
    display: none;
  }

  .news-details__text {
    margin-top: 40px;
  }

  .news-details__image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
    padding: 0;
    justify-content: center;
  }
  .news-details__title-h4 {
    margin-top: 60px;
    font-size: 24px;
    line-height: 36px;
    padding-left: 24px;
  }

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

  .news-details__buttons {
    margin-top: 60px;
    margin-bottom: 133px;
  }
}
