.post-details {
  padding: 50px 20px 0;
}

.post-details p {
  font-size: 0.875rem;
  line-height: 1.43;
}

.post-details img {
  /* width: 100%; */
  max-width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}


.post-details a {
  color: var(--red);
  text-decoration: underline;
}

.post-details__wrapper * {
  max-width: 100% !important;
  line-height: 1.5;
}

.post-details__wrapper iframe[src^="https://www.youtube.com/"] {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16/9 !important;
  margin: 20px 0;
}

.post-details__navigation a {
  color: inherit;
}

.post-details__wrapper {
  max-width: 962px;
  margin: 0 auto;
  padding-bottom: 75px;
}

.post-details__meta {
  display: flex;
  justify-content: space-between;
  max-width: 1106px;
  margin: 0 auto;
}

.post-details__date {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: var(--font-tag);
  line-height: 1.33;
  color: #707070;
  padding: 2px 4px;
  border: 1px solid #707070;
  border-radius: 2px;
  font-weight: 500;
  height: fit-content;
  white-space: nowrap;
  margin-left: auto;
  background-color: #fff;
}

.post-details__categories {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 8px;
  flex-direction: row;
  justify-content: left;
  padding-right: 16px;
}

.post-details__category {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: var(--font-tag);
  line-height: 1.33;
  color: #707070;
  padding: 2px 4px;
  border: 1px solid #707070;
  border-radius: 2px;
  font-weight: 500;
  height: fit-content;
  white-space: nowrap;
  background-color: #fff;
}

.post-details__title {
  font-size: var(--font-h1);
  line-height: 1.56;
  text-align: center;
  margin-top: 11px;
  color: #000;
  margin-bottom: 20px;
}

.post-details h1 {
  font-size: 1.4375rem;
  line-height: 1.56;
  text-align: center;
  margin-top: 11px;
  color: #000;
  margin-bottom: 20px;
  margin-bottom: 49px;
}

.post-details p {
  font-size: 0.875rem;
  line-height: 1.43;
}

.post-details__text {
  margin: 35px auto 0;
}

.post-details__subtitle {
  position: relative;
  color: #000;
  font-size: var(--font-h2);
  line-height: 1.5;
  padding: 0 0 10px 8px;
  margin-top: 49px;
  border-bottom: 1px solid #707070;
}

.post-details h2 {
  position: relative;
  color: #000;
  font-size: var(--font-h2);
  line-height: 1.5;
  padding: 0 0 10px 8px;
  margin-top: 49px;
  border-bottom: 1px solid #707070;
}

.post-details__subtitle::after {
  content: "";
  display: block;
  width: 68.5px;
  height: 4px;
  left: 0;
  bottom: -2.5px;
  position: absolute;
  background-color: var(--red);
  border-radius: 2px;
}

.post-details h2::after {
  content: "";
  display: block;
  width: 68.5px;
  height: 4px;
  left: 0;
  bottom: -2.5px;
  position: absolute;
  background-color: var(--red);
  border-radius: 2px;
}

.post-details tr {
  display: flex;
  flex-wrap: wrap;
}

.post-details tr td {
  width: 100% !important;
  margin-top: 20px;
}

.post-details tr td img {
  width: 100%;
  border-radius: 10px;
  margin-top: 0;
  margin-bottom: 0;
}

.post-details__image {
  width: 100%;
  margin: 35px auto 0;
}

.post-details__image img {
  width: 100%;
  aspect-ratio: 335 / 189;
  border-radius: 8px;
  object-fit: cover;
}

.post-details__image figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.67;
}

.post-details__subsubtitle {
  position: relative;
  font-size: 1rem;
  line-height: 1.25;
  padding: 0 0 10px 18px;
  border-bottom: 1px solid #707070;
  margin-top: 50px;
}

.post-details h3 {
  position: relative;
  font-size: 1rem;
  line-height: 1.25;
  padding: 0 0 10px 18px;
  border-bottom: 1px solid #707070;
  margin-top: 50px;
}

.details__subsubtitle::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-bottom: 4px solid var(--red);
  border-right: 4px solid var(--red);
}

.post-details h3::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-bottom: 4px solid var(--red);
  border-right: 4px solid var(--red);
}

.post-details__images {
  margin-top: 35px;
}

.link-button::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(/wp-content/themes/okinawa-jtb/images/common/icon-phone.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 6px;
  position: relative;
  top: 1px;
}

.post-details__social {
  width: 100%;
  /* max-width: 303px; */
  display: flex;
  flex-direction: row;
  /* justify-content: space-between; */
  justify-content: flex-start;
  margin: 50px 0 0 0;
}

.action-button {
  background-color: #2a2a2a;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.action-button .pld-like-dislike-wrap {
  display: inline-block;
  margin-bottom: 0;
}

body .pld-like-dislike-wrap .pld-common-wrap {
  display: flex;
  align-items: center;
}

.pld-like-wrap.pld-common-wrap a::after {
  position: relative;
  top: 0;
  font-weight: 500;
  content: "いいね！";
  color: white;
  font-size: 12px;
  width: 30px;
}

body .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-dislike-wrap.pld-custom img {
  position: relative;
  max-width: none;
  display: inline-block;
  vertical-align: middle !important;
  margin-right: 2px;
  margin-bottom: 4px;
}

.post-details__social img {
  width: inherit;
  margin-top: inherit;
  margin-bottom: inherit;
}

.post-details__social a {
  text-decoration: none;
}

.social-item {
  display: block;
  width: fit-content;
  height: 26px;
  padding: 4px 8px;
  background-color: #2a2a2a;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
  gap: 4px;
  margin-left: 10px;
}

.social-item__icon {
  width: 14px;
  height: auto;
}

