/* =========================================================
   記事本文・記事ヘッダー・サイドバー・記事全体のレイアウト
========================================================= */

/* =========================================================
   START FROM 39 — SINGLE ARTICLE
   Version: 1.18.17
   Scope: 投稿記事 / サイドバー / 関連記事 / 著者カード

   FILE MAP
   01  Article layout / article body
   02  Sidebar base
   03  Related stories / post navigation
   04  Continue reading
   05  Author card
   06  Mobile article guide
   07  Final article refinements
   08  Final sidebar refinements
   09  Unified sidebar CTA
   10  Mobile rules (file end)

   IMPORTANT
   - 投稿記事専用CSSです。
   - 既存HTMLのクラス名は変更しません。
   - 後半の確定指定は表示互換のため順序を維持しています。
========================================================= */

.sf-single-layout {
  padding: 70px 0 0;
}

.sf-single-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.sf-single-grid > .sf-single-main {
  grid-column: 1;
  min-width: 0;
  max-width: 100%;
}

.sf-single-grid > .sf-article-sidebar {
  grid-column: 2;
  grid-row: 1;
  width: 300px;
  min-width: 0;
}

.sf-single-main {
  min-width: 0;
}

.sf-single-article {
  background: #fff;
  border: 1px solid var(--sf-line);
}

.sf-article-header {
  padding: 30px 34px;

  background: #faf7f0;

  border-bottom: 1px solid #ddd4bf;
}

.sf-article-category {
  display: flex;

  gap: 13px;
  align-items: center;

  color: var(--sf-gold);

  font-size: 10px;
  letter-spacing: 0.15em;
}

.sf-article-category a {
  color: var(--sf-green);

  letter-spacing: 0.05em;
}

.sf-article-header h1 {
  width: 100%;

  margin: 18px 0;

  max-width: none;

  font-size: clamp(18px, 1.55vw, 24px);

  line-height: 1.55;
  text-align: left;

  text-wrap: wrap;

  color: #193f37;

  letter-spacing: 0;
}

.sf-article-meta {
  display: flex;

  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 24px;

  color: #8a8d88;

  font-size: 11px;
  letter-spacing: 0.04em;
}

.sf-article-meta span + span {
  position: relative;

  padding-left: 24px;
}

.sf-article-meta span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;

  width: 12px;
  height: 1px;

  background: var(--sf-gold);
}

.sf-article-hero img {
  width: 100%;
  max-height: 520px;

  object-fit: cover;
}

.sf-article-content {
  padding: 28px 34px 36px;

  font-size: 18px;

  line-height: 1.95;
}

.sf-article-content > :first-child {
  margin-top: 0 !important;
}

.sf-article-content > :last-child {
  margin-bottom: 0 !important;
}

.sf-article-content .sf-cta:last-child,
.sf-article-content .sf-article__section:last-child,
.sf-article-content .sf-article > :last-child {
  margin-bottom: 16px !important;
}

.sf-article-content h2 {
  margin: 2.4em 0 1em;

  padding: 0 0 14px;

  font-size: 25px;

  border-left: 0;

  border-bottom: 1px solid #a58c50;

  color: #193f37;
}

.sf-article-content h3 {
  margin: 2em 0 0.9em;
  padding-bottom: 10px;

  font-size: 21px;

  border-bottom: 1px solid #e2d8c1;

  color: #193f37;
}

.sf-article-content a {
  color: var(--sf-green);

  text-decoration: underline;
  text-underline-offset: 4px;
}

.sf-article-content blockquote {
  margin: 30px 0;
  padding: 25px 30px;

  background: #faf7f0;

  border-left: 3px solid #b65e42;
}

.sf-article-content table {
  width: 100%;

  border-collapse: collapse;
}

.sf-article-content th,
.sf-article-content td {
  padding: 12px;

  border: 1px solid var(--sf-line);
}

.sf-article-footer {
  padding: 0 55px 25px;
}

.sf-article-footer:has(.sf-tags:empty),
.sf-article-footer:empty {
  display: none;
}

.sf-tags a {
  display: inline-block;

  margin: 3px;
  padding: 4px 10px;

  background: var(--sf-ivory);

  font-size: 11px;
}

.sf-article-sidebar {
  position: static;

  min-width: 0;
}

.sf-sidebar-block,
.sf-sidebar-about {
  margin-bottom: 26px;
  padding: 30px 27px;

  background: #fff;
  border: 1px solid var(--sf-line);
  box-shadow: 0 10px 28px rgba(25, 57, 50, 0.035);
}

.sf-sidebar-block > .sf-section-label,
.sf-sidebar-about > .sf-section-label {
  text-align: center;
}

.sf-sidebar-block h2,
.sf-sidebar-about h2 {
  position: relative;

  margin: 10px 0 27px;
  padding-bottom: 18px;

  text-align: center;
  font-size: 20px;
}

.sf-sidebar-block h2::after,
.sf-sidebar-about h2::after {
  content: "◆";
  position: absolute;
  left: calc(50% - 5px);
  bottom: -2px;

  color: var(--sf-gold-soft);

  font: 9px/1 var(--sf-sans);
}

.sf-sidebar-stories a {
  display: grid;

  grid-template-columns: 34px 1fr;
  gap: 10px;

  padding: 14px 0;

  border-top: 1px solid var(--sf-line);
}

.sf-sidebar-stories b {
  color: var(--sf-gold);

  font: italic 18px/1 var(--sf-serif);
}

.sf-sidebar-stories span {
  font: 500 13px/1.6 var(--sf-serif);
}

.sf-sidebar-more {
  display: block;

  margin-top: 12px;

  color: var(--sf-green);

  font-size: 11px;
}

