.single-page {
  padding: 110px 0 0;
}
@media (max-width: 768px) {
  .single-page {
    padding: calc(100vw * 80 / 375) 0 0;
  }
}

.single-page .breadcrumbs {
  max-width: 1100px;
  width: 95%;
  margin: 0 auto 40px;
  padding: 10px 0;
}

.single__wrapper {
  max-width: 1100px;
  width: 95%;
  margin: 0 auto;
  padding: 0 0 200px;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .single__wrapper {
    flex-direction: column;
    gap: 40px;
  }
}

.single__main-box {
  max-width: 732px;
  width: 95%;
}
.single__main {
  padding: 40px 0 0;
  background-color: #FFF;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  .single__main-box {
    max-width: 100%;
    width: 100%;
  }
}


/* ===============================================
  記事コンテンツ
=============================================== */
.single__head {
  width: 95%;
  margin: 0 auto;
  padding-bottom: 12px;
  border-bottom: 1px solid #BF9444;
}
.single__head .date {
  color: #A59D93;
  font-size: 14px;
  margin: 0 0 8px;
}
.single__head .date::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  background-image: url(../img/common/icon-clock.webp);
  background-size: 100%;
  margin-right: 5px;
}
.single__head h1 {
  font-size: 26px;
  font-family: 'Noto Serif JP', sans-serif;
  color: #272E27;
  margin: 0 0 12px;
}
.single__head .tag-box {
  text-align: right;
  display: flex;
  gap: 10px;
  justify-content: end;
}
.single__head .tag-box .tag {
  color: #4C5559;
  font-weight: 500;
  font-size: 12px;
}
.single__head .tag-box .tag::before {
  content: "#";
  color: #BF9444;
  margin-right: 1px;
}

/* 目次 */
.single__contents #toc_container {
  padding: 5px 0 68px;
  max-width: 652px;
  width: 90%;
  max-height: 257px;
  overflow: hidden;
  margin: 24px auto;
  background-color: #F8F7F5;
  border: unset;
  display: block;
  position: relative;
}
.single__contents #toc_container.open {
  max-height: fit-content;
}
.single__contents #toc_container::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 141px;
  background: linear-gradient(transparent, #FFF);
  bottom: 0;
  z-index: 1;
}
.single__contents #toc_container.open::before {
  display: none;
}
.single__contents #toc_container .toc_title {
  width: 95%;
  margin: 0 auto;
  font-family: 'Noto Serif JP', sans-serif;
  font-size: 24px;
  color: #272E27;
  padding: 0 0 14px;
  border-bottom: 1px solid #C4C3C2;
}
.single__contents #toc_container .toc_title::after {
  content: "-目次-";
  font-family: 'Noto Serif JP', sans-serif;
  font-size: 12px;
  color: #272E27;
  display: block;
}
.single__contents #toc_container .toc_list {
  counter-reset: roman;
  width: 95%;
  margin: 17px auto 0;
  line-height: 1.8;
}
.single__contents #toc_container .toc_list > li {
  counter-increment: roman;
}
.single__contents #toc_container .toc_list > li::before {
  content: counter(roman, upper-roman)".";
  font-family: 'Noto Serif JP', sans-serif;
}
.single__contents #toc_container .toc_list > li > ul > li::before {
  content: "・";
  counter-increment: none;
}
.single__contents #toc_container .toc_list > li > ul > li > ul > li::before {
  content: "・ ";
  counter-increment: none;
}
.single__contents #toc_container .toc_list a {
  color: #4C5559;
}
.single__contents #toc_container .toc__close-btn {
  width: fit-content;
  margin: 0 auto;
  font-size: 15px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  z-index: 2;
  cursor: pointer;
}
.single__contents #toc_container .toc__close-btn::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50px;
  background-color: #272E27;
}
.single__contents #toc_container .toc__close-btn::before {
  content: "";
  position: absolute;
  display: block;
  width: 6px;
  height: 6px;
  border: 2px solid #FFF;
  border-bottom: none;
  border-left: 0;
  transform: rotate(135deg);
  top: 35%;
  right: 9%;
}
.single__contents #toc_container.open .toc__close-btn::before {
  transform: rotate(-45deg);
  top: 42%;
  right: 12%;
}


