.page-title {
  padding-top: 106px;
}

.page-title .breadcrumb {
  font-size: 12px;
}

.page-title .post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 65px;
}

.page-title .post-meta .category {
  font-size: 15px;
  border: 1px solid #4764dc;
  border-radius: 4px;
  padding: 3px 13px;
  color: #4764dc;
}

.page-title .post-meta .date {
  font-size: 18px;
  font-family: "Montserrat", sans-serif;
  color: #9b9b9b;
  font-weight: 500;
}

.page-title .post-title {
  font-size: 30px;
  font-weight: 600;
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #4764dc;
}

@media screen and (max-width: 767px) {
  .page-title {
    padding-top: 20vw;
  }

  .page-title .breadcrumb {
    font-size: 3.2vw;
  }

  .page-title .post-meta {
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5.3vw;
    margin-top: 10.5vw;
  }

  .page-title .post-meta .category {
    font-size: 3.5vw;
    padding: 0.6vw 3.6vw;
  }

  .page-title .post-meta .date {
    font-size: 4vw;
  }

  .page-title .post-title {
    font-size: 5.2vw;
    margin-top: 5.5vw;
    line-height: 1.5;
    padding-bottom: 4.3vw;
    border-width: 0.3vw;
  }
}

.post-content {
  margin-top: 30px;
  padding-bottom: 60px;
}

.post-content img {
  width: 100%;
  height: auto;
}

.post-content p {
  font-size: 16px;
  line-height: 1.75;
  margin-top: 30px;
  font-weight: 400;
}

.post-content p:first-of-type {
  margin-top: 0;
}

.post-content a {
  color: #4764dc;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.1em;
}

.post-content h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 37px;
  padding-left: 0.7em;
  border-left: 0.4em solid #4764dc;
}

.post-content h2 + p {
  margin-top: 20px;
}

@media screen and (max-width: 767px) {
  .post-content {
    margin-top: 5.5vw;
    padding-bottom: 11vw;
  }

  .post-content p {
    font-size: 3.9vw;
    margin-top: 2.2vw;
    line-height: 1.9;
  }

  .post-content h2 {
    font-size: 5.2vw;
    margin-top: 9vw;
  }

  .post-content h2 + p {
    margin-top: 6vw;
  }
}

.post-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 50px;
  gap: 20px;
  border-top: 1px solid #c6c6c6;
  padding-bottom: 70px;
}

.nav-btn {
  width: 180px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 23px;
  border: 1px solid #4764dc;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.nav-btn span {
  font-size: 16px;
  font-weight: 600;
  color: #4764dc;
  position: relative;
  z-index: 1;
}

.nav-btn.prev::before,
.nav-btn.next::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #9198e5, #4764dc);
  opacity: 0;
}

.nav-btn.prev .nav-btn-text {
  padding-left: 42px;
}

.nav-btn.prev .nav-btn-arrow {
  position: absolute;
  left: 35px;
  top: 50%;
  transform: translateY(-50%);
  width: 19px;
  height: 16px;
}

.nav-btn.prev .nav-btn-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: translate(0, 0);
  background-image: url(../images/left.png);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 1;
}

.nav-btn.prev.disabled .nav-btn-arrow::before {
  background-image: url(../images/left-disabled.png);
}

.nav-btn.prev .nav-btn-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: translate(60%, 0);
  background-image: url(../images/left-hover.png);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
}

.nav-btn.next .nav-btn-text {
  padding-right: 42px;
}

.nav-btn.next .nav-btn-arrow {
  position: absolute;
  right: 35px;
  top: 50%;
  transform: translateY(-50%);
  width: 19px;
  height: 16px;
}

.nav-btn.next .nav-btn-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: translate(0, 0);
  background-image: url(../images/right.png);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 1;
}

.nav-btn.next.disabled .nav-btn-arrow::before {
  background-image: url(../images/right-disabled.png);
}

.nav-btn.next .nav-btn-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: translate(-60%, 0);
  background-image: url(../images/right-hover.png);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
}

.nav-btn.list {
  border: unset;
}

.nav-btn.list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #9198e5, #4764dc);
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.nav-btn.list::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #4764dc, #9198e5);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.nav-btn.list span {
  color: #fff;
}

.nav-btn.disabled {
  border-color: #c6c6c6 !important;
}

.nav-btn.disabled span {
  color: #c6c6c6 !important;
}

@media (min-width: 768px) {
  a.nav-btn.prev:hover::before,
  a.nav-btn.next:hover::before {
    opacity: 1;
  }

  a.nav-btn.prev:hover span,
  a.nav-btn.next:hover span {
    color: #fff;
  }

  a.nav-btn.prev:not(.disabled):hover .nav-btn-arrow::after {
    opacity: 1;
    transform: translate(0, 0);
    transition: transform 0.3s ease 0.3s, opacity 0.3s ease 0.3s;
  }

  a.nav-btn.prev:not(.disabled):hover .nav-btn-arrow::before {
    opacity: 0;
    transform: translate(-60%, 0);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  a.nav-btn.next:not(.disabled):hover .nav-btn-arrow::after {
    opacity: 1;
    transform: translate(0, 0);
    transition: transform 0.3s ease 0.3s, opacity 0.3s ease 0.3s;
  }

  a.nav-btn.next:not(.disabled):hover .nav-btn-arrow::before {
    opacity: 0;
    transform: translate(60%, 0);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-btn.list:hover::before {
    opacity: 0;
  }

  .nav-btn.list:hover::after {
    opacity: 1;
  }
}

@media screen and (max-width: 767px) {
  .post-navigation {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6vw 5.4vw;
    border-top: 0.3vw solid #c6c6c6;
    padding: 10vw 2.5vw 20vw;
  }

  .nav-btn.prev {
    order: 1;
    width: 40.8vw;
  }

  .nav-btn.next {
    order: 2;
    width: 40.8vw;
  }

  .nav-btn.list {
    order: 3;
    width: 100%;
  }

  .nav-btn {
    height: 13.3vw;
    border-radius: 7vw;
    border: 0.3vw solid #4764dc;
  }

  .nav-btn span {
    font-size: 4.2vw;
  }

  .nav-btn.prev .nav-btn-text {
    padding-left: 11.2vw;
  }

  .nav-btn.prev .nav-btn-arrow {
    left: 4.8vw;
    width: 5vw;
    height: 4.2vw;
  }

  .nav-btn.next .nav-btn-text {
    padding-right: 11.2vw;
  }

  .nav-btn.next .nav-btn-arrow {
    right: 4.8vw;
    width: 5vw;
    height: 4.2vw;
  }
}