.social-item__text,
.social-item__counter,
.pld-like-count-wrap {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.social-item__counter,
.pld-like-count-wrap {
  margin-left: 4px;
}

@media (max-width: 360px) {

  .social-item__counter,
  .pld-like-count-wrap {
    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-details__navigation {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  margin-top: 35px;
  position: relative;
}

.post-details .post-details__navigation a {
  text-decoration: none;
}

.navigation-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;
}

@media (max-width: 360px) {
  .navigation-button {
    width: 40vw;
  }
}

.navigation-button span {
  position: relative;
  color: #707070;
}

.navigation-button:first-of-type span {
  left: 8px;
}

.navigation-button:last-of-type span {
  right: 8px;
}

.navigation-button-p::before {
  content: "";
  position: absolute;
  display: block;
  width: 6px;
  height: 12px;
  background-image: url(/wp-content/themes/okinawa-jtb/images/common/pagination-arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  left: 10px;
}

.navigation-button-n::after {
  content: "";
  position: absolute;
  display: block;
  width: 6px;
  height: 12px;
  background-image: url(/wp-content/themes/okinawa-jtb/images/common/pagination-arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  right: 10px;
  transform: scaleX(-1);
}

.navigation-button--back {
  position: absolute;
  top: 75px;
  width: 100%;
}

@media (max-width: 340px) {
  .post-details tr {
    flex-wrap: inherit;
  }

  .post-details tr td {
    width: 50%;
  }

  .post-details tr td img {
    width: 100%;
  }

  .navigation-button:first-child::before {
    left: 5px;
  }

  .navigation-button:last-child::after {
    right: 5px;
  }
}

.news-releases,
.information {
  padding-left: 20px;
}

#archiveToggle {
  position: relative;
}

#archiveToggle::after {
  content: "";
  display: block;
  width: 6px;
  height: 11px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
  background-image: url(/wp-content/themes/okinawa-jtb/images/common/icon-arrow-forward.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

.news__list {
  margin: 35px auto 0;
  padding-left: 10px;
  padding-right: 10px;
}

.archive__list {
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease,
    margin-top 0.3s ease;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

.archive__list.open {
  max-height: 800px;
  opacity: 1;
  margin-top: 30px;
}

.archive__item {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.4s ease forwards;
}

.archive__item:nth-child(1) {
  animation-delay: 0.1s;
}

.archive__item:nth-child(2) {
  animation-delay: 0.15s;
}

.archive__item:nth-child(3) {
  animation-delay: 0.2s;
}

.archive__item:nth-child(4) {
  animation-delay: 0.25s;
}

.archive__item:nth-child(5) {
  animation-delay: 0.3s;
}

.archive__item:nth-child(6) {
  animation-delay: 0.35s;
}

.archive__item:nth-child(7) {
  animation-delay: 0.4s;
}

.archive__item:nth-child(8) {
  animation-delay: 0.45s;
}

.archive__item:nth-child(9) {
  animation-delay: 0.5s;
}

.archive__item:nth-child(10) {
  animation-delay: 0.55s;
}

.archive__item:nth-child(11) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .post-details tr td {
    width: calc(50% - 15px) !important;
  }

  .post-details tr td:nth-child(odd) {
    margin-right: 30px;
  }

  .post-details {
    padding-top: 100px;
  }

  .post-details p {
    font-size: 1rem;
    line-height: 2;
  }

  .post-details__title {
    font-size: var(--font-h1);
    line-height: 1.43;
    text-align: center;
    margin-top: 70px;
    color: #000;
  }

  .post-details h1 {
    font-size: 1.75rem;
    line-height: 1.43;
    text-align: center;
    margin-top: 70px;
    color: #000;
    margin-bottom: 100px;
  }

  .post-details__subtitle {
    margin: 100px auto 0;
  }

  .post-details h2 {
    margin: 100px auto 0;
    font-size: 23px;
  }

  .post-details__text {
    margin: 30px auto 0;
  }

  .post-details__image {
    margin: 40px auto 0;
  }

  .sns-container {
    margin: 60px 0 0 0;
  }

  .post-details__navigation {
    margin-top: 40px;
  }

  .navigation-button--back {
    position: absolute;
    top: 0;
    width: min(360px, max(280px, calc(360px + 50vw - 683px)));
    left: 50%;
    transform: translateX(-50%);
  }

  .post-details__image figcaption {
    margin-top: 10px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
  }

  .post-details__subsubtitle {
    font-size: 1.5rem;
    line-height: 1.46;
    margin-top: 70px;
    padding-left: 32px;
  }

  .post-details h3 {
    font-size: 1.5rem;
    line-height: 1.46;
    margin-top: 70px;
    padding-left: 32px;
  }

  .post-details__subsubtitle::after {
    border: 8px solid transparent;
    border-bottom: 8px solid var(--red);
    border-right: 8px solid var(--red);
  }

  .post-details h3::after {
    border: 8px solid transparent;
    border-bottom: 8px solid var(--red);
    border-right: 8px solid var(--red);
  }

  .post-details__images {
    margin-top: 40px;
    display: flex;
    gap: 28px;
  }

  .post-details__image--single {
    align-self: 962 / 542;
  }

  .post-details__images .post-details__image {
    margin-top: 0;
  }

  .post-details__social {
    margin-top: 70px;
  }

  .post-details__wrapper {
    padding-bottom: 0px;
  }

  .news-releases,
  .information {
    max-width: 962px;
    margin: 100px auto 0;
    padding: 0 20px;
    box-sizing: content-box;
  }

  .news__list {
    margin: 70px auto 0;
    padding-left: 13px;
    padding-right: 13px;
  }

  .archive {
    max-width: 962px;
    margin: 100px auto 0;
    padding: 0 20px 100px;
  }

  .archive__list.open {
    margin-top: 70px;
  }
}