@charset "UTF-8";
/* =====================================================================
 *  記事詳細専用スタイル（post.scss）
 * =================================================================== */
#post,
.p-post-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.85;
  color: #333333;
  letter-spacing: 0.04em;
}
@media screen and (min-width: 768px) {
  #post,
  .p-post-content {
    font-size: 16px;
  }
}
#post__header,
.p-post-content__header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(170, 133, 62, 0.3);
}
@media screen and (min-width: 768px) {
  #post__header,
  .p-post-content__header {
    margin-bottom: 50px;
    padding-bottom: 30px;
  }
}
#post__date,
.p-post-content__date {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #888888;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
@media screen and (min-width: 768px) {
  #post__date,
  .p-post-content__date {
    font-size: 14px;
  }
}
#post__entry-title,
#post > h2,
.p-post-content__entry-title,
.p-post-content > h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  color: #791336;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-align: left;
  margin: 0;
}
@media screen and (min-width: 768px) {
  #post__entry-title,
  #post > h2,
  .p-post-content__entry-title,
  .p-post-content > h2 {
    font-size: 28px;
  }
}
#post h3,
.p-post-content h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 700;
  color: #791336;
  letter-spacing: 0.06em;
  margin-top: 48px;
  margin-bottom: 24px;
  line-height: 1.4;
}
@media screen and (min-width: 768px) {
  #post h3,
  .p-post-content h3 {
    font-size: 24px;
    margin-top: 60px;
    margin-bottom: 30px;
  }
}
#post h4,
.p-post-content h4 {
  position: relative;
  font-size: 17px;
  font-weight: 700;
  color: #791336;
  letter-spacing: 0.04em;
  padding-left: 14px;
  margin-top: 36px;
  margin-bottom: 20px;
  line-height: 1.4;
}
#post h4::before,
.p-post-content h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  background-color: #aa853e;
}
@media screen and (min-width: 768px) {
  #post h4,
  .p-post-content h4 {
    font-size: 19px;
    padding-left: 16px;
  }
}
#post h5,
.p-post-content h5 {
  position: relative;
  font-size: 15px;
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.04em;
  padding-left: 18px;
  margin-top: 28px;
  margin-bottom: 16px;
  line-height: 1.4;
}
#post h5::before,
.p-post-content h5::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: #aa853e;
}
@media screen and (min-width: 768px) {
  #post h5,
  .p-post-content h5 {
    font-size: 16px;
  }
}
#post p,
.p-post-content p {
  margin-bottom: 1.5em;
  text-align: justify;
}
#post p:last-child,
.p-post-content p:last-child {
  margin-bottom: 0;
}
#post a,
.p-post-content a {
  color: #791336;
  text-decoration: underline;
  transition: opacity 0.2s ease, color 0.2s ease;
}
#post a:hover,
.p-post-content a:hover {
  opacity: 0.7;
  color: #862b4a;
}
#post em,
.p-post-content em {
  font-style: italic;
}
#post ul,
.p-post-content ul {
  margin: 20px 0 28px;
  padding-left: 1.4em;
}
#post ul li,
.p-post-content ul li {
  position: relative;
  list-style-type: disc;
  margin-bottom: 8px;
  line-height: 1.7;
}
#post ul li::marker,
.p-post-content ul li::marker {
  color: #791336;
}
#post ol,
.p-post-content ol {
  margin: 20px 0 28px;
  padding-left: 1.4em;
}
#post ol li,
.p-post-content ol li {
  position: relative;
  list-style-type: decimal;
  margin-bottom: 8px;
  line-height: 1.7;
}
#post ol li::marker,
.p-post-content ol li::marker {
  color: #791336;
  font-weight: bold;
}
#post blockquote,
.p-post-content blockquote {
  position: relative;
  background-color: #f7f7f7;
  border-left: 4px solid #791336;
  padding: 20px 24px;
  margin: 30px 0;
}
#post blockquote p,
.p-post-content blockquote p {
  margin-bottom: 0;
  color: #333333;
  font-size: 14px;
}
@media screen and (min-width: 768px) {
  #post blockquote p,
  .p-post-content blockquote p {
    font-size: 15px;
  }
}
#post .mt-figure,
.p-post-content .mt-figure {
  margin: 30px auto;
  text-align: center;
}
#post .mt-figure img,
.p-post-content .mt-figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
#post .mt-figure figcaption,
.p-post-content .mt-figure figcaption {
  font-size: 12px;
  color: #888888;
  margin-top: 8px;
  line-height: 1.5;
}
#post .mt-be-columns,
.p-post-content .mt-be-columns {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0;
}
@media screen and (min-width: 600px) {
  #post .mt-be-columns,
  .p-post-content .mt-be-columns {
    flex-direction: row;
    gap: 30px;
  }
}
#post .mt-be-columns .mt-be-column,
.p-post-content .mt-be-columns .mt-be-column {
  flex: 1;
}
#post .mt-be-columns .mt-be-column img,
.p-post-content .mt-be-columns .mt-be-column img {
  width: 100%;
  height: auto;
  display: block;
}
#post hr,
.p-post-content hr {
  border: none;
  border-top: 2px dotted #aa853e;
  margin: 40px 0;
}
#post table,
.p-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 13px;
  background-color: #ffffff;
}
@media screen and (min-width: 768px) {
  #post table,
  .p-post-content table {
    font-size: 14px;
  }
}
#post table tr:first-child td,
#post table tr:first-child th,
#post table thead th,
.p-post-content table tr:first-child td,
.p-post-content table tr:first-child th,
.p-post-content table thead th {
  background-color: #f7f7f7;
  font-weight: bold;
}
#post table td, #post table th,
.p-post-content table td,
.p-post-content table th {
  border: 1px solid #dcdcdc;
  padding: 12px 14px;
  text-align: left;
  vertical-align: middle;
  line-height: 1.5;
}
#post table td p, #post table th p,
.p-post-content table td p,
.p-post-content table th p {
  margin-bottom: 0;
}
#post iframe,
.p-post-content iframe {
  max-width: 100%;
  display: block;
  margin: 36px auto;
}

