@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@700&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;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px solid #e1e1e1;
}
.p-single-header__cat {
  display: inline-block;
}
.p-single-header__cat a {
  display: inline-block;
  width: 140px;
  text-align: center;
  text-decoration: none;
  color: #221815;
  font-size: 1.5rem;
  line-height: 2.3333em;
  background: #e0f3fc;
  border-radius: 15px;
  margin-right: 11px;
  padding: 0px 0px;
  transition: 0.3s ease;
}
.p-single-header__cat a:hover {
  color: white;
  background: #221815;
}
@media (max-width: 767px) {
  .p-single-header__cat a {
    font-size: 1.2rem;
  }
}
.p-single-header__title {
  text-align: left;
  font-size: 3rem;
  font-weight: bold;
  width: 100%;
}
@media (max-width: 767px) {
  .p-single-header__title {
    font-size: 1.8rem;
  }
}
.p-single-header__date {
  text-align: right;
  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: 60px;
  padding-top: 60px;
  border-top: 1px solid #e1e1e1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 30px;
}
@media (max-width: 767px) {
  .p-cat-content__nav {
    margin-top: 62px;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 50px;
  }
}
.p-cat-content__nav .prev {
  position: relative;
}
.p-cat-content__nav .prev a {
  display: block;
  font-size: 1.4rem;
  line-height: 1.6667em;
  text-decoration: none;
  padding-left: 170px;
  padding-right: 20px;
}
.p-cat-content__nav .prev a::before {
  content: "前の記事";
  display: block;
  position: absolute;
  left: 0px;
  top: 0%;
  background: #96d9df;
  width: 150px;
  height: 60px;
  margin-top: -6px;
  border: 2px solid #222;
  border-radius: 30px;
  text-align: center;
  font-size: 1.6rem;
  line-height: 60px;
}
.p-cat-content__nav .prev a:hover {
  opacity: 0.7;
}
.p-cat-content__nav .next {
  position: relative;
}
.p-cat-content__nav .next a {
  display: block;
  font-size: 1.4rem;
  line-height: 1.6667em;
  text-decoration: none;
  padding-right: 170px;
  padding-left: 20px;
}
@media (max-width: 767px) {
  .p-cat-content__nav .next a {
    text-align: right;
  }
}
.p-cat-content__nav .next a::before {
  content: "次の記事";
  display: block;
  position: absolute;
  right: 0px;
  top: 0%;
  background: #96d9df;
  width: 150px;
  height: 60px;
  margin-top: -6px;
  border: 2px solid #222;
  border-radius: 30px;
  text-align: center;
  font-size: 1.6rem;
  line-height: 60px;
}
.p-cat-content__nav .next a:hover {
  opacity: 0.7;
}

.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 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.4rem;
  font-weight: bold;
  line-height: 1.5em;
  position: relative;
  padding-left: 60px;
}
.p-single-entry__body h2::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: -10px;
  width: 53px;
  height: 48px;
  background: url(../img/stick-kurumi.png) 0 0 no-repeat;
  background-size: contain;
}
@media (max-width: 767px) {
  .p-single-entry__body h2::before {
    top: 0;
  }
}
@media (max-width: 767px) {
  .p-single-entry__body h2 {
    font-size: 2rem;
  }
}
.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 #221815;
  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 #221815;
  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 #221815;
  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: #221815;
}
.p-single-entry__body table {
  margin: 60px auto;
}
.p-single-entry__body table th {
  background: #eff6fb;
}