/* 記事コンテンツ */
.single__contents {
  width: 95%;
  margin: 0 auto;
  color: #4C5559;
}
.single__contents h2 {
  background: linear-gradient(to right, #272E27, #4C5559);
  color: #FFF;
  font-family: 'Noto Serif JP', sans-serif;
  font-size: clamp(1.25rem, 1.167rem + 0.28vw, 1.5rem);
  margin: 24px 0;
  padding: 8px 15px;
  position: relative;
}
.single__contents h2::before,
.single__contents h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 3px;
  height: 100%;
  background-color: #BF9444;
  top: 0;
  left: 0;
}
.single__contents h2::after {
  left: 3px;
  background-color: #FFF;
}
.single__contents h3 {
  margin: 24px 0;
  padding: 8px 15px;
  border-top: 1px solid #BF9444;
  border-bottom: 1px solid #BF9444;
  font-family: 'Noto Serif JP', sans-serif;
  font-size: 18px;
  color: #272E27;
}
.single__contents h4 {
  margin: 24px 0;
  padding: 8px 15px 8px 0;
  border-bottom: 1px solid #C4C3C2;
  font-family: 'Noto Serif JP', sans-serif;
  font-size: 16px;
  color: #272E27;
}
.single__contents h4::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #BF9444;
  transform: rotate(45deg);
  margin-right: 6px;
}
.single__contents p {
  margin: 24px 0;
  font-size: 16px;
}
.single__contents .orange-line {
  background: linear-gradient(transparent 60%, #f7e5b4 60%);
}
.single__contents .blue-line {
  background: linear-gradient(transparent 60%, #d2e6e3 60%);
}
.single__contents .bold {
  font-weight: bold;
}
.single__contents ul {
  padding: 0;
  color: #4C5559;
}
.single__contents ul li::before {
  content: "・";
  color: #BF9444;
  display: inline-block;
  margin-right: 6px;
}
.single__contents table {
  border-collapse: collapse;
  width: 100%;
}
.single__contents table th,
.single__contents table td {
  border: 1px solid #DBDAD8;
  padding: 14px 10px;
  font-size: 14px;
  text-align: left;
}
.single__contents table th {
  font-weight: bold;
  background-color: #F8F7F5;
}
.single__contents img {
  width: 95%;
  height: auto;
  margin: 0 auto;
}
.single__contents a {
  margin: 24px 0;
  color: #2C8FBA;
  text-decoration: underline;
  display: initial;
}
.single__contents dl {
  margin: 24px 0;
}
.single__contents dt {
  font-weight: bold;
}
.single__contents dd {
  margin: 0 0 16px;
}


/* 記事内ボックス */
.single__contents .box {
  width: 90%;
  margin: 24px auto;
  background-color: #F8F7F5;
  padding: 24px 1em;
}
.single__contents .box .title {
  font-family: 'Noto Serif JP', sans-serif;
  color: #272E27;
  font-weight: bold;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #C4C3C2;
}
.single__contents .box p,
.single__contents .box ul {
  margin: 8px 0 0;
}
.single__contents .red-box {
  width: 95%;
  margin: 24px auto;
  background-color: #FFF6F3;
  border: 1px solid #AE4745;
  padding: 0 0 16px;
}
.single__contents .red-box .title {
  margin: 0;
  padding: 6px 16px;
  background-color: #AE4745;
  font-weight: 500;
  color: #FFF;
  font-size: 14px;
}
.single__contents .red-box p,
.single__contents .red-box ul {
  margin: 8px 0 0;
  font-size: 14px;
  padding: 0 1em 0;
}


/* CTAボタン */
.single__contents .cta-green,
.single__contents .cta-gold {
  max-width: 289px;
  width: 95%;
  display: block;
  margin: 24px auto;
  padding: 16px 20px;
  font-size: 16px;
  font-family: 'Noto Serif JP', sans-serif;
  color: #FFF;
  text-align: center;
  text-decoration: none;
  background-color: #BF9444;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.23);
  position: relative;
  transition: all 0.2s;
}
.single__contents .cta-green {
  background-color: #1E503D;
}
.single__contents .cta-green:hover,
.single__contents .cta-gold:hover {
  opacity: 0.8;
}
.single__contents .cta-green::before,
.single__contents .cta-gold::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 30px;
  height: 30px;
  margin: auto 0;
  border-radius: 50%;
  background-color: #FFF;
  top: 0;
  bottom: 0;
  right: 4%;
}
.single__contents .cta-green::before {
  background-color: #BF9444;
}
.single__contents .cta-green::after,
.single__contents .cta-gold::after {
  content: "";
  display: block;
  position: absolute;
  width: 5px;
  height: 5px;
  margin: auto 0;
  border: 1px solid #272E27;
  border-bottom: none;
  border-left: none;
  transform: rotate(45deg);
  top: 0;
  bottom: 0;
  right: 8%;
}
.single__contents .cta-green::after {
  border-color: #FFF;
}


/* おすすめ記事リスト */
.single__contents .related-posts {
  border: 1px solid #BF9444;
  padding: 28px 16px 20px;
  background-color: #FFF;
  position: relative;
}
.single__contents .related-posts .title {
  position: absolute;
  top: -9px;
  left: 2%;
  background-color: #FFF;
  padding: 0 5px;
  font-size: 13px;
  font-weight: 500;
  color: #BF9444;
}
.single__contents .related-posts ul {
  font-size: 14px;
  margin: 0;
  line-height: 1.8;
}
.single__contents .related-posts ul li::before {
  color: #4C5559;
}
.single__contents .related-posts ul li a {
  color: #4C5559;
}


/* シェアボタン */
.single__share {
  margin: 84px 0 0;
  padding: 20px 0;
  background-color: #F8F7F5;
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}
.single__share .icon-link {
  width: 22px;
  height: 22px;
}
.single__share .icon-link img {
  width: 100%;
  height: auto;
}


/* 一覧へ戻るボタン */
.single__main-box .return-btn {
  text-align: center;
  margin: 48px 0 0;
}
.single__main-box .return-btn a {
  display: flex;
  text-align: center;
  font-size: 18px;
  color: #4C5559;
  align-items: center;
  gap: 24px;
  justify-content: center;
}
.single__main-box .return-btn a span {
  display: inline-block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #BF9444;
  position: relative;
}
.single__main-box .return-btn a span::before {
  content: "";
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  background-image: url(../img/common/return-arrow.webp);
  background-size: 100% auto;
  top: 35%;
  left: 27%;
  background-repeat: no-repeat;
}

/* ===============================================
   サイドバー
=============================================== */
.sidebar {
  max-width: 327px;
  width: 95%;
}
@media (max-width: 480px) {
  .sidebar {
    max-width: 100%;
    width: 100%;
  }
}
.sidebar h2 {
  margin: 0;
  padding: 0 0 8px;
  border-bottom: 1px solid #BF9444;
  font-family: 'Noto Serif JP', sans-serif;
  color: #272E27;
  font-size: 24px;
}
.sidebar h2 span {
  font-size: 0.6em;
}

.sidebar .sidebar-box {
  margin-bottom: 40px;
}

/* 最新記事 */
.sidebar .blogs-container {
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.sidebar .blogs-container .post-box {
  display: flex;
  gap: 10px;
}
.sidebar .blogs-container .post-box .image {
  max-width: 139px;
  width: 95%;
  aspect-ratio: 129 / 79;
  overflow: hidden;
}
.sidebar .blogs-container .post-box .image img {
  width: 100%;
  height: auto;
}
.sidebar .blogs-container .post-box .title {
  max-width: 186px;
  width: 95%;
}
.sidebar .blogs-container .post-box .title h3 {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

/* タグ一覧 */
.sidebar .taglist {
  margin: 24px 0 0;
  display: flex;
  gap: 10px 15px;
  flex-wrap: wrap;
}
.sidebar .taglist .tag {
  display: inline-block;
  color: #4C5559;
  font-size: 15px;
  font-weight: 500;
}
.sidebar .taglist .tag::before {
  content: "#";
  color: #BF9444;
  margin-right: -3px;
}