.post-details {
  padding: 40px 7.5px 80px;
}

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

.post__tags {
  display: flex;
  justify-content: space-between;
  max-width: 1128px;
  margin: 0 auto;
}

/* .category-tags {
  display: flex;
  column-gap: 16px;
  row-gap: 8px;
  flex-wrap: wrap;
  width: calc(100% - 180px);
} */

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

.post__title {
  font-size: 2rem;
  line-height: 1.45;
  margin-top: 12px;
  color: #3b4043;
}

.post__main-image {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  aspect-ratio: 360 / 203;
  border-radius: 16px;
  margin-top: 12px;
  object-fit: cover;
}

.post__subtitle {
  font-size: 2rem;
  line-height: 1.2;
  margin-top: 20px;
}

.post__subtitle--pr {
  text-align: center;
}

.post__subtitle--decorated {
  padding: 4px 0 4px 12px;
  position: relative;
  margin-top: 30px;
}

.post__subtitle--decorated::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  border-radius: 2px;
  background-color: #000000;
}

.post__text {
  font-size: 1.6rem;
  line-height: 1.5;
  margin-top: 20px;
  color: #3b4043;
}

.post__subtitle--dotted {
  padding: 0 0 4px 4px;
  border-bottom: 2px solid transparent;
  border-image: repeating-linear-gradient(
    to right,
    #707070 0,
    #707070 2px,
    transparent 2px,
    transparent 4px
  );
  border-image-slice: 1;
  margin-top: 40px;
  color: #3b4043;
}

.post__images {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px auto 0;
  justify-content: center;
}

.post__image {
  aspect-ratio: 360 / 203;
  width: min(96vw, 360px);
  border-radius: 16px;
  object-fit: cover;
}

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

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

.sns-item:first-child {
  width: 95px;

  display: flex;
  justify-content: center;
  align-items: center;
  height: 26px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.sns-item__icon {
  width: 14px;
  height: auto;
}

.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) {
  .post__buttons a span {
    font-size: 14px;
  }
}

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

.post__buttons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  gap: 32px;
  margin-top: 40px;
}

.post__button {
  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;
}

.post__button span {
  position: relative;
  color: #707070;
  font-size: 1.6rem;
}

.post__button--prev span {
  left: 8px;
}

.post__button--next span {
  right: 8px;
}

.post__button img {
  position: absolute;
  width: 8px;
  height: 13px;
}

.post__button--prev img {
  left: 10px;
  transform: scaleX(-1);
}

.post__button--next img {
  right: 10px;
}

@media (max-width: 340px) {
  .post__button--prev img {
    left: 5px;
  }

  .post__button--next img {
    right: 5px;
  }
}

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

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

.pld-like-dislike-wrap .pld-common-wrap {
  display: flex;
  margin-right: 0;
  align-items: center;
}

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

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

@media (min-width: 768px) {
  .post-details {
    box-sizing: content-box;
    padding: 100px 40px 200px;
  }

  .post__title {
    margin-top: 60px;
    text-align: center;
    font-size: clamp(3rem, 2.5vw, 4.8rem);
  }

  .post__main-image {
    max-width: 936px;
    width: clamp(600px, 49vw, 936px);
    aspect-ratio: 936 / 527;
    margin-top: 46px;
  }

  .post__subtitle {
    font-size: clamp(2.4rem, 1.67vw, 3.2rem);
    margin-top: 64px;
  }

  .post__subtitle--decorated {
    padding: 12px 0 12px 24px;
  }

  .post__subtitle--decorated::before {
    width: 8px;
    border-radius: 4px;
  }

  .post__text {
    font-size: 2rem;
    line-height: 2;
    margin-top: 32px;
  }

  .post__subtitle--dotted {
    margin-top: 60px;
  }

  .post__images {
    gap: 24px;
    margin: 40px auto 0;
  }

  .post__image {
    aspect-ratio: 456 / 257;
    width: calc(50% - 12px);
    border-radius: 16px;
    object-fit: cover;
  }

  .post__sns {
    margin: 60px 0 0 0;
  }

  .post__buttons {
    margin-top: 64px;
  }
}