.sf-sidebar-selected ol {
  padding: 0;
  margin: 18px 0 0;

  list-style: none;
}

.sf-sidebar-intro {
  color: var(--sf-muted);

  font-size: 11px;
}

.sf-sidebar-selected li {
  border-top: 1px solid var(--sf-line);
}

.sf-sidebar-selected li a {
  display: grid;

  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;

  padding: 14px 0;
}

.sf-sidebar-selected li b {
  display: grid;

  place-items: center;

  width: 25px;
  height: 25px;

  color: #fff;
  background: var(--sf-gold);
  border-radius: 50%;

  font: 600 9px/1 var(--sf-sans);
}

.sf-sidebar-selected li span {
  font: 500 12px/1.7 var(--sf-serif);
}

.sf-theme-links {
  display: grid;

  gap: 6px;
}

.sf-theme-links a {
  display: block;

  padding: 11px 14px;

  color: #fff;
  background: var(--sf-green);
  border-left: 3px solid var(--sf-gold-soft);

  font-size: 12px;

  transition: 0.2s ease;
}

.sf-theme-links a:hover {
  padding-left: 18px;

  background: var(--sf-emerald);
}

.sf-sidebar-special {
  margin-bottom: 26px;
  padding: 38px 28px;

  color: #fff;

  text-align: center;

  background: linear-gradient(155deg, var(--sf-green-dark), var(--sf-emerald));
  border-top: 3px solid var(--sf-gold-soft);
}

.sf-sidebar-special > span {
  color: var(--sf-gold-soft);

  font-size: 9px;
  letter-spacing: 0.18em;
}

.sf-sidebar-special h2 {
  margin: 14px 0;

  font-size: 24px;
}

.sf-sidebar-special p,
.sf-sidebar-about p {
  font-size: 12px;
}

.sf-sidebar-special a {
  display: block;

  margin-top: 18px;
  padding: 10px;

  color: var(--sf-green-dark);
  background: var(--sf-gold-soft);

  font-size: 11px;
}

.sf-sidebar-about a {
  display: flex;

  justify-content: space-between;

  padding-top: 13px;

  color: var(--sf-green);
  border-top: 1px solid var(--sf-line);

  font-size: 11px;
}

.sf-sidebar-continue {
  position: sticky;
  top: 98px;

  margin-bottom: 26px;
  padding: 30px 28px;

  background: #fff;
  border: 1px solid var(--sf-line);
  box-shadow: 0 12px 30px rgba(24, 55, 48, 0.06);
}

.sf-sidebar-continue h2 {
  margin: 8px 0 16px;

  font-size: 21px;
}

.sf-sidebar-continue > div {
  border-top: 1px solid var(--sf-line);
}

.sf-sidebar-continue > div a {
  display: grid;

  grid-template-columns: 32px 1fr;
  gap: 10px;

  padding: 14px 0;

  border-bottom: 1px solid var(--sf-line);
}

.sf-sidebar-continue b {
  color: var(--sf-gold);

  font: 600 10px/1.7 var(--sf-sans);
}

.sf-sidebar-continue span {
  font: 500 12px/1.65 var(--sf-serif);
}

.sf-related {
  margin: 62px 0 70px;
  padding: 52px 38px 34px;

  color: #fff;
  background: linear-gradient(145deg, #315f56, #467b70);
  border-radius: 28px;
}

.sf-related__head {
  margin-bottom: 58px;

  text-align: center;
}

.sf-related__head h2 {
  margin: 0;

  color: #fff;

  font-size: 30px;
  letter-spacing: 0.08em;
}

.sf-related__head p {
  margin: 6px 0 0;

  color: var(--sf-gold-soft);

  font: 600 11px/1 var(--sf-sans);
  letter-spacing: 0.28em;
}

.sf-related__grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sf-related__card {
  min-height: 230px;

  position: relative;

  padding: 55px 23px 28px;

  color: var(--sf-green-dark);

  text-align: center;

  background: #fff;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(12, 39, 34, 0.12);

  transition: transform 0.28s ease,
    box-shadow 0.28s ease,
    background-color 0.28s ease;
}

.sf-related__card:hover {
  color: var(--sf-green-dark);
  background: #fffdf8;
  box-shadow: 0 24px 42px rgba(8, 35, 30, 0.25);

  transform: translateY(-8px);
}

.sf-related__card::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;

  height: 4px;

  background: var(--sf-gold-soft);
  border-radius: 4px 4px 0 0;
}

.sf-related__card > span {
  display: grid;

  place-items: center;

  width: 62px;
  height: 62px;

  position: absolute;
  top: -30px;
  left: calc(50% - 31px);

  color: #fff;
  background: var(--sf-gold-soft);
  border-radius: 50%;

  font: 600 16px/1 var(--sf-sans);
}

.sf-related__card strong {
  display: block;

  margin-top: 15px;

  font: 600 14px/1.8 var(--sf-serif);
}

.sf-related__card i {
  position: static;
  display: block;

  width: 28px;
  height: 1px;

  margin: 0 auto 18px;

  color: transparent;
  background: var(--sf-gold);
}

.sf-related__more {
  display: flex;

  justify-content: space-between;
  align-items: center;

  margin-top: 28px;
  padding: 14px 18px;

  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.25);

  font: 500 12px/1.5 var(--sf-serif);
}

.sf-related__more span {
  color: var(--sf-gold-soft);
}

.post-navigation {
  margin: 0 0 68px;
  padding-top: 34px;

  border-top: 1px solid var(--sf-line);
}

.post-navigation .nav-links {
  display: grid;

  grid-template-columns: 1fr 1fr;
  gap: 0;

  position: relative;
}

.post-navigation .nav-links::after {
  content: "◆";
  position: absolute;
  top: 50%;
  left: 50%;

  color: var(--sf-gold-soft);

  font-size: 9px;

  transform: translate(-50%, -50%);
}