.u-bg-ivory #post h3,
.u-bg-ivory .p-post-content h3 {
  padding-bottom: 8px;
  border-bottom: 1px dashed #aa853e;
}
.u-bg-ivory #post h4::before,
.u-bg-ivory .p-post-content h4::before {
  border-radius: 2px;
}
.u-bg-ivory #post h5::before,
.u-bg-ivory .p-post-content h5::before {
  transform: translateY(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
}
.u-bg-ivory #post blockquote,
.u-bg-ivory .p-post-content blockquote {
  background-color: #ffffff;
  border: 1px solid rgba(170, 133, 62, 0.35);
  border-left: 4px solid #791336;
}

.u-bg-pink #post h3,
.u-bg-pink .p-post-content h3,
.u-bg-base #post h3,
.u-bg-base .p-post-content h3 {
  padding-bottom: 8px;
  border-bottom: 2px dotted #aa853e;
}
.u-bg-pink #post h4::before,
.u-bg-pink .p-post-content h4::before,
.u-bg-base #post h4::before,
.u-bg-base .p-post-content h4::before {
  width: 5px;
  border-radius: 3px;
}
.u-bg-pink #post h5::before,
.u-bg-pink .p-post-content h5::before,
.u-bg-base #post h5::before,
.u-bg-base .p-post-content h5::before {
  border-radius: 50%;
}
.u-bg-pink #post .mt-figure img,
.u-bg-pink #post .mt-be-columns img,
.u-bg-pink .p-post-content .mt-figure img,
.u-bg-pink .p-post-content .mt-be-columns img,
.u-bg-base #post .mt-figure img,
.u-bg-base #post .mt-be-columns img,
.u-bg-base .p-post-content .mt-figure img,
.u-bg-base .p-post-content .mt-be-columns img {
  border-radius: 4px;
}

.u-bg-white #post h3,
.u-bg-white .p-post-content h3 {
  border-bottom: none;
}
.u-bg-white #post h4::before,
.u-bg-white .p-post-content h4::before {
  border-radius: 0;
}
.u-bg-white #post h5::before,
.u-bg-white .p-post-content h5::before {
  border-radius: 0;
}

.p-post-nav {
  max-width: 860px;
  margin: 60px auto 0;
  padding-top: 30px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-post-nav {
    margin-top: 80px;
    padding-top: 40px;
  }
}
.p-post-nav__list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
@media screen and (min-width: 768px) {
  .p-post-nav__list {
    gap: 36px;
  }
}
.p-post-nav__link {
  font-size: 15px;
  font-weight: bold;
  color: #791336;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}
@media screen and (min-width: 768px) {
  .p-post-nav__link {
    font-size: 16px;
  }
}
.p-post-nav__link:hover {
  opacity: 0.7;
  color: #862b4a;
}
