@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@700&family=Noto+Sans+JP:wght@100..900&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__info {
  text-align: right;
}
.p-single-header__category {
  display: inline-block;
  text-align: center;
}
.p-single-header__category::before {
  content: "・";
}
.p-single-header__category a {
  color: #f1a52e;
  text-decoration: none;
}
@media (max-width: 767px) {
  .p-single-header__category a {
    font-size: 1.6rem;
  }
}
.p-single-header__title {
  text-align: left;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.8em;
  margin-top: 20px !important;
  margin-bottom: 40px;
}
@media (max-width: 767px) {
  .p-single-header__title {
    margin-top: 20px !important;
    font-size: 2rem;
  }
}
.p-single-header__date {
  text-align: center;
  display: inline-block;
  font-size: 1.8rem;
  font-weight: normal;
  color: #f1a52e;
}
@media (max-width: 767px) {
  .p-single-header__date {
    font-size: 1.6rem;
  }
}

.p-cat-content {
  position: relative;
  padding-top: 5px;
  padding-bottom: 100px !important;
  flex: 1;
  order: 2;
}
@media (max-width: 767px) {
  .p-cat-content {
    padding-top: 25px;
    padding-bottom: 40px !important;
  }
}
.p-cat-content__more {
  text-align: center;
  cursor: pointer;
  text-align: center;
  font-size: 1.6rem;
  letter-spacing: 10%;
  line-height: 150%;
  margin-top: 40px;
  display: inline-block;
  position: relative;
}
.p-cat-content__more::after {
  content: "";
  display: inline-block;
  background: url(../img/arrow-bottom.svg) 0 0 no-repeat;
  background-size: contain;
  width: 12px;
  height: 12px;
}
.p-cat-content__more::before {
  content: "";
  background: black;
  width: 0;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 0;
  transition: 0.3s ease;
}
.p-cat-content__more:hover::before {
  width: 100%;
}
.p-cat-content__nav {
  position: relative;
  margin-top: 60px;
  padding-top: 60px;
  padding-bottom: 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: 0px;
    padding-top: 20px;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 50px;
    margin-bottom: 30px;
  }
}
.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;
}
@media (max-width: 767px) {
  .p-cat-content__nav .prev a {
    padding-left: 120px;
  }
}
.p-cat-content__nav .prev a::before {
  content: "前の記事";
  position: absolute;
  left: 0;
  top: -20px;
  width: 150px;
  height: 60px;
  align-items: center;
  justify-content: center;
  display: flex;
  color: #f1a52e;
  text-decoration: none;
  font-weight: 500;
  line-height: 150%;
  font-size: 1.8rem;
  padding: 0px 0px;
  text-align: center;
  border-radius: 9999px;
  margin: 0 auto;
  transition: 0.3s ease !important;
  border: 2px solid #f1a52e;
}
@media (max-width: 767px) {
  .p-cat-content__nav .prev a::before {
    width: 100px;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    font-size: 1.2rem;
    padding: 0 20px;
    top: -10px;
  }
}
.p-cat-content__nav .prev a:hover::before {
  text-decoration: none;
  background: #f1a52e;
  color: #fff;
  box-shadow: none;
}
.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;
    padding-right: 120px;
  }
}
.p-cat-content__nav .next a::before {
  content: "次の記事";
  position: absolute;
  right: 0;
  top: -20px;
  width: 150px;
  height: 60px;
  align-items: center;
  justify-content: center;
  display: flex;
  color: #f1a52e;
  text-decoration: none;
  font-weight: 500;
  line-height: 150%;
  font-size: 1.8rem;
  padding: 0px 0px;
  text-align: center;
  border-radius: 9999px;
  margin: 0 auto;
  transition: 0.3s ease !important;
  border: 2px solid #f1a52e;
}
@media (max-width: 767px) {
  .p-cat-content__nav .next a::before {
    width: 100px;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    font-size: 1.2rem;
    padding: 0 20px;
    top: -10px;
  }
}
.p-cat-content__nav .next a:hover::before {
  text-decoration: none;
  background: #f1a52e;
  color: #fff;
  box-shadow: none;
}