.post-navigation a {
  display: block;

  min-height: 126px;

  position: relative;

  padding: 18px 35px;

  background: transparent;
  border: 0;

  transition: 0.25s ease;
}

.post-navigation .nav-previous {
  border-right: 1px solid var(--sf-line);
}

.post-navigation a:hover {
  color: var(--sf-green);

  transform: translateY(-2px);
}

.post-navigation span {
  display: block;

  color: var(--sf-gold);

  font-size: 9px;
  letter-spacing: 0.15em;
}

.post-navigation strong {
  display: block;

  margin-top: 8px;

  font: 500 13px/1.6 var(--sf-serif);
}

.post-navigation .nav-next {
  text-align: right;
}

.sf-continue {
  margin: 85px 0;
  padding: 45px;

  background: #fff;
  border: 1px solid var(--sf-line);
}

.sf-continue__head {
  display: flex;

  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.sf-continue__head p {
  color: var(--sf-gold);

  font-size: 10px;
  letter-spacing: 0.18em;
}

.sf-continue__head h2 {
  margin: 0;

  font-size: 27px;
}

.sf-continue__head > a {
  color: var(--sf-green);

  font-size: 10px;
}

.sf-continue__grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);
  gap: 20px;

  margin-top: 28px;
}

.sf-continue__grid a {
  display: grid;

  grid-template-columns: 76px 1fr;
  gap: 13px;
  align-items: center;

  font: 500 13px/1.6 var(--sf-serif);
}

.sf-continue__grid img {
  width: 76px;
  height: 65px;

  object-fit: cover;
}

.sf-author-card {
  display: grid;

  grid-template-columns: 220px 1fr;
  gap: 0;

  margin: 10px 38px 48px;

  overflow: hidden;

  background: #f6f2e9;
  border: 1px solid #ded5c3;
  box-shadow: 0 15px 35px rgba(26, 55, 49, 0.07);
}

.sf-author-card__visual {
  min-height: 265px;

  position: relative;

  background: linear-gradient(180deg, transparent 55%, rgba(22, 58, 51, 0.62)),
    url("../../images/home/hero.jpg") 73% center/cover no-repeat;
}

.sf-author-card__visual span {
  position: absolute;
  left: 18px;
  bottom: 15px;

  color: #fff;

  font: 500 20px/1 var(--sf-script);
}

.sf-author-card__copy {
  padding: 32px 34px;
}

.sf-author-card__copy > p:first-child {
  margin-bottom: 8px;

  color: var(--sf-gold);

  font-size: 9px;
  letter-spacing: 0.18em;
}

.sf-author-card__copy h2 {
  margin: 0 0 5px;
  padding: 0;

  border: 0;

  font-size: 22px;
}

.sf-author-card__copy h3 {
  margin: 0 0 10px;

  color: var(--sf-green);

  font: 600 13px/1.6 var(--sf-sans);
}

.sf-author-card__copy p {
  margin-bottom: 13px;

  color: var(--sf-muted);

  font-size: 12px;
}

.sf-author-card__copy ul {
  display: flex;

  flex-wrap: wrap;
  gap: 8px 16px;

  padding: 0;
  margin: 0 0 16px;

  color: var(--sf-green);

  list-style: none;

  font-size: 10px;
}

.sf-author-card__copy li::before {
  content: "◇";

  margin-right: 5px;

  color: var(--sf-gold);
}

.sf-author-card__copy a {
  display: flex;

  justify-content: space-between;

  padding-top: 12px;

  color: var(--sf-green);
  border-top: 1px solid var(--sf-line);

  font-size: 11px;
}

.sf-mobile-article-guide {
  display: none;
}

/* =========================================================
   07. FINAL ARTICLE REFINEMENTS
========================================================= */

.sf-article-header {
  padding: 42px 42px 22px;
}

.sf-article-header h1 {
  width: 100%;
  max-width: none;

  margin: 18px 0;

  font-size: clamp(18px, 1.55vw, 24px);

  line-height: 1.55;
  text-align: left;

  color: #193f37;

  letter-spacing: 0;

  text-wrap: wrap;
}

.sf-author-card__visual span {
  left: 14px;
  bottom: 14px;

  padding: 5px 10px;

  color: rgba(23, 63, 56, 0.76);
  background: rgba(250, 248, 242, 0.82);

  font: 600 8px/1 var(--sf-sans);
  letter-spacing: 0.24em;
}

