@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz@9..40&display=swap");
.p-single {
  padding-top: 15px;
  padding-bottom: 150px !important;
  flex: 1;
  order: 2;
}
@media (max-width: 767px) {
  .p-single {
    padding-bottom: 25px !important;
  }
}

.p-single-header {
  margin-bottom: 45px;
}
.p-single-header__cat {
  display: inline-block;
}
.p-single-header__cat a {
  text-decoration: none;
  color: #333333;
  font-size: 1.2rem;
  line-height: 2.3333em;
  background: #eff6fb;
  border-radius: 20px;
  border: 1px solid #bfcee6;
  margin-right: 11px;
  padding: 4px 16px;
  transition: 0.3s ease;
}
.p-single-header__cat a:hover {
  color: white;
  background: #333333;
}
@media (max-width: 767px) {
  .p-single-header__cat a {
    font-size: 1.2rem;
  }
}
.p-single-header__title {
  text-align: left;
  font-size: 2rem;
  font-weight: 500;
}
@media (max-width: 767px) {
  .p-single-header__title {
    font-size: 1.8rem;
  }
}
.p-single-header__date {
  text-align: left;
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 2%;
  margin-right: 19px;
}

.p-cat-content {
  position: relative;
  padding-top: 15px;
  padding-bottom: 150px !important;
  flex: 1;
  order: 2;
}
@media (max-width: 767px) {
  .p-cat-content {
    padding-top: 25px;
    padding-bottom: 5px !important;
  }
}
.p-cat-content__nav {
  position: relative;
  margin-top: 100px;
  border-top: 2px solid #333333;
  border-bottom: 2px solid #333333;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 767px) {
  .p-cat-content__nav {
    margin-top: 62px;
    grid-template-columns: repeat(1, 1fr);
  }
}
.p-cat-content__nav::before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  border-left: 1px dashed #333333;
}
@media (max-width: 767px) {
  .p-cat-content__nav::before {
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #333333;
  }
}

.p-single-entry__body {
  position: relative;
  z-index: 3;
  line-height: 1.6em;
}
@media (max-width: 767px) {
  .p-single-entry__body {
    line-height: 2em;
  }
}
.p-single-entry__body img {
  border-radius: 5px;
}
.p-single-entry__body p {
  margin-bottom: 35px;
  font-size: 1.6rem;
  line-height: 1.75em;
}
.p-single-entry__body p a {
  color: #3964a2;
}
.p-single-entry__body h2 {
  margin-top: 50px;
  margin-bottom: 30px;
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1.5em;
  background: #eff6fb;
  padding: 18px 20px 14px;
  position: relative;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.p-single-entry__body h2::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  background: #333333;
}
@media (max-width: 767px) {
  .p-single-entry__body h2 {
    font-size: 1.6rem;
    padding: 8px 16px;
    margin-top: 30px;
    margin-bottom: 20px;
  }
}
.p-single-entry__body h3 {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.5em;
  margin-top: 50px;
  margin-bottom: 29px;
  border-bottom: 2px solid #333333;
  position: relative;
  padding: 18px 32px 18px;
}
.p-single-entry__body h3::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  background: #eff6fb;
  border-top-left-radius: 20px;
  width: 69px;
  height: 62px;
  z-index: -1;
}
@media (max-width: 767px) {
  .p-single-entry__body h3::before {
    width: 30px;
    height: 36px;
  }
}
@media (max-width: 767px) {
  .p-single-entry__body h3 {
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 8px 11px;
  }
}
.p-single-entry__body h4 {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.5em;
  border-left: 3px solid #333333;
  padding: 9px 27px;
  margin-top: 50px;
  margin-bottom: 29px;
}
@media (max-width: 767px) {
  .p-single-entry__body h4 {
    font-size: 1.6rem;
    padding-left: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-top: 0%;
    padding-bottom: 0;
  }
}
.p-single-entry__body h5 {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.5em;
  border-bottom: 1px dashed #333333;
  padding: 18px 20px;
  margin-top: 30px;
  margin-bottom: 15px;
}
@media (max-width: 767px) {
  .p-single-entry__body h5 {
    font-size: 1.4rem;
    padding: 8px 11px;
  }
}
.p-single-entry__body h6 {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.5em;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 15px;
}
@media (max-width: 767px) {
  .p-single-entry__body h6 {
    font-size: 1.4rem;
  }
}
.p-single-entry__body ul {
  margin-left: 0;
  padding-left: 0;
  list-style-position: inside;
}
.p-single-entry__body ul > li {
  margin-bottom: 12px;
}
.p-single-entry__body ol {
  list-style: none;
  list-style-position: inside;
  counter-reset: number;
  margin-left: 0;
  padding-left: 0;
}
.p-single-entry__body ol > li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 12px;
}
.p-single-entry__body ol > li::before {
  display: block;
  counter-increment: number;
  content: counter(number);
  position: absolute;
  left: 0;
  top: 3px;
  color: #fff;
  text-align: center;
  font-size: 1.4rem;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  line-height: 20px;
  background: #333333;
}
.p-single-entry__body table {
  margin: 60px auto;
}
.p-single-entry__body table th {
  background: #eff6fb;
}