.p-single-entry__body {
  position: relative;
  z-index: 3;
  line-height: 180%;
  letter-spacing: 8%;
  font-size: 1.6rem;
  word-break: break-all;
}
.p-single-entry__body > * + * {
  margin-top: 1.5em;
}
.p-single-entry__body h2,
.p-single-entry__body .title-2 {
  font-size: 2.4rem;
  font-weight: 500;
  color: #333;
  border-bottom: 1px solid rgba(241, 165, 46, 0.25);
  padding-bottom: 0.6em;
  margin-top: 3em;
  margin-bottom: 1.2em;
  line-height: 1.5em;
  position: relative;
  letter-spacing: -0.01em;
}
.p-single-entry__body h2::after,
.p-single-entry__body .title-2::after {
  content: "";
  display: block;
  width: 2em;
  height: 2px;
  background-color: #f1a52e;
  position: absolute;
  bottom: -1px;
  left: 0;
}
@media (max-width: 767px) {
  .p-single-entry__body h2,
  .p-single-entry__body .title-2 {
    font-size: 2rem;
  }
}
.p-single-entry__body h3 {
  font-size: 2rem;
  font-weight: 500;
  margin-top: 2.5em;
  margin-bottom: 1em;
  padding: 0.65em 1.2em;
  border-left: 2px solid #f1a52e;
  border-radius: 0;
  background: rgba(241, 165, 46, 0.06);
  color: #333;
  letter-spacing: -0.01em;
}
@media (max-width: 767px) {
  .p-single-entry__body h3 {
    font-size: 1.8rem;
  }
}
.p-single-entry__body h4 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 2em;
  margin-bottom: 1em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  letter-spacing: -0.01em;
}
.p-single-entry__body h4::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background-color: #f1a52e;
  border-radius: 2px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .p-single-entry__body h4 {
    font-size: 1.6rem;
  }
}
.p-single-entry__body p {
  margin-bottom: 1.5em;
  text-align: justify;
  margin-left: auto;
  margin-right: auto;
}
.p-single-entry__body strong {
  background: linear-gradient(transparent 60%, rgba(241, 165, 46, 0.25) 40%);
  font-weight: 700;
}
.p-single-entry__body ul {
  list-style: none;
  margin-bottom: 2em;
  padding-left: 1em;
}
.p-single-entry__body ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.8em;
}
.p-single-entry__body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background-color: #f1a52e;
  border-radius: 50%;
}
.p-single-entry__body ol {
  list-style: none;
  counter-reset: num;
  margin-bottom: 2em;
  padding-left: 1em;
}
.p-single-entry__body ol li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 0.8em;
}
.p-single-entry__body ol li::before {
  counter-increment: num;
  content: counter(num) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: #f1a52e;
  font-weight: 700;
}
.p-single-entry__body div#ez-toc-container {
  border: none;
  border-radius: 20px;
  background: url(../img/bg-beige.jpg) 0 0 repeat;
  background-size: 250px 250px;
  padding: 35px;
}
.p-single-entry__body div#ez-toc-container .ez-toc-title {
  color: #221815;
  margin-bottom: 1em !important;
  display: block;
}
.p-single-entry__body div#ez-toc-container ul li {
  position: relative;
  padding-left: 1.5em;
  font-size: 1.8rem;
}
.p-single-entry__body blockquote {
  background-color: #f9f9f9;
  padding: 1.5em;
  margin: 2em 0;
  border-left: 5px solid #f1a52e;
  color: #555;
  font-style: italic;
  position: relative;
}
.p-single-entry__body blockquote::before {
  content: "\f10d";
  font-family: "Line Awesome Free";
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 2rem;
  color: rgba(241, 165, 46, 0.2);
}
.p-single-entry__body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 2em 0;
}
@media (max-width: 767px) {
  .p-single-entry__body img {
    border-radius: 5px;
    margin: 20px 0;
  }
}
.p-single-entry__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
}
.p-single-entry__body table th,
.p-single-entry__body table td {
  border: 1px solid #ddd;
  padding: 1em;
  font-size: 1.5rem;
}
.p-single-entry__body table th {
  background-color: #f1a52e;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.p-single-entry__body table tr:nth-child(even) {
  background-color: #fcfcfc;
}
.p-single-entry__body a {
  color: #f1a52e;
  text-decoration: underline;
  transition: 0.3s;
}
.p-single-entry__body a:hover {
  color: rgb(197.2847533632, 125.5448430493, 13.2152466368);
  text-decoration: none;
}

.p-single-entry__back {
  text-align: center;
  font-size: 1.6rem;
  line-height: 130%;
  letter-spacing: 10%;
  display: inline-block;
  position: relative;
  color: black;
  font-weight: 500;
  margin-top: 70px;
  text-decoration: none;
  transition: 0.3s ease;
}
.p-single-entry__back::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: black;
  transition: 0.3s ease;
}
.p-single-entry__back:hover::before {
  width: 100%;
}
@media (max-width: 767px) {
  .p-single-entry__back {
    margin-top: 20px;
  }
}

.relate-title {
  font-size: 2.4rem !important;
  font-weight: 700;
  color: #333;
  border-bottom: 2px solid #4788d9;
  padding-bottom: 0.4em;
  margin-top: 3em !important;
  margin-bottom: 1.2em;
  position: relative;
}
.relate-title::after {
  content: "";
  display: block;
  width: 30%;
  height: 4px;
  background-color: #dc7434;
  position: absolute;
  bottom: -3px;
  left: 0;
}
@media (max-width: 767px) {
  .relate-title {
    font-size: 2rem !important;
  }
}
