@charset "UTF-8";
.p-single {
  padding-top: 100px;
  padding-bottom: 250px !important;
  flex: 1;
  order: 2;
}
@media (max-width: 767px) {
  .p-single {
    padding-bottom: 25px !important;
  }
}

.p-single-header {
  position: relative;
}
.p-single-header__info {
  text-align: center;
}
.p-single-header__category {
  font-size: 1.5rem;
  color: #ec7891;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  padding: 2px 2px;
  border-radius: 9999px;
  border: 1px solid #ec7891;
  width: 100px;
  margin-left: 15px;
  text-decoration: none;
}
.p-single-header__category a {
  text-decoration: none;
}
.p-single-header__category:hover {
  background: linear-gradient(
    to bottom,
    rgb(236, 119, 144) 0%,
    rgb(227, 88, 113) 100%
  );
  color: #fff;
  text-decoration: none;
}
.p-single-header__title {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.8em;
  margin-top: 40px !important;
  margin-bottom: 40px;
}
@media (max-width: 767px) {
  .p-single-header__title {
    margin-top: 20px !important;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
  }
}
.p-single-header__date {
  text-align: center;
  display: inline-block;
  font-size: 1.8rem;
  color: #ec7891;
}

.p-cat-content {
  position: relative;
  padding-top: 15px;
  padding-bottom: 100px !important;
  flex: 1;
  order: 1;
}
.p-cat-content .c-deco--pine {
  right: 150px;
  top: 0;
}
@media (max-width: 767px) {
  .p-cat-content .c-deco--pine {
    right: 0;
    top: 0;
    display: none;
  }
}
@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;
  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: 15px 20px;
  text-align: center;
  border-radius: 9999px;
  margin: 0 auto;
  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;
    padding: 0 20px;
  }
}
.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: 15px 20px;
  text-align: center;
  border-radius: 9999px;
  margin: 0 auto;
  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;
    padding: 0 20px;
  }
}
.p-cat-content__nav .next a:hover::before {
  text-decoration: none;
  border-bottom: none;
  transform: translateY(5px);
  background: #44a3b3;
  box-shadow: none;
}

@media (max-width: 767px) {
  .p-single-entry__body + div.u-center {
    margin-bottom: 80px;
  }
}

.p-single-entry__body {
  position: relative;
  z-index: 3;
  line-height: 180%;
  letter-spacing: 8%;
  font-size: 1.6rem;
  padding-left: 20px;
  padding-right: 20px;
  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: 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: #dc7434;
  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;
  margin-top: 2.5em;
  margin-bottom: 1em;
  background: #58b5c3;
  color: #fff;
  border-radius: 5px;
  padding: 1em;
}
@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;
  margin-left: auto;
  margin-right: auto;
}
.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: #dc7434;
  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: #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 #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;
}
@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: #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: #dc7434;
  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 #58b5c3;
  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;
  }
}