.sf-author-card__copy a.sf-author-card__button {
  display: flex;

  justify-content: space-between;
  align-items: center;

  margin-top: 18px;
  padding: 13px 15px 13px 18px;

  color: #fff;
  background: var(--sf-green);
  border: 1px solid var(--sf-green);
  box-shadow: 0 7px 16px rgba(18, 68, 58, 0.13);

  font-size: 11px;
  text-decoration: none;

  transition: transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.sf-author-card__button b {
  font-weight: 600;
  letter-spacing: 0.05em;
}

.sf-author-card__button span {
  display: grid;

  place-items: center;

  width: 28px;
  height: 28px;

  color: var(--sf-green-dark);
  background: var(--sf-gold-soft);
  border-radius: 50%;

  transition: transform 0.25s ease;
}

.sf-author-card__copy a.sf-author-card__button:hover {
  color: #fff;
  background: var(--sf-green-dark);
  box-shadow: 0 14px 26px rgba(18, 68, 58, 0.25);

  transform: translateY(-4px);
}

.sf-author-card__button:hover span {
  transform: translateX(3px);
}

.sf-related__more {
  margin: 28px 0 0;
  padding: 15px 18px;

  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.sf-related__more:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sf-related__more span {
  display: grid;

  place-items: center;

  width: 32px;
  height: 32px;

  color: var(--sf-green-dark);
  background: var(--sf-gold-soft);
  border-radius: 50%;
}

.post-navigation span small {
  display: block;

  margin-top: 7px;

  color: var(--sf-green);

  font: 500 10px/1.4 var(--sf-serif);
  letter-spacing: 0.05em;
}

/* =========================================================
   07-B. Unified editor card
========================================================= */

.sf-author-card {
  grid-template-columns: minmax(230px, 0.74fr) minmax(0, 1.65fr);

  margin-top: 18px;

  background: #fffefa;
  border-color: #d8cdbb;
  box-shadow: 0 20px 46px rgba(24, 55, 48, 0.09);
}

.sf-author-card__visual {
  min-height: 330px;

  background: linear-gradient(180deg, transparent 48%, rgba(15, 52, 45, 0.72) 100%),
    url("../../images/home/editor-profile-v2.webp") 46% center/cover no-repeat;
}

.sf-author-card__visual span {
  left: 22px;
  bottom: 21px;

  padding: 0;

  color: var(--sf-gold-soft);
  background: transparent;

  font: 700 8px/1.4 var(--sf-sans);
  letter-spacing: 0.22em;
}

.sf-author-card__copy {
  display: flex;

  flex-direction: column;
  justify-content: center;

  padding: 38px 42px;
}

.sf-author-card__copy > p:first-child {
  margin-bottom: 12px;

  color: var(--sf-terracotta);

  font-weight: 700;
  letter-spacing: 0.22em;
}

.sf-author-card__copy h2 {
  margin-bottom: 7px;

  color: var(--sf-green-dark);

  font-size: 24px;
  font-weight: 500;
}

.sf-author-card__copy h3 {
  margin-bottom: 15px;

  color: var(--sf-green);

  font-size: 13px;
  letter-spacing: 0.04em;
}

.sf-author-card__copy p:not(:first-child) {
  font-size: 12px;
  line-height: 2;
}

.sf-author-card__copy ul {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;

  margin: 4px 0 0;
}

.sf-author-card__copy li {
  padding: 10px 10px 10px 24px;

  color: #31564e;
  background: #f5f0e7;
  border: 1px solid #e4d9c8;

  font-size: 9px;
  line-height: 1.6;
}

.sf-author-card__copy li::before {
  margin-left: -14px;
}

.sf-author-card__copy a.sf-author-card__button {
  min-height: 52px;

  margin-top: 19px;
  padding: 11px 13px 11px 18px;

  border-top: 1px solid var(--sf-green);
}

.sf-sidebar-jp-label {
  margin-bottom: 3px;

  text-align: center;
  font: 500 13px/1.5 var(--sf-serif);
  letter-spacing: 0.22em;
}

.sf-sidebar-intro {
  margin: -10px 0 19px;

  text-align: center;
  line-height: 1.8;
}

.sf-sidebar-more--button {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-top: 18px;
  padding: 13px 14px;

  color: #725b31;
  background: #faf6ed;
  border: 1px solid #dfd4bd;
}

.sf-sidebar-more--button i {
  display: grid;

  place-items: center;

  width: 30px;
  height: 30px;

  color: var(--sf-green);
  background: #fff;
  border: 1px solid var(--sf-gold-soft);
  border-radius: 50%;

  font-style: normal;
}

.sf-theme-links a {
  display: grid;

  grid-template-columns: 28px 1fr 12px;
  align-items: center;
  gap: 8px;

  border-left: 0;
  border-radius: 5px;
}

.sf-theme-links i {
  color: var(--sf-gold-soft);

  font-style: normal;
  text-align: center;
}

.sf-theme-links b {
  color: var(--sf-gold-soft);

  font-size: 18px;
}

.sf-sidebar-selected ol {
  margin-top: 25px;
}

.sf-sidebar-selected li a {
  display: block;

  padding: 28px 3px;

  text-align: center;
}

.sf-sidebar-selected li b {
  width: 42px;
  height: 42px;

  position: relative;

  margin: 0 auto 20px;

  background: #c99c3c;

  font-size: 12px;
}

.sf-sidebar-selected li b::before,
.sf-sidebar-selected li b::after {
  content: "";

  width: 40px;
  height: 1px;

  position: absolute;
  top: 50%;

  background: var(--sf-gold-soft);
}

.sf-sidebar-selected li b::before {
  right: calc(100% + 10px);
}

.sf-sidebar-selected li b::after {
  left: calc(100% + 10px);
}

.sf-sidebar-selected li span {
  font-weight: 600;
  line-height: 1.9;
}

.sf-sidebar-special {
  padding: 0 17px 16px;

  overflow: hidden;

  color: var(--sf-ink);

  text-align: left;

  background: #fff;
  border: 1px solid var(--sf-line);
}

.sf-sidebar-special > span {
  display: block;

  margin: 0 -17px;
  padding-top: 24px;

  color: var(--sf-gold-soft);

  text-align: center;

  background: linear-gradient(#86a9a1, #164d43);
}

.sf-sidebar-special > i {
  display: grid;

  place-items: center;

  width: 52px;
  height: 52px;

  margin: 0 auto;

  color: var(--sf-gold-soft);
  background: #42766c;
  border: 1px solid var(--sf-gold-soft);
  border-radius: 50%;

  font-style: normal;

  transform: translateY(8px);
}

.sf-sidebar-special h2 {
  margin: 0 -17px;
  padding: 21px 10px 3px;

  color: #fff;

  text-align: center;

  background: #164d43;
}

.sf-sidebar-special > p {
  margin: 0 -17px 18px;
  padding: 3px 12px 22px;

  color: #fff;

  text-align: center;

  background: #164d43;
}

.sf-sidebar-special > div {
  display: grid;

  grid-template-columns: 62px 1fr;
  gap: 10px;

  padding: 12px 0;

  border-bottom: 1px solid var(--sf-line);
}

.sf-sidebar-special > div > b {
  color: #b48225;
}

.sf-sidebar-special > div span strong,
.sf-sidebar-special > div span small {
  display: block;
}

.sf-sidebar-special > div span small {
  color: var(--sf-muted);
}

.sf-sidebar-about {
  text-align: center;
}

.sf-sidebar-about h2 {
  font-size: 28px;
}

.sf-sidebar-about h3 {
  color: var(--sf-emerald);

  font-size: 17px;
}

.sf-sidebar-about > small {
  display: block;

  color: #a27c31;

  font-size: 9px;
}

.sf-sidebar-about > p:not(.sf-section-label) {
  margin: 25px 0;

  text-align: left;
  line-height: 2;
}

.sf-sidebar-about a {
  padding: 14px;

  color: #fff;
  background: var(--sf-emerald);
}

.sf-sidebar-continue {
  top: 90px;
}

.sf-sidebar-continue > .sf-section-label {
  text-align: left;
}

.sf-sidebar-continue > div a {
  grid-template-columns: 36px 1fr;

  padding: 17px 0;
}

.sf-sidebar-continue span {
  font-size: 13px;
  line-height: 1.8;
}

.sf-sidebar-stories a,
.sf-sidebar-selected li a,
.sf-sidebar-special a,
.sf-sidebar-about a,
.sf-sidebar-continue > div a,
.sf-sidebar-more--button {
  transition: transform 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease,
    color 0.24s ease;
}

.sf-sidebar-stories a:hover,
.sf-sidebar-selected li a:hover,
.sf-sidebar-continue > div a:hover {
  z-index: 1;

  color: var(--sf-green);
  background: #fbf8f0;
  box-shadow: 0 10px 20px rgba(24, 55, 48, 0.08);

  transform: translateY(-4px);
}

.sf-sidebar-more--button:hover,
.sf-sidebar-special a:hover,
.sf-sidebar-about a:hover {
  color: #fff;
  background: var(--sf-green-dark);
  box-shadow: 0 12px 24px rgba(18, 68, 58, 0.2);

  transform: translateY(-4px);
}

.sf-related__more {
  transition: transform 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease;
}

.sf-related__more:hover {
  box-shadow: 0 13px 24px rgba(8, 35, 30, 0.22);

  transform: translateY(-4px);
}

.post-navigation a:hover {
  background: #fff;
  box-shadow: 0 12px 26px rgba(24, 55, 48, 0.08);

  transform: translateY(-5px);
}

/* =========================================================
   08. FINAL SIDEBAR REFINEMENTS
   Continuity / selected cards / sticky reading guide
========================================================= */

.sf-article-sidebar {
  align-self: stretch;
}

.sf-sidebar-primary {
  position: relative;
}

.sf-sidebar-special {
  padding: 0 17px 16px;
}

.sf-sidebar-special header {
  margin: 0 -17px 18px;
  padding: 24px 20px 25px;

  color: #fff;

  text-align: center;

  background: linear-gradient(180deg, #73998f 0%, #145347 38%, #145347 100%);
}

.sf-sidebar-special header > span {
  display: block;

  color: var(--sf-gold-soft);

  font-size: 9px;
  letter-spacing: 0.18em;
}

.sf-sidebar-special header > i {
  display: grid;

  place-items: center;

  width: 52px;
  height: 52px;

  margin: 14px auto 12px;

  color: var(--sf-gold-soft);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--sf-gold-soft);
  border-radius: 50%;

  font-style: normal;
}

.sf-sidebar-special header h2 {
  margin: 0;
  padding: 0;

  color: #fff;
  background: transparent;
}

.sf-sidebar-special header p {
  margin: 10px 0 0;
  padding: 0;

  color: rgba(255, 255, 255, 0.9);
  background: transparent;
}

.sf-sidebar-special__chapter {
  display: grid;

  grid-template-columns: 62px 1fr 24px;
  gap: 9px;
  align-items: center;

  margin: 0 0 9px;
  padding: 15px 13px;

  color: var(--sf-ink);
  background: #f8f5ee;
  border: 1px solid #e3dac9;
}

.sf-sidebar-special__chapter > b {
  color: #b48225;
}

.sf-sidebar-special__chapter span strong,
.sf-sidebar-special__chapter span small {
  display: block;
}

.sf-sidebar-special__chapter span small {
  color: var(--sf-muted);
}

.sf-sidebar-special__chapter > i {
  color: var(--sf-gold);

  font-style: normal;
}

.sf-sidebar-special a.sf-sidebar-special__chapter:hover {
  color: var(--sf-green-dark);
  background: #faf6ed;
  box-shadow: 0 10px 21px rgba(24, 55, 48, 0.1);

  transform: translateY(-3px);
}

.sf-sidebar-special__all {
  display: flex;

  justify-content: space-between;
  align-items: center;

  margin: 14px 0 0;
  padding: 13px 14px;

  color: #fff;
  background: var(--sf-emerald);
}

.sf-sidebar-special a.sf-sidebar-special__all:hover {
  color: #fff;
  background: var(--sf-green-dark);
}

.sf-sidebar-about {
  border-top: 3px solid var(--sf-emerald);
}

.sf-sidebar-related,
.sf-sidebar-themes,
.sf-sidebar-selected {
  border-top: 2px solid var(--sf-gold-soft);
}

.sf-sidebar-continue {
  position: sticky;
  top: 96px;
  z-index: 3;

  max-height: calc(100vh - 116px);

  overflow-y: auto;

  scrollbar-width: thin;
  scrollbar-color: var(--sf-gold-soft) transparent;
}

.sf-sidebar-continue .sf-sidebar-more {
  display: flex;

  justify-content: space-between;
  align-items: center;

  margin-top: 14px;
  padding: 15px 0 0;

  color: var(--sf-green);
  border-top: 1px solid var(--sf-line);

  font-size: 10px;
  letter-spacing: 0.13em;
}

.sf-sidebar-continue__all i {
  display: grid;

  place-items: center;

  width: 36px;
  height: 36px;

  color: #9a742f;
  background: #fff;
  border: 1px solid var(--sf-gold-soft);
  border-radius: 50%;

  font-style: normal;

  transition: transform 0.25s ease,
    color 0.25s ease,
    background-color 0.25s ease;
}

.sf-sidebar-continue__all:hover {
  color: var(--sf-green-dark);

  transform: translateY(-3px);
}

.sf-sidebar-continue__all:hover i {
  color: #fff;
  background: var(--sf-green);

  transform: translateX(3px);
}

/* =========================================================
   08-B. Quieter sidebar styling
========================================================= */

.sf-sidebar-block h2::after,
.sf-sidebar-about h2::after {
  content: "◆";
  display: block;

  width: 160px;
  height: 13px;

  left: 50%;
  bottom: -5px;

  color: var(--sf-gold-soft);
  background: linear-gradient(
      90deg,
      var(--sf-gold-soft) 0 42%,
      transparent 42% 58%,
      var(--sf-gold-soft) 58% 100%
    )
    center/100% 1px no-repeat;

  font: 9px/13px var(--sf-sans);

  transform: translateX(-50%);
}

.sf-sidebar-special {
  padding: 0 16px 16px;

  border-radius: 0 0 9px 9px;
}

.sf-sidebar-special header {
  margin: 0 -16px 0;
  padding: 25px 20px 28px;

  background: linear-gradient(180deg, #87a79f 0%, #155448 72%);
}

.sf-sidebar-special header > i {
  margin: 14px auto 13px;

  background: transparent;
}

.sf-sidebar-special__chapter {
  grid-template-columns: 62px 1fr 22px;

  margin: 0;
  padding: 16px 2px;

  color: var(--sf-ink);
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--sf-line);
}

.sf-sidebar-special a.sf-sidebar-special__chapter:hover {
  color: var(--sf-green-dark);
  background: #f8f5ee;
  box-shadow: none;

  transform: translateX(3px);
}

.sf-sidebar-special__all {
  margin: 12px 0 0;
  padding: 14px;

  color: #fff;
  background: var(--sf-emerald);
  border-radius: 4px;
}

.sf-sidebar-about__signature {
  position: relative;

  margin: 0 0 22px !important;

  color: var(--sf-green) !important;

  text-align: left !important;
  font: 500 12px/1 var(--sf-serif);
  letter-spacing: 0.08em;
}

.sf-sidebar-about__signature::after {
  content: "";
  position: absolute;
  left: 92px;
  right: 0;
  top: 50%;

  height: 1px;

  background: var(--sf-line);
}

.sf-sidebar-about a b {
  font: 600 11px/1 var(--sf-serif);
  letter-spacing: 0.18em;
}

/* =========================================================
   08-C. Editorial sidebar cards
========================================================= */

.sf-article-sidebar .sf-sidebar-special {
  padding: 0 15px 15px;

  overflow: hidden;

  background: #fff;
  border: 1px solid #ddd4c4;
  border-radius: 9px;
  box-shadow: none;
}

.sf-article-sidebar .sf-sidebar-special header {
  margin: 0 -15px;
  padding: 25px 20px 27px;

  color: #fff;

  text-align: center;

  background: linear-gradient(180deg, #8baaa3 0%, #39766c 35%, #0f5146 100%);
}

.sf-article-sidebar .sf-sidebar-special header > span {
  display: block;

  color: #e2b850;

  font: 600 9px/1.4 var(--sf-sans);
  letter-spacing: 0.19em;
}

.sf-article-sidebar .sf-sidebar-special header > i {
  display: grid;

  place-items: center;

  width: 54px;
  height: 54px;

  margin: 14px auto 14px;

  color: #e1b44d;
  background: transparent;
  border: 1px solid #d7a934;
  border-radius: 50%;

  font-style: normal;
}

.sf-article-sidebar .sf-sidebar-special header h2 {
  margin: 0;
  padding: 0;

  color: #102f2a;
  background: transparent;

  font-size: 24px;
  font-weight: 500;
}

.sf-article-sidebar .sf-sidebar-special header p {
  margin: 9px 0 0;
  padding: 0;

  color: #fff;
  background: transparent;

  font-size: 11px;
  font-weight: 600;
  line-height: 1.75;
}

.sf-article-sidebar .sf-sidebar-special__chapter {
  display: grid;

  grid-template-columns: 62px minmax(0, 1fr) 20px;
  gap: 10px;
  align-items: center;

  margin: 0;
  padding: 15px 2px;

  color: var(--sf-ink);
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--sf-line);
  box-shadow: none;
}

.sf-article-sidebar .sf-sidebar-special__chapter > b {
  color: #ae7b24;

  font-size: 13px;
}

.sf-article-sidebar .sf-sidebar-special__chapter span strong {
  display: block;

  font-size: 12px;
}

.sf-article-sidebar .sf-sidebar-special__chapter span small {
  display: block;

  margin-top: 3px;

  color: #7c847f;

  font-size: 9px;
}

.sf-article-sidebar .sf-sidebar-special__chapter > i {
  color: #c18c2b;

  font-style: normal;
}

.sf-article-sidebar .sf-sidebar-special a.sf-sidebar-special__chapter:hover {
  color: var(--sf-green-dark);
  background: #f5f8f5;
  box-shadow: 0 9px 18px rgba(22, 66, 57, 0.09);

  transform: translateY(-3px);
}

.sf-article-sidebar .sf-sidebar-special__all {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin: 11px 0 0;
  padding: 14px;

  color: #fff;
  background: #0e7567;
  border-radius: 4px;

  font-weight: 600;
}

.sf-article-sidebar .sf-sidebar-special a.sf-sidebar-special__all:hover {
  color: #fff;
  background: #094d43;
  box-shadow: 0 11px 22px rgba(15, 81, 70, 0.22);

  transform: translateY(-4px);
}

.sf-article-sidebar .sf-sidebar-continue {
  position: sticky;
  top: 96px;
  z-index: 3;

  max-height: calc(100vh - 116px);

  padding: 28px 24px 24px;

  overflow-y: auto;

  background: #fff;
  border: 1px solid #ded3bd;
  box-shadow: 0 16px 32px rgba(33, 52, 47, 0.07);
}

.sf-article-sidebar .sf-sidebar-continue::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;

  width: 62px;
  height: 2px;

  background: #b7893a;
}

.sf-article-sidebar .sf-sidebar-continue > .sf-section-label {
  margin: 0 0 9px;

  color: #a97b32;

  text-align: left;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.sf-article-sidebar .sf-sidebar-continue > h2 {
  margin: 0 0 18px;
  padding: 0 0 18px;

  color: #143b34;
  border-bottom: 1px solid #ddd8cd;

  font-size: 22px;
  font-weight: 500;
}

.sf-article-sidebar .sf-sidebar-continue > h2::after {
  content: "";
  display: block;

  width: 45px;
  height: 1px;

  position: absolute;
  left: 24px;

  margin-top: 18px;

  background: #d4a654;
}

.sf-article-sidebar .sf-sidebar-continue > div a {
  display: grid;

  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;

  padding: 17px 0;

  color: #424945;
  background: #fff;
  border-bottom: 1px solid #e4e0d7;
  box-shadow: none;
}

.sf-article-sidebar .sf-sidebar-continue > div a b {
  color: #b18232;

  font-size: 10px;
}

.sf-article-sidebar .sf-sidebar-continue > div a span {
  font: 500 13px/1.85 var(--sf-serif);
}

.sf-article-sidebar .sf-sidebar-continue > div a:hover {
  color: var(--sf-green-dark);
  background: #f8f6f0;
  box-shadow: 0 9px 18px rgba(22, 66, 57, 0.08);

  transform: translateY(-3px);
}

.sf-article-sidebar .sf-sidebar-continue .sf-sidebar-continue__all {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-top: 14px;
  padding: 12px 0 0;

  color: #946f2f;
  border-top: 0;

  font-size: 10px;
  letter-spacing: 0.15em;
}

.sf-article-sidebar .sf-sidebar-continue__all i {
  display: grid;

  place-items: center;

  width: 34px;
  height: 34px;

  color: #9b742e;
  background: #fff;
  border: 1px solid #d9bd84;
  border-radius: 50%;

  font-style: normal;
}

.sf-article-sidebar .sf-sidebar-continue__all:hover {
  color: #fff;
  background: #126e61;

  padding-left: 12px;

  border-radius: 3px;
  box-shadow: 0 10px 20px rgba(18, 87, 76, 0.17);

  transform: translateY(-3px);
}

.sf-article-sidebar .sf-sidebar-continue__all:hover i {
  color: #126e61;
  background: #fff;

  transform: translateX(-4px);
}

/* =========================================================
   08-D. ALL ARTICLES final action
========================================================= */

.sf-article-sidebar .sf-sidebar-continue .sf-sidebar-continue__all {
  min-height: 58px;

  margin-top: 26px;
  padding: 10px 10px 10px 18px;

  color: #fffaf2;
  background: #155247;
  border: 1px solid #155247;
  border-top: 2px solid #d1ac64;
  border-radius: 0;
  box-shadow: 0 8px 18px rgba(21, 82, 71, 0.12);

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.sf-article-sidebar .sf-sidebar-continue__all i {
  flex: 0 0 36px;

  width: 36px;
  height: 36px;

  color: #155247;
  background: #ead092;
  border: 0;

  font-size: 15px;

  transition: transform 0.24s ease,
    background-color 0.24s ease;
}

.sf-article-sidebar .sf-sidebar-continue__all:hover {
  padding: 10px 10px 10px 18px;

  color: #fff;
  background: #0f443b;
  border-color: #0f443b;
  border-top-color: #e0bd75;
  border-radius: 0;
  box-shadow: 0 12px 22px rgba(18, 68, 58, 0.2);

  transform: translateY(-2px);
}

.sf-article-sidebar .sf-sidebar-continue__all:hover i {
  color: #155247;
  background: #fff6e7;

  transform: translateX(2px);
}

/* =========================================================
   Mobile Explore width — moved to section 10
========================================================= */

/* =========================================================
   09. UNIFIED SIDEBAR CTA
   Calm ivory at rest / deep green on hover
========================================================= */

.sf-article-sidebar :is(.sf-sidebar-more--button, .sf-sidebar-continue__all),
.sf-article-sidebar .sf-sidebar-continue .sf-sidebar-continue__all {
  display: flex;

  align-items: center;
  justify-content: space-between;

  min-height: 58px;

  margin-top: 26px;
  padding: 10px 10px 10px 18px;

  color: #155247;
  background: #faf6ed;
  border: 1px solid #dfd4bd;
  border-radius: 0;
  box-shadow: none;

  font-weight: 600;
  letter-spacing: 0.12em;

  transition: color 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.sf-article-sidebar :is(.sf-sidebar-more--button, .sf-sidebar-continue__all) i {
  display: grid;

  place-items: center;
  flex: 0 0 36px;

  width: 36px;
  height: 36px;

  color: #155247;
  background: #fffaf2;
  border: 1px solid #d1ac64;
  border-radius: 50%;

  font-size: 15px;
  font-style: normal;

  transition: color 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease,
    transform 0.24s ease;
}

.sf-article-sidebar
  :is(.sf-sidebar-more--button, .sf-sidebar-continue__all):hover,
.sf-article-sidebar .sf-sidebar-continue .sf-sidebar-continue__all:hover {
  padding: 10px 10px 10px 18px;

  color: #fffaf2;
  background: #155247;
  border-color: #155247;
  border-radius: 0;
  box-shadow: 0 10px 20px rgba(18, 68, 58, 0.16);

  transform: translateY(-2px);
}

.sf-article-sidebar
  :is(.sf-sidebar-more--button, .sf-sidebar-continue__all):hover
  i {
  color: #155247;
  background: #ead092;
  border-color: #ead092;

  transform: translateX(2px);
}

/* =========================================================
   10. MOBILE RULES
   767px and below
========================================================= */

@media (max-width: 767px) {
  .sf-mobile-article-guide {
    display: block;

    margin: 0 22px 55px;
    padding: 28px 20px 20px;

    background: #fffefa;
    border: 1px solid #ded5c5;
    box-shadow: 0 14px 34px rgba(25, 57, 50, 0.07);
  }

  .sf-mobile-article-guide > header {
    text-align: center;
  }

  .sf-mobile-article-guide > header p {
    margin: 0 0 7px;

    color: var(--sf-terracotta);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
  }

  .sf-mobile-article-guide > header h2 {
    margin: 0;

    color: var(--sf-green-dark);

    font: 600 22px/1.55 var(--sf-serif);
  }

  .sf-mobile-article-guide > header span {
    display: block;

    margin-top: 8px;

    color: var(--sf-muted);

    font-size: 10px;
    line-height: 1.8;
  }

  .sf-mobile-article-guide__themes {
    display: grid;

    grid-template-columns: 1fr 1fr;
    gap: 9px;

    margin-top: 24px;
  }

  .sf-mobile-article-guide__themes a {
    display: grid;

    grid-template-columns: 25px 1fr 16px;
    gap: 7px;
    align-items: center;

    min-height: 58px;

    padding: 10px 11px;

    color: var(--sf-green-dark);
    background: #f7f2e9;
    border: 1px solid #e2d9ca;
  }

  .sf-mobile-article-guide__themes a:first-child {
    grid-column: 1/-1;

    background: #f5e4da;
  }

  .sf-mobile-article-guide__themes b {
    color: var(--sf-terracotta);

    font-size: 9px;
  }

  .sf-mobile-article-guide__themes span {
    font: 600 13px/1.5 var(--sf-serif);
  }

  .sf-mobile-article-guide__themes i {
    color: var(--sf-gold);

    font-style: normal;
  }

  .sf-mobile-article-guide__special {
    display: grid;

    grid-template-columns: 1fr 24px;

    margin-top: 13px;
    padding: 21px 18px;

    color: #fff;
    background: linear-gradient(135deg, #173f38, #28675c);
    border-top: 3px solid var(--sf-gold-soft);
  }

  .sf-mobile-article-guide__special small,
  .sf-mobile-article-guide__special strong,
  .sf-mobile-article-guide__special span {
    display: block;

    grid-column: 1;
  }

  .sf-mobile-article-guide__special small {
    color: var(--sf-gold-soft);

    font-size: 8px;
    letter-spacing: 0.2em;
  }

  .sf-mobile-article-guide__special strong {
    margin-top: 7px;

    font: 500 20px/1.5 var(--sf-serif);
  }

  .sf-mobile-article-guide__special span {
    margin-top: 5px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 10px;
  }

  .sf-mobile-article-guide__special i {
    grid-column: 2;
    grid-row: 1/4;
    align-self: center;

    color: var(--sf-gold-soft);

    font-style: normal;
  }

  .sf-author-card {
    grid-template-columns: 1fr;

    margin-inline: 22px;
  }

  .single .sf-author-card__visual {
    min-height: 300px;

    background-position: 43% center;
  }

  .sf-author-card__copy {
    padding: 29px 23px 26px;
  }

  .sf-author-card__copy h2 {
    font-size: 20px;
  }

  .sf-author-card__copy ul {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .sf-author-card__copy li {
    font-size: 10px;
  }

  .sf-mobile-article-guide {
    width: calc(100% - 20px);
    max-width: none;

    margin-right: 10px;
    margin-left: 10px;
  }
}

/* =========================================================
   PC・タブレットの記事とサイドバーの列幅
========================================================= */
@media (min-width: 768px) and (max-width: 1099px) {
  .sf-single-grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 270px);
    gap: 24px;
  }

  .sf-single-grid > .sf-article-sidebar {
    width: 100%;
  }
}

/* =========================================================
   C案：PCのタイトル１行・スマホの読みやすさ
========================================================= */
@media (min-width: 1024px) {
  .sf-article-header h1 {
    white-space: normal;
    overflow-x: visible;
    padding-bottom: 0;
  }
}
@media (max-width: 767px) {
  .sf-single-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .sf-single-grid > .sf-single-main,
  .sf-single-grid > .sf-article-sidebar {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    min-width: 0;
  }

  .sf-article-header {
    padding: 24px 20px;
  }
  .sf-article-header h1 {
    font-size: 23px;
    white-space: normal;
  }
  .sf-article-content {
    padding: 24px 20px 30px;
    font-size: 17px;
    line-height: 1.9;
  }
}
