:root {
--sp-navy: #202f5b;
--sp-navy-light: #35497f;
--sp-accent: #c8102e;
--sp-link: #1151d3;
--sp-ink: #1d2430;
--sp-body: #333b47;
--sp-muted: #6b7686;
--sp-line: #e3e7ee;
--sp-tint: #f3f6fb;
--sp-page: #eef1f6;
} body.single .site-content,
body.single #content,
body.single .content-area {
background: var(--sp-page);
} body.single .mag-content,
body.single article.page-content-single {
background: #fff;
}
body.single article.page-content-single {
border-radius: 14px;
padding: 8px 4px 24px;
color: var(--sp-body);
font-size: 16.5px;
line-height: 2;
letter-spacing: 0.01em;
}
@media (min-width: 768px) {
body.single article.page-content-single {
padding: 8px 8px 32px;
}
} body.single h1.title.single {
position: relative;
margin: 6px 0 18px;
padding: 18px 0 16px;
font-size: clamp(22px, 4.4vw, 31px);
line-height: 1.55;
font-weight: 800;
letter-spacing: 0.01em;
color: var(--sp-ink);
border-bottom: 1px solid var(--sp-line);
} body.single h1.title.single::before {
content: var(--sp-kicker, "記事");
display: block;
width: fit-content;
margin-bottom: 12px;
padding: 4px 12px;
border-radius: 3px;
background: var(--sp-navy);
color: #fff;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.08em;
vertical-align: middle;
} body.single h1.title.single::after {
content: "";
position: absolute;
left: 0;
bottom: -1px;
width: 92px;
height: 3px;
background: var(--sp-accent);
} .sp-meta {
display: flex;
flex-wrap: wrap;
gap: 14px;
margin: 0 0 22px !important;
color: var(--sp-muted);
font-size: 13px;
letter-spacing: 0.02em;
}
.sp-meta__item::before {
content: "";
display: inline-block;
width: 5px;
height: 5px;
margin-right: 7px;
border-radius: 50%;
background: var(--sp-accent);
vertical-align: middle;
} body.single article.page-content-single h2,
body.single article.page-content-single h2.wp-block-heading {
clear: both;
margin: 44px 0 18px;
padding: 12px 16px;
background: var(--sp-tint);
border-left: 5px solid var(--sp-navy);
border-radius: 0 6px 6px 0;
font-size: clamp(19px, 3.4vw, 23px);
line-height: 1.6;
font-weight: 800;
color: var(--sp-ink);
}
body.single article.page-content-single h3,
body.single article.page-content-single h3.wp-block-heading {
clear: both;
position: relative;
margin: 34px 0 14px;
padding: 0 0 8px 14px;
font-size: clamp(17px, 3vw, 19.5px);
line-height: 1.6;
font-weight: 700;
color: var(--sp-navy);
border-bottom: 1px solid var(--sp-line);
}
body.single article.page-content-single h3::before {
content: "";
position: absolute;
left: 0;
top: 4px;
bottom: 12px;
width: 4px;
border-radius: 2px;
background: var(--sp-accent);
}
body.single article.page-content-single h4 {
clear: both;
margin: 26px 0 10px;
font-size: 17px;
font-weight: 700;
color: var(--sp-ink);
} body.single article.page-content-single p {
margin: 0 0 20px;
} body.single article.page-content-single > p:first-of-type,
body.single article.page-content-single > p:first-of-type + p {
font-size: 17.5px;
line-height: 1.95;
color: var(--sp-ink);
}
body.single article.page-content-single a {
color: var(--sp-link);
text-decoration: underline;
text-underline-offset: 3px;
text-decoration-thickness: 1px;
}
body.single article.page-content-single a:hover {
text-decoration-thickness: 2px;
}
body.single article.page-content-single strong {
font-weight: 700;
color: var(--sp-ink);
background: linear-gradient(transparent 62%, rgba(200, 16, 46, 0.14) 62%);
}
body.single article.page-content-single ul,
body.single article.page-content-single ol {
margin: 0 0 22px;
padding-left: 1.4em;
}
body.single article.page-content-single li {
margin-bottom: 8px;
padding-left: 2px;
}
body.single article.page-content-single ul li::marker {
color: var(--sp-accent);
}
body.single article.page-content-single ol li::marker {
color: var(--sp-navy);
font-weight: 700;
}
body.single article.page-content-single blockquote {
margin: 24px 0;
padding: 16px 18px;
background: var(--sp-tint);
border-left: 4px solid var(--sp-navy-light);
border-radius: 0 8px 8px 0;
color: var(--sp-body);
font-size: 15.5px;
}
body.single article.page-content-single blockquote p:last-child {
margin-bottom: 0;
}
body.single article.page-content-single table {
width: 100%;
margin: 24px 0;
border-collapse: collapse;
font-size: 15px;
}
body.single article.page-content-single th,
body.single article.page-content-single td {
padding: 10px 12px;
border: 1px solid var(--sp-line);
}
body.single article.page-content-single th {
background: var(--sp-tint);
font-weight: 700;
color: var(--sp-ink);
} body.single article.page-content-single figure.wp-block-image {
margin: 26px 0;
}
body.single article.page-content-single figure.wp-block-image img {
border-radius: 10px;
box-shadow: 0 2px 14px rgba(32, 47, 91, 0.13);
}
body.single article.page-content-single figure.wp-block-image figcaption {
margin-top: 8px;
color: var(--sp-muted);
font-size: 13px;
line-height: 1.7;
text-align: center;
} @media (min-width: 820px) {
body.single article.page-content-single figure.wp-block-image.is-resized {
float: left;
max-width: 46%;
margin: 6px 28px 18px 0;
}
body.single article.page-content-single figure.wp-block-image.is-resized img {
width: 100%;
height: auto;
}
body.single article.page-content-single figure.wp-block-image.alignright {
float: right;
max-width: 46%;
margin: 6px 0 18px 28px;
}
}  body.single article.page-content-single p:has(+ figure.wp-block-embed) {
clear: both;
margin: 36px 0 10px;
padding: 8px 0 8px 12px;
border-left: 4px solid var(--sp-navy);
color: var(--sp-ink);
font-size: 14px;
font-weight: 700;
letter-spacing: 0.02em;
}
body.single article.page-content-single figure.wp-block-embed {
clear: both;
margin: 0 0 14px;
}
body.single article.page-content-single figure.wp-block-embed .wp-block-embed__wrapper {
border: 1px solid var(--sp-line);
border-radius: 10px;
overflow: hidden;
background: #fff;
box-shadow: 0 1px 8px rgba(32, 47, 91, 0.07);
transition: box-shadow 0.2s ease, transform 0.2s ease;
}
body.single article.page-content-single figure.wp-block-embed .wp-block-embed__wrapper:hover {
box-shadow: 0 4px 18px rgba(32, 47, 91, 0.16);
transform: translateY(-1px);
} body.single .yarpp-related {
clear: both;
margin: 40px 0 10px;
padding: 22px 20px 18px;
background: var(--sp-tint);
border: 1px solid var(--sp-line);
border-radius: 12px;
}
body.single .yarpp-related h3 {
margin: 0 0 14px !important;
padding: 0 0 0 12px !important;
border: 0 !important;
border-left: 4px solid var(--sp-accent) !important;
font-size: 15px !important;
color: var(--sp-ink) !important;
}
body.single .yarpp-related h3::before {
content: none !important;
}
body.single .yarpp-thumbnails-horizontal {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
gap: 14px;
}
body.single .yarpp-thumbnail {
display: flex !important;
flex-direction: column;
width: auto !important;
height: auto !important;
min-height: 0 !important;
margin: 0 !important;
padding: 0 !important;
border: 1px solid var(--sp-line) !important;
border-radius: 10px;
overflow: hidden;
background: #fff;
box-shadow: 0 1px 6px rgba(32, 47, 91, 0.06);
transition: box-shadow 0.2s ease, transform 0.2s ease;
text-decoration: none !important;
}
body.single .yarpp-thumbnail:hover {
box-shadow: 0 6px 18px rgba(32, 47, 91, 0.15);
transform: translateY(-2px);
}
body.single .yarpp-thumbnail img {
display: block;
width: 100% !important;
min-width: 0 !important;
height: 124px !important;
min-height: 0 !important;
object-fit: cover;
margin: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
} body.single .yarpp-thumbnail-title {
display: block;
width: auto !important;
max-width: none !important;
height: auto !important;
flex: 1 1 auto;
margin: 0 !important;
padding: 10px 12px 12px !important;
color: var(--sp-ink) !important;
font-size: 13.5px !important;
font-weight: 700 !important;
line-height: 1.6 !important;
text-align: left !important;
} .sp-toc {
clear: both;
margin: 26px 0 34px;
padding: 18px 20px;
background: var(--sp-tint);
border: 1px solid var(--sp-line);
border-radius: 10px;
}
.sp-toc__title {
display: flex;
align-items: center;
gap: 8px;
margin: 0 0 10px;
font-size: 15px;
font-weight: 800;
color: var(--sp-ink);
letter-spacing: 0.04em;
}
.sp-toc__title::before {
content: "";
width: 4px;
height: 17px;
border-radius: 2px;
background: var(--sp-accent);
}
.sp-toc ol {
margin: 0;
padding-left: 1.3em;
font-size: 14.5px;
line-height: 1.9;
}
.sp-toc ol ol {
margin: 4px 0 6px;
font-size: 13.5px;
color: var(--sp-muted);
}
.sp-toc li {
margin-bottom: 2px;
}
.sp-toc a {
color: var(--sp-body);
text-decoration: none;
}
.sp-toc a:hover {
color: var(--sp-link);
text-decoration: underline;
} body.single article.page-content-single h2[id],
body.single article.page-content-single h3[id] {
scroll-margin-top: 90px;
} @media (max-width: 767px) {
body.single article.page-content-single {
font-size: 16px;
line-height: 1.95;
padding: 4px 2px 20px;
}
body.single h1.title.single {
margin-bottom: 14px;
padding: 14px 0 14px;
}
body.single article.page-content-single > p:first-of-type,
body.single article.page-content-single > p:first-of-type + p {
font-size: 16.5px;
}
body.single article.page-content-single h2 {
margin: 34px 0 14px;
padding: 10px 12px;
}
}