@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Arvo: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 {
  padding-top: 50px;
  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: block;
  text-align: center;
  color: #333333;
  border-radius: 9999px;
  font-size: 1.8rem;
  text-decoration: none;
  padding: 1px 0;
  border: 2px solid #f4c555;
  width: 160px;
}
.p-single-header__cat a:hover {
  opacity: 0.7;
}
@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: 500;
  width: 100%;
  margin-top: 30px !important;
}
@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: 1;
}
@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: 32px;
    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: 0px;
  width: 150px;
  height: 60px;
  align-items: center;
  justify-content: center;
  display: block;
  color: white;
  text-decoration: none;
  font-weight: 500;
  line-height: 150%;
  font-size: 1.8rem;
  padding: 20px 20px;
  text-align: center;
  border-radius: 9999px;
  margin: 0 auto;
  transition: opacity 0.3s ease !important;
  background: #58b5c3;
  box-shadow: 0 5px 0 #44a3b3;
}
@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;
  }
}
.p-cat-content__nav .prev a:hover::before {
  text-decoration: none;
  border-bottom: none;
  transform: translateY(5px);
  background: #44a3b3;
  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: 0px;
  width: 150px;
  height: 60px;
  align-items: center;
  justify-content: center;
  display: block;
  color: white;
  text-decoration: none;
  font-weight: 500;
  line-height: 150%;
  font-size: 1.8rem;
  padding: 20px 20px;
  text-align: center;
  border-radius: 9999px;
  margin: 0 auto;
  transition: opacity 0.3s ease !important;
  background: #58b5c3;
  box-shadow: 0 5px 0 #44a3b3;
}
@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;
  }
}
.p-cat-content__nav .next a:hover::before {
  text-decoration: none;
  border-bottom: none;
  transform: translateY(5px);
  background: #44a3b3;
  box-shadow: none;
}

.p-single-entry__body {
  position: relative;
  z-index: 3;
  line-height: 1.8;
  color: #333;
  font-size: 1.8rem;
}
.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: 700;
  color: #333;
  border-bottom: 2px solid #58b5c3;
  padding-bottom: 0.4em;
  margin-top: 3em;
  margin-bottom: 1.2em;
  position: relative;
}
.p-single-entry__body h2::after,
.p-single-entry__body .title-2::after {
  content: "";
  display: block;
  width: 30%;
  height: 4px;
  background-color: #e97283;
  position: absolute;
  bottom: -3px;
  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: 700;
  border-left: 6px solid #f4c555;
  padding-left: 0.8em;
  margin-top: 2.5em;
  margin-bottom: 1em;
  background: linear-gradient(to right, rgba(244, 197, 85, 0.1), transparent);
  padding-top: 0.4em;
  padding-bottom: 0.4em;
}
@media (max-width: 767px) {
  .p-single-entry__body h3 {
    font-size: 1.8rem;
  }
}
.p-single-entry__body h4 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 1em;
  display: flex;
  align-items: center;
}
.p-single-entry__body h4::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #4e95d0;
  border-radius: 50%;
  margin-right: 0.6em;
}
@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;
}
.p-single-entry__body strong {
  background: linear-gradient(transparent 60%, #fce36d 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: #e97283;
  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: #58b5c3;
  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: #333333;
  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 #4e95d0;
  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(78, 149, 208, 0.2);
}
.p-single-entry__body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 2em 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.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: #58b5c3;
  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: #58b5c3;
  text-decoration: underline;
  transition: 0.3s;
}
.p-single-entry__body a:hover {
  color: #e97283;
  text-decoration: none;
}
