/*
 * Article format (PM-8124). Values are the computed styles of the model pages,
 * measured at 390px and 1440px; rem of the models (10px) is written in px.
 * Only the brand colours (to the 総研 navy and greys) and the labels (to
 * Japanese) differ. Loaded only on html body.pm-af (inc/magazine-article-format.php).
 *
 * Explainer  .pm-af-explainer  explainer skeleton (header, TOC, body, cards,
 *            FAQ, supervisor and writer boxes, breadcrumb), definition and
 *            key takeaways, box after the summary, download box at the end
 * News       .pm-af-news       news page, explainer card
 */

html body.pm-af {
  /* model colours #23221e #706d65 #0071c1 #23221f(+aqua, category, speaker) #f8f7f6 #f2f1f0 #edebe8 #d6d3d0 #dddad8 */
  --af-text: #102538;
  --af-grey: #637387;
  --af-link: #285f8c;
  --af-accent: #102e46;
  --af-white: #fff;
  --af-g5: #f3f7fb;
  --af-g7: #e9eff5;
  --af-g9: #dde5ec;
  --af-border: #d6e0e8;
  --af-dot: #d6e0e8;
  --af-radius: 5px;
  --af-offset: clamp(80px, 10.101vw - 23.434px, 120px);
  --af-list-gap: clamp(20px, 5.051vw - 31.722px, 40px);
  --af-space-01: clamp(60px, 5.742vw + 38.468px, 120px);
  --af-space-02: clamp(40px, 3.828vw + 25.645px, 80px);
  --af-space-03: clamp(30px, 2.871vw + 19.234px, 60px);
  --af-pad: clamp(20px, .957vw + 16.411px, 30px);
  --af-pad-r: clamp(50px, 1.914vw + 42.823px, 70px);
  --af-font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", YuGothic, "Yu Gothic", "Hiragino Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
}
@media screen and (max-width: 767px) {
  html body.pm-af { --af-offset: clamp(20px, 5.102vw + .867px, 40px); }
}

/* ---------------------------------------------------------------- page frame */

html body.pm-af-explainer { background-color: var(--af-g5) !important; }
html body.pm-af #content,
html body.pm-af #content-in,
html body.pm-af #main,
html body.pm-af .main { background: transparent !important; border: 0 !important; box-shadow: none !important; }
html body.pm-af #content { padding: 0 !important; margin: 0 !important; }
html body.pm-af #main { padding: 0 !important; margin: 0 !important; }
html body.pm-af article.pm-af-article { margin: 0 !important; padding: 0 !important; }
html body.pm-af .pm-af-article .entry-content { margin: 0 !important; }

/* container 1420 / offset, inner (+list-gap each side) grid 2/3 + 1/3,
   header on top. #content-in is container and inner in one box. */
html body.pm-af-explainer #content-in {
  box-sizing: border-box;
  max-width: 1420px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 calc(var(--af-offset) - var(--af-list-gap)) var(--af-space-01) !important;
  display: grid !important;
  grid-template-columns: 66.6667% 33.3333%;
  gap: normal !important;
  font-family: var(--af-font); color: var(--af-text); font-size: 16px; line-height: 2; letter-spacing: normal;
}
html body.pm-af-explainer #content-in > * { min-width: 0; }
html body.pm-af-explainer #main,
html body.pm-af-explainer article.pm-af-article { display: contents !important; }
html body.pm-af-explainer .pm-af-eh { grid-column: 1 / -1; grid-row: 1; min-width: 0; padding: var(--af-space-02) var(--af-list-gap) 0; margin: 0; }
html body.pm-af-explainer .pm-af-body { grid-column: 1; grid-row: 2; min-width: 0; margin: var(--af-space-02) 0 0; padding-inline: var(--af-list-gap); }
html body.pm-af-explainer #sidebar { grid-column: 2; grid-row: 2; min-width: 0; margin: var(--af-space-02) 0 0 !important; padding: 0 var(--af-list-gap) !important; width: auto !important; float: none !important; display: block !important; }
html body.pm-af-explainer #main > :not(article),
html body.pm-af-explainer .pm-af-crumbs--foot { grid-column: 1 / -1; }
@media screen and (max-width: 991px) {
  html body.pm-af-explainer #content-in { grid-template-columns: minmax(0, 1fr); padding-inline: var(--af-offset) !important; }
  html body.pm-af-explainer .pm-af-eh { padding: var(--af-space-02) 0 0; }
  html body.pm-af-explainer .pm-af-body { padding-inline: 0; }
  html body.pm-af-explainer #sidebar { display: none !important; }
}
@media screen and (max-width: 767px) {
  html body.pm-af-explainer #content-in { padding-bottom: 0 !important; }
  html body.pm-af-explainer .pm-af-body { margin-inline: calc(var(--af-offset) * -1); }
}

/* -------------------------------------------------------------- explainer header */

html body.pm-af-explainer .pm-af-eh,
html body.pm-af-explainer .pm-af-body,
html body.pm-af-explainer .pm-af-crumbs--foot { font-family: var(--af-font); color: var(--af-text); font-size: 16px; line-height: 2; letter-spacing: normal; }
html body.pm-af-explainer .pm-af-eh__in { margin: 0; padding: 0; }

/* category and sub-category pills */
html body.pm-af .pm-af-tags { display: flex; flex-wrap: wrap; gap: 0 10px; margin: 0; padding: 0; list-style: none; }
html body.pm-af .pm-af-tags li { margin: 0; padding: 0; list-style: none; }
html body.pm-af .pm-af-tags li::before { content: none; }
html body.pm-af .pm-af-tags__cat { isolation: isolate; font-size: 16px; line-height: 32px; display: flex; align-items: center; padding-right: 15px; position: relative; overflow: hidden; color: var(--af-text); text-decoration: none; }
html body.pm-af .pm-af-tags__cat span { z-index: 0; display: flex; align-items: center; gap: 0 5px; border: 1px solid var(--af-accent); border-right: 0; background-color: var(--af-white); border-radius: 3px 0 0 3px; padding: 8px 0 8px 8px; font-size: 11px; font-weight: 700; line-height: 12px; transition: border-color .12s, color .12s, background-color .12s; }
html body.pm-af .pm-af-tags__cat span::before { content: ""; background-color: var(--af-accent); border-radius: 50%; width: 6px; height: 6px; }
html body.pm-af .pm-af-tags__cat::after { z-index: -1; content: ""; position: absolute; right: 15px; flex: 0 0 25px; width: 25px; height: 25px; margin-right: -12px; border: 1px solid var(--af-accent); background-color: var(--af-white); border-radius: 7px; transform-origin: 50%; transform: rotate(45deg); transition: border-color .12s, background-color .12s; }
html body.pm-af .pm-af-tags__sub { display: flex; align-items: center; gap: 0 5px; white-space: nowrap; border: 1px solid var(--af-accent); background-color: var(--af-white); border-radius: 999px; padding: 8px 14px 8px 9px; font-size: 11px; font-weight: 700; line-height: 12px; color: var(--af-text); text-decoration: none; transition: color .12s, background-color .12s; }
html body.pm-af .pm-af-tags__sub::before { content: ""; background-color: var(--af-accent); border-radius: 50%; width: 6px; height: 6px; }
@media (hover: hover) {
  html body.pm-af .pm-af-tags__cat:hover span { border-color: var(--af-accent); background-color: var(--af-accent); color: var(--af-white); }
  html body.pm-af .pm-af-tags__cat:hover::after { border-color: var(--af-accent); background-color: var(--af-accent); }
  html body.pm-af .pm-af-tags__cat:hover span::before { background-color: var(--af-white); }
  html body.pm-af .pm-af-tags__sub:hover { background-color: var(--af-accent); color: var(--af-white); }
}

/* title */
html body.pm-af-explainer .pm-af-eh .entry-title {
  font-family: var(--af-font) !important;
  letter-spacing: .05em !important;
  margin: 40px 0 0 !important;
  padding: 0 !important;
  font-size: clamp(22px, .574vw + 19.848px, 28px) !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  color: var(--af-text) !important;
  border: 0 !important;
  background: none !important;
}
html body.pm-af-explainer .pm-af-eh .pm-af-tags + .entry-title { margin-top: 40px !important; }
html body.pm-af-explainer .pm-af-eh .entry-title:first-child { margin-top: 0 !important; }

/* byline: one row per person (writer, then supervisor) */
html body.pm-af .pm-af-eh__by { margin-top: 20px; display: block; }
html body.pm-af .pm-af-by + .pm-af-by { margin-top: 10px; }
html body.pm-af .pm-af-by { width: max-content; max-width: 100%; color: var(--af-link); display: flex; align-items: center; gap: 0 10px; font-size: 11px; font-weight: 700; line-height: 1.8; text-decoration: none; }
@media (hover: hover) { html body.pm-af .pm-af-by:hover { text-decoration: underline; } }
html body.pm-af .pm-af-by__img { border-radius: 50%; flex: 0 0 30px; width: 30px; height: 30px; position: relative; overflow: hidden; display: block; }
html body.pm-af .pm-af-by__img img,
html body.pm-af .pm-af-by__img svg { display: block; width: 100%; height: 100%; object-fit: cover; }
html body.pm-af .pm-af-by__role { color: var(--af-grey); font-weight: 400; margin-right: .5em; }

/* dates */
html body.pm-af .pm-af-date { color: var(--af-grey); letter-spacing: .02em; display: flex; align-items: center; gap: 0 10px; margin: 20px 0 0; padding: 0; font-size: 13px; line-height: 1.2; }
html body.pm-af .pm-af-date dt { font-weight: 700; margin: 0; padding: 0; }
html body.pm-af .pm-af-date dt:not(:first-child) { display: flex; align-items: center; gap: 0 10px; }
html body.pm-af .pm-af-date dt:not(:first-child)::before { content: "／"; }
html body.pm-af .pm-af-date dd { font-weight: 600; margin: 0; padding: 0; }

/* ------------------------------------------------------------ explainer body */

/* body container (+ the footer padding) */
html body.pm-af-explainer .pm-af-body .entry-content {
  border-radius: var(--af-radius);
  background-color: var(--af-white);
  word-wrap: break-word;
  padding: clamp(40px, 1.914vw + 32.823px, 60px) clamp(30px, .957vw + 26.411px, 40px) 0 !important;
}
/* the white panel closes 40px under the body */
html body.pm-af-explainer .pm-af-body .entry-content::after { content: ""; display: block; clear: both; height: 40px; }
@media screen and (max-width: 767px) {
  html body.pm-af-explainer .pm-af-body .entry-content { padding: clamp(40px, 1.914vw + 32.823px, 60px) var(--af-offset) 0 !important; border-radius: 0; }
}
html body.pm-af-explainer .pm-af-body .entry-content > * { margin-top: 0; margin-bottom: 0 !important; }
html body.pm-af-explainer .pm-af-body .entry-content > * + * { margin-top: 40px !important; }
/* text after text is 30px */
html body.pm-af-explainer .pm-af-body .entry-content > :is(p, ul, ol:not(.pm-af-faq), .wp-block-table) + :is(p, ul, ol:not(.pm-af-faq), .wp-block-table) { margin-top: 30px !important; }
html body.pm-af-explainer .pm-af-body .entry-content > script + *,
html body.pm-af-explainer .pm-af-body .entry-content > style + * { margin-top: 0 !important; }
html body.pm-af-explainer .pm-af-body .entry-content > script:first-child + * { margin-top: 0 !important; }

/* paragraph */
html body.pm-af-explainer .pm-af-body .entry-content,
html body.pm-af-explainer .pm-af-body .entry-content :is(p, li, td, th, h2, h3, h4, dt, dd, figcaption) { font-family: var(--af-font) !important; }
html body.pm-af-explainer .pm-af-body .entry-content :is(p, li, td) :is(strong, b) { text-decoration: none !important; background: none !important; font-weight: 700; }
html body.pm-af-explainer .pm-af-body .entry-content :where(p) { font-size: 16px !important; line-height: 2 !important; letter-spacing: 0 !important; color: var(--af-text); margin-bottom: 0 !important; }
html body.pm-af-explainer .pm-af-body .entry-content > p[data-pm-af-note] { font-size: 12px !important; line-height: 1.8 !important; }
html body.pm-af-explainer .pm-af-body .entry-content a { color: var(--af-link); text-decoration: underline; text-decoration-thickness: 1px; }
html body.pm-af-explainer .pm-af-body .entry-content strong,
html body.pm-af-explainer .pm-af-body .entry-content b { font-weight: 700; }
html body.pm-af-explainer .pm-af-body .entry-content mark,
html body.pm-af-explainer .pm-af-body .entry-content .marker,
html body.pm-af-explainer .pm-af-body .entry-content .marker-under { background-image: linear-gradient(#0000 calc(100% - .625em), #d6e4f5 calc(100% - .625em)); background-color: transparent; }

/* headings */
html body.pm-af-explainer .pm-af-body .entry-content > h2 {
  font-family: var(--af-font) !important;
  scroll-margin-top: 100px;
  font-size: clamp(20px, .383vw + 18.564px, 24px) !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
  color: var(--af-text) !important;
  border: 0 !important;
  border-bottom: 2px solid var(--af-g9) !important;
  border-radius: 0 !important;
  padding: 0 0 19px !important;
  background: none !important;
  box-shadow: none !important;
}
html body.pm-af-explainer .pm-af-body .entry-content > h2::before,
html body.pm-af-explainer .pm-af-body .entry-content > h2::after { content: none !important; }
@media screen and (max-width: 767px) { html body.pm-af-explainer .pm-af-body .entry-content > h2 { scroll-margin-top: 80px; } }

/* text block container */
html body.pm-af-explainer .pm-af-body .entry-content > h3 {
  font-family: var(--af-font) !important;
  scroll-margin-top: 100px;
  position: relative;
  padding: 0 0 0 14px !important;
  font-size: clamp(18px, .191vw + 17.284px, 20px) !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
  color: var(--af-text) !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
html body.pm-af-explainer .pm-af-body .entry-content > h3::after { content: none !important; }
html body.pm-af-explainer .pm-af-body .entry-content > h3::before { content: "" !important; position: absolute; top: 0; left: 0; width: 4px; height: 100%; border-radius: 2px; background-color: var(--af-accent) !important; border: 0 !important; transform: none !important; }
html body.pm-af-explainer .pm-af-body .entry-content > h4 { font-family: var(--af-font) !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1.6 !important; color: var(--af-text) !important; border: 0 !important; background: none !important; padding: 0 !important; }
html body.pm-af-explainer .pm-af-body .entry-content > * + h4 { margin-top: 30px !important; }

/* lists */
html body.pm-af-explainer .pm-af-body .entry-content > ul,
html body.pm-af-explainer .pm-af-body .entry-content > ol:not(.pm-af-faq) { margin: 0; padding: 0 !important; list-style: none !important; background: none; border: 0; }
html body.pm-af-explainer .pm-af-body .entry-content > ul > li,
html body.pm-af-explainer .pm-af-body .entry-content > ol:not(.pm-af-faq) > li { padding-left: 1.5em !important; position: relative; margin: 0 !important; font-size: 16px; line-height: 2; list-style: none !important; }
html body.pm-af-explainer .pm-af-body .entry-content > ul > li::before { content: "" !important; position: absolute; top: .875em; left: .625em; width: .25em; height: .25em; border-radius: 50%; background-color: var(--af-accent) !important; border: 0 !important; margin: 0 !important; transform: none !important; }
html body.pm-af-explainer .pm-af-body .entry-content > ol:not(.pm-af-faq) { counter-reset: pm-af-ol; }
html body.pm-af-explainer .pm-af-body .entry-content > ol:not(.pm-af-faq) > li { counter-increment: pm-af-ol; }
html body.pm-af-explainer .pm-af-body .entry-content > ol:not(.pm-af-faq) > li::before { content: counter(pm-af-ol) "." !important; position: absolute; top: 0; left: 0; width: 1.5em; height: auto; text-align: left; font-weight: 700; color: var(--af-text) !important; background: none !important; border: 0 !important; border-radius: 0 !important; font-size: inherit !important; line-height: inherit !important; margin: 0 !important; }
html body.pm-af-explainer .pm-af-body .entry-content li ul,
html body.pm-af-explainer .pm-af-body .entry-content li ol { margin-top: 0 !important; }

/* table container. The ScrollHint overlay is off on these pages;
   article-format.js sets -start/-end for the edge shadows. */
html body.pm-af .pm-af-body .entry-content .wp-block-table,
html body.pm-af .pm-af-body .entry-content .pm-af-table { position: relative; margin-left: 0; margin-right: 0; overflow: visible; }
html body.pm-af .pm-af-body .entry-content .wp-block-table::before,
html body.pm-af .pm-af-body .entry-content .wp-block-table::after { content: ""; opacity: 0; pointer-events: none; width: 40px; height: 100%; transition: opacity .1s; position: absolute; top: 0; z-index: 1; }
html body.pm-af .pm-af-body .entry-content .wp-block-table::before { left: 0; background: linear-gradient(90deg, #1025381a 0%, #10253800 100%); }
html body.pm-af .pm-af-body .entry-content .wp-block-table::after { right: 0; background: linear-gradient(270deg, #1025381a 0%, #10253800 100%); }
html body.pm-af .pm-af-body .entry-content .wp-block-table.-start::before,
html body.pm-af .pm-af-body .entry-content .wp-block-table.-end::after { opacity: 1; }
html body.pm-af .pm-af-body .entry-content .wp-block-table .table-responsive,
html body.pm-af .pm-af-body .entry-content .wp-block-table .scrollable-table { width: fit-content; max-width: 100%; overflow: auto; margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
html body.pm-af .pm-af-body .entry-content .wp-block-table .table-responsive .scrollable-table { width: auto; overflow: visible; }
html body.pm-af .scroll-hint-icon-wrap { display: none !important; }
html body.pm-af .pm-af-body .entry-content .wp-block-table table {
  border: 1px solid var(--af-g9) !important;
  border-collapse: collapse !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 2 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  table-layout: auto !important;
  background: var(--af-white) !important;
}
html body.pm-af .pm-af-body .entry-content .wp-block-table th,
html body.pm-af .pm-af-body .entry-content .wp-block-table td {
  border: 1px solid var(--af-g9) !important;
  text-align: left !important;
  vertical-align: top;
  min-width: 200px;
  padding: 15px !important;
  font-size: 14px !important;
  line-height: 2 !important;
  color: var(--af-text) !important;
  white-space: normal !important;
  word-break: normal;
  overflow-wrap: anywhere;
  position: static !important;
}
html body.pm-af .pm-af-body .entry-content .wp-block-table th,
html body.pm-af .pm-af-body .entry-content .wp-block-table thead td { background-color: var(--af-g5) !important; font-weight: 700 !important; }
html body.pm-af .pm-af-body .entry-content .wp-block-table td { background-color: var(--af-white) !important; font-weight: 400; }
html body.pm-af .pm-af-body .entry-content .wp-block-table tr { background: none !important; }
html body.pm-af .pm-af-body .entry-content .wp-block-table th p,
html body.pm-af .pm-af-body .entry-content .wp-block-table td p { font-size: 14px !important; line-height: 2 !important; margin: 0 !important; }
html body.pm-af .pm-af-body .entry-content .wp-block-table figcaption { font-size: 12px; line-height: 1.8; color: var(--af-grey); margin-top: 10px; text-align: left; }
html body.pm-af .pm-af-body .entry-content .wp-block-table th::before,
html body.pm-af .pm-af-body .entry-content .wp-block-table td::before { content: none !important; }

/* figures inside the body */
html body.pm-af-explainer .pm-af-body .entry-content > figure:not(.wp-block-table):not(.pm-af-card) { margin-left: 0; margin-right: 0; }
html body.pm-af-explainer .pm-af-body .entry-content img { max-width: 100%; height: auto; }

/* ---------------------------------------- definition, key takeaways */

/* definition */
html body.pm-af .pm-af-def { margin: 0 0 28px !important; padding: 16px; border: 1px solid rgba(16, 37, 56, .15); border-radius: 5px; color: var(--af-text); }
html body.pm-af .pm-af-def .pm-af-def__label { margin: 0 0 8px !important; font-size: 16px !important; line-height: 24px !important; font-weight: 600; letter-spacing: 0 !important; }
html body.pm-af .pm-af-def .pm-af-def__text p { margin: 0 !important; font-size: 18px !important; line-height: 28px !important; }
html body.pm-af-explainer .pm-af-body .entry-content > .pm-af-def + .pm-af-kt { margin-top: 28px !important; }

/* key takeaways */
html body.pm-af .pm-af-kt { position: relative; margin: 16px 0 32px !important; padding: 0; font-size: 18px; line-height: 27px; color: var(--af-text); }
html body.pm-af-explainer .pm-af-body .entry-content > .pm-af-kt:first-child,
html body.pm-af-explainer .pm-af-body .entry-content > .pm-af-def:first-child,
html body.pm-af-explainer .pm-af-body .entry-content > :first-child { margin-top: 0 !important; }
html body.pm-af .pm-af-kt::before { content: ""; position: absolute; top: 0; left: 0; width: 224px; height: 52px; border-top: 2px solid var(--af-accent); border-left: 2px solid var(--af-accent); pointer-events: none; box-sizing: border-box; }
html body.pm-af .pm-af-kt .pm-af-kt__h { margin: 0 !important; padding: 25px 20px 9px; font-size: 14px !important; font-weight: 600; line-height: 19.6px !important; letter-spacing: 1px !important; }
html body.pm-af .pm-af-kt__body { padding: 0 20px 20px; }
html body.pm-af .pm-af-kt__body ul { margin: 0 !important; padding: 0 0 0 24px !important; list-style: disc !important; }
html body.pm-af .pm-af-kt__body ul > li { list-style: disc !important; padding: 0 0 6px !important; margin: 0 !important; font-size: 18px !important; line-height: 27px !important; }
html body.pm-af .pm-af-kt__body ul > li::before { content: none !important; }
html body.pm-af .pm-af-kt__body ul > li::marker { color: var(--af-text); }
html body.pm-af .pm-af-kt__body p { font-size: 18px !important; line-height: 27px !important; margin: 0 !important; }

/* --------------------------------------------------------- top box */

html body.pm-af .pm-af-offer { margin: 40px 0 !important; }
html body.pm-af .pm-af-offer .a-prime {
  display: grid; margin: 0 !important; padding: 30px !important; border: 1px solid var(--af-border) !important; border-radius: 12px !important;
  background: var(--af-white) !important; box-shadow: none !important; color: var(--af-text); font-size: 15px; line-height: 22.5px; text-align: left;
}
html body.pm-af .pm-af-offer .a-prime::before,
html body.pm-af .pm-af-offer .a-prime::after { content: none !important; display: none !important; }
html body.pm-af .pm-af-offer .a-prime .a-prime-name { order: 0; margin: 0 0 4px !important; padding: 0 !important; font-size: 15px !important; line-height: 22.5px !important; font-weight: 400 !important; color: var(--af-text) !important; letter-spacing: 0 !important; background: none !important; border: 0 !important; }
html body.pm-af .pm-af-offer .a-prime .a-prime-name::before { content: none !important; }
html body.pm-af .pm-af-offer .a-prime .a-prime-title { margin: 0 0 10px !important; padding: 0 !important; font-family: var(--af-font) !important; font-size: 24px !important; font-weight: 700 !important; line-height: 33.6px !important; color: var(--af-text) !important; letter-spacing: 0 !important; border: 0 !important; background: none !important; }
html body.pm-af .pm-af-offer .a-prime p:not(.a-prime-name):not(.a-prime-title) { margin: 0 0 20px !important; font-size: 15px !important; line-height: 21.15px !important; color: var(--af-text) !important; }
html body.pm-af .pm-af-offer .a-prime .m7-button {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; justify-self: start; width: auto !important; min-width: 0 !important;
  height: 44px; margin: 0 !important; padding: 0 20px !important; border: 1px solid transparent !important; border-radius: 4px !important;
  background: var(--af-accent) !important; color: var(--af-white) !important; font-size: 15px !important; font-weight: 600 !important; line-height: 20px !important; text-decoration: none !important; box-shadow: none !important;
}
html body.pm-af .pm-af-offer .pm-series-line { margin: 0 !important; padding: 30px !important; border: 1px solid var(--af-border); border-radius: 12px; font-size: 15px !important; line-height: 22.5px !important; color: var(--af-text) !important; background: none !important; }

/* ---------------------------------------------------- main visual ---------- */

html body.pm-af-explainer .pm-af-body .entry-content > .pm-af-mv { margin-top: 40px !important; }
html body.pm-af .pm-af-mv { border-radius: var(--af-radius); isolation: isolate; position: relative; overflow: hidden; }
html body.pm-af .pm-af-mv .eye-catch-wrap,
html body.pm-af .pm-af-mv .eye-catch,
html body.pm-af .pm-af-mv figure { margin: 0 !important; padding: 0 !important; border: 0 !important; display: block; max-width: none; }
html body.pm-af .pm-af-mv img { width: 100% !important; height: auto !important; display: block; border-radius: 0 !important; }
@media screen and (max-width: 767px) {
  html body.pm-af .pm-af-mv { border-radius: 0; margin-inline: calc(var(--af-offset) * -1); }
}

/* ---------------------------------------------------------- TOC ---------- */

html body.pm-af .pm-af-toc { border-radius: var(--af-radius) !important; overflow: hidden; margin-left: 0 !important; margin-right: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; width: auto !important; display: block !important; font-size: 16px; line-height: 2; box-shadow: none !important; }
html body.pm-af .pm-af-toc__sum { list-style: none; border-radius: var(--af-radius) var(--af-radius) 0 0; background-color: var(--af-g7); cursor: pointer; padding: 20px var(--af-pad-r) 20px var(--af-pad); font-weight: 700; transition: color .12s; position: relative; color: var(--af-text); font-size: 16px; line-height: 2; }
html body.pm-af .pm-af-toc__sum::-webkit-details-marker { display: none; }
html body.pm-af .pm-af-toc:not([open]) .pm-af-toc__sum { border-radius: var(--af-radius); }
@media (hover: hover) { html body.pm-af .pm-af-toc__sum:hover { color: var(--af-link); } }
html body.pm-af .pm-af-caret { width: 10px; height: 10px; position: absolute; top: calc(50% - 5px); right: calc(var(--af-pad-r) / 2 - 5px); fill: var(--af-accent); }
html body.pm-af .pm-af-toc[open] .pm-af-toc__sum .pm-af-caret,
html body.pm-af .pm-af-faq__details[open] .pm-af-caret { transform: rotate(180deg); }
html body.pm-af .pm-af-toc .pm-af-toc__body.toc-content { background-color: var(--af-g5); padding: 35px var(--af-pad) !important; margin: 0 !important; border: 0 !important; max-height: none !important; overflow: visible !important; }
html body.pm-af .pm-af-toc .toc-list { font-size: 14px !important; font-weight: 700; line-height: 2 !important; margin: 0 !important; padding: 0 !important; list-style: none !important; counter-reset: none; }
html body.pm-af .pm-af-toc .toc-list > li { margin: 0 !important; padding: 0 !important; list-style: none !important; font-size: 14px !important; line-height: 2 !important; }
html body.pm-af .pm-af-toc .toc-list > li + li { margin-top: 20px !important; }
html body.pm-af .pm-af-toc .toc-list li::before,
html body.pm-af .pm-af-toc .toc-list li::after { content: none; }
html body.pm-af .pm-af-toc .toc-list a { color: var(--af-link) !important; text-decoration: underline !important; font-weight: inherit; background: none !important; padding: 0 !important; }
html body.pm-af .pm-af-toc .toc-list ol,
html body.pm-af .pm-af-toc .toc-list ul { margin: 10px 0 0 !important; padding: 0 !important; border: 0 !important; font-weight: 400; list-style: none !important; }
html body.pm-af .pm-af-toc .toc-list ol > li,
html body.pm-af .pm-af-toc .toc-list ul > li { padding: 0 0 0 21px !important; margin: 0 !important; position: relative; list-style: none !important; font-weight: 400; }
html body.pm-af .pm-af-toc .toc-list ol > li::before,
html body.pm-af .pm-af-toc .toc-list ul > li::before { content: "" !important; background-color: var(--af-link); border-radius: 50%; width: 3px; height: 3px; position: absolute; top: 12px; left: 8px; border: 0; margin: 0; }
html body.pm-af .pm-af-toc .pm-toc-more { display: none !important; }

/* --------------------------------- related card, FAQ ------------- */

html body.pm-af .pm-af-card { isolation: isolate; margin-left: 0 !important; margin-right: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
html body.pm-af .pm-af-card .pm-af-card__label { z-index: 1; position: relative; width: max-content; margin: 0 0 -10px 10px !important; padding: 8px 14px !important; border: 1px solid var(--af-accent); background-color: var(--af-white); border-radius: 999px; font-size: 11px !important; font-weight: 700; line-height: 1.1 !important; color: var(--af-text); text-align: left; }
html body.pm-af .pm-af-card__items { isolation: isolate; }
html body.pm-af .pm-af-card__inner { border: 1px solid var(--af-g9); border-radius: var(--af-radius); display: flex; align-items: flex-start; padding-block: 19px; position: relative; transition: border .12s; color: var(--af-text) !important; text-decoration: none !important; }
@media (hover: hover) {
  html body.pm-af .pm-af-card__inner:hover { z-index: 1; border-color: var(--af-accent); }
  html body.pm-af .pm-af-card__inner:hover .pm-af-card__title { color: var(--af-link); }
}
html body.pm-af .pm-af-card__image { border-radius: var(--af-radius); flex: 0 0 calc(33.3333% - 26.6667px); margin-left: 20px; position: relative; overflow: hidden; }
html body.pm-af .pm-af-card__image img { width: 100%; height: auto; display: block; }
html body.pm-af .pm-af-card__body { flex: auto; padding: 10px var(--af-pad); }
html body.pm-af .pm-af-card .pm-af-card__title { margin: 0 !important; font-size: 14px !important; font-weight: 700; line-height: 2 !important; transition: color .12s; }
html body.pm-af .pm-af-card__date { color: var(--af-grey); margin-top: 10px; font-size: 11px; font-weight: 600; line-height: 1.8; }
@media screen and (max-width: 575px) {
  html body.pm-af .pm-af-card__inner { padding: 19px calc(var(--af-pad) - 1px); display: block; }
  html body.pm-af .pm-af-card__image { margin-left: 0; }
  html body.pm-af .pm-af-card__body { margin-top: 20px; padding: 0 0 5px; }
}

html body.pm-af .pm-af-body .entry-content ol.pm-af-faq { border-radius: var(--af-radius); background-color: var(--af-g5); overflow: hidden; margin-left: 0; margin-right: 0; padding: 0 !important; list-style: none !important; counter-reset: none; }
html body.pm-af .pm-af-body .entry-content .pm-af-faq__item { margin: 0 !important; padding: 0 !important; list-style: none !important; font-size: 16px; line-height: 2; }
html body.pm-af .pm-af-body .entry-content .pm-af-faq__item::before { content: none !important; }
html body.pm-af .pm-af-faq__item:not(:first-child) { border-top: 1px solid var(--af-g9); }
html body.pm-af .pm-af-faq__q { list-style: none; cursor: pointer; padding: 20px var(--af-pad-r) 20px var(--af-pad); font-weight: 700; transition: color .12s; position: relative; color: var(--af-text); }
html body.pm-af .pm-af-faq__q::-webkit-details-marker { display: none; }
@media (hover: hover) { html body.pm-af .pm-af-faq__q:hover { color: var(--af-link); } }
html body.pm-af .pm-af-faq__item:first-child .pm-af-faq__q { border-radius: var(--af-radius) var(--af-radius) 0 0; }
html body.pm-af .pm-af-faq__a { border-top: 1px solid var(--af-g9); padding: 35px var(--af-pad); }
html body.pm-af .pm-af-faq__a > * + * { margin-top: 30px !important; }
html body.pm-af .pm-af-faq__a p { margin: 0 !important; }

/* ----------------------------------------- supervisor, writer */

html body.pm-af .pm-af-sv { margin-left: 0; margin-right: 0; }
html body.pm-af .pm-af-sv__speaker { border-radius: var(--af-radius); box-shadow: inset 0 0 0 1px var(--af-g9); display: grid; grid-template: "avatar name" max-content "avatar job" max-content "profile profile" 1fr / max-content 1fr; padding: 35px var(--af-pad); position: relative; overflow: hidden; }
html body.pm-af .pm-af-sv__speaker::before { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 0; border-style: solid; border-width: 15px 15px 0 0; border-color: var(--af-accent) #0000 #0000 #0000; }
html body.pm-af .pm-af-sv__avatar { grid-area: avatar; display: block; border-radius: 50%; width: 60px; height: 60px; margin-right: clamp(19px, .096vw + 18.64px, 20px); overflow: hidden; }
html body.pm-af .pm-af-sv__avatar img,
html body.pm-af .pm-af-sv__avatar svg { width: 60px; height: 60px; display: block; object-fit: cover; }
html body.pm-af .pm-af-sv__name { grid-area: name; display: flex; align-items: center; gap: 0 10px; }
html body.pm-af .pm-af-sv__role { border: 1px solid var(--af-accent); border-radius: 999px; flex: none; padding: 8px 15px; font-size: 11px; font-weight: 700; line-height: 1.1; }
html body.pm-af .pm-af-sv__nm { font-size: 14px; font-weight: 700; }
html body.pm-af .pm-af-body .pm-af-sv__nm a { color: inherit; text-decoration: none; }
html body.pm-af .pm-af-sv .pm-af-sv__job { grid-area: job; color: var(--af-grey); margin: 5px 0 0 !important; font-size: 12px !important; line-height: 1.8 !important; }
html body.pm-af .pm-af-sv__profile { grid-area: profile; margin-top: 20px; }
html body.pm-af .pm-af-sv__profile p { font-size: 12px !important; line-height: 1.8 !important; margin: 0 !important; }
@media screen and (max-width: 767px) {
  html body.pm-af .pm-af-sv__name { display: block; }
  html body.pm-af .pm-af-sv__role { width: max-content; margin-bottom: 10px; display: block; }
}

html body.pm-af .pm-af-wr { border-radius: var(--af-radius); background-color: var(--af-white); margin-top: 40px; padding: clamp(35px, .478vw + 33.208px, 40px) clamp(30px, .957vw + 26.411px, 40px); font-family: var(--af-font); color: var(--af-text); font-size: 16px; line-height: 2; }
@media screen and (max-width: 767px) { html body.pm-af .pm-af-wr { padding: clamp(35px, .478vw + 33.208px, 40px) var(--af-offset); border-radius: 0; } }
html body.pm-af .pm-af-wr__inner { display: grid; grid-template: "img heading" max-content "img name" max-content "img job" max-content "body body" 1fr / clamp(60px, 1.914vw + 52.823px, 80px) 1fr; align-items: start; gap: 0 clamp(19px, .096vw + 18.64px, 20px); }
html body.pm-af .pm-af-wr .pm-af-wr__h { grid-area: heading; color: var(--af-grey); margin: 0 !important; font-size: 11px !important; font-weight: 700; line-height: 1.8 !important; }
html body.pm-af .pm-af-wr__img { grid-area: img; display: block; border-radius: 50%; width: clamp(60px, 1.914vw + 52.823px, 80px); height: clamp(60px, 1.914vw + 52.823px, 80px); position: relative; overflow: hidden; }
html body.pm-af .pm-af-wr__img img,
html body.pm-af .pm-af-wr__img svg { width: 100%; height: 100%; display: block; object-fit: cover; }
html body.pm-af .pm-af-wr__name { grid-area: name; font-weight: 700; }
html body.pm-af .pm-af-wr .pm-af-wr__job { grid-area: job; color: var(--af-grey); margin: 5px 0 0 !important; font-size: 12px !important; line-height: 1.8 !important; }
html body.pm-af .pm-af-wr__body { grid-area: body; margin-top: 20px; font-size: 12px; line-height: 1.8; }
html body.pm-af .pm-af-wr__body p { font-size: 12px !important; line-height: 1.8 !important; margin: 0 !important; }
html body.pm-af .pm-af-wr__body p + p { margin-top: 20px !important; }
html body.pm-af .pm-af-wr__body a { color: var(--af-link); text-decoration: underline; }

/* --------------------------------------------------- download box at the end */

html body.pm-af .pm-af-body .entry-content > .pm-af-dl {
  display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 0; margin-left: 0 !important; margin-right: 0 !important; margin-top: 32px !important;
  padding: 26px !important; border: 0 !important; border-radius: 0 !important; background: var(--af-g5) !important; box-shadow: none !important;
  color: var(--af-text); font-family: "Noto Sans JP", var(--af-font); font-size: 18px; line-height: 31.5px; text-align: left; max-width: none;
}
html body.pm-af .pm-af-body .entry-content > .pm-af-dl::before,
html body.pm-af .pm-af-body .entry-content > .pm-af-dl::after { content: none !important; display: none !important; }
html body.pm-af .pm-af-dl__content { min-width: 0; }
html body.pm-af .pm-af-dl .a-prime-name { margin: 0 0 8px !important; padding: 0 !important; font-size: 15px !important; font-weight: 400 !important; line-height: 22.5px !important; color: var(--af-text) !important; letter-spacing: 0 !important; background: none !important; border: 0 !important; }
html body.pm-af .pm-af-dl .a-prime-name::before { content: none !important; }
html body.pm-af .pm-af-dl .a-prime-title { margin: 0 !important; padding: 0 !important; font-family: "Noto Sans JP", var(--af-font) !important; font-size: 22px !important; font-weight: 700 !important; line-height: 34.1px !important; color: var(--af-text) !important; letter-spacing: 0 !important; border: 0 !important; background: none !important; }
html body.pm-af .pm-af-dl .pm-af-dl__content p:not(.a-prime-name):not(.a-prime-title) { margin: 16px 0 0 !important; font-size: 15px !important; line-height: 28.5px !important; color: var(--af-text) !important; }
html body.pm-af .pm-af-dl__form { margin-top: 24px; padding: 20px; background: var(--af-white); display: block; }
html body.pm-af .pm-af-dl__form .m7-button {
  display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100% !important; max-width: none !important; min-width: 0 !important; box-sizing: border-box;
  margin: 0 !important; padding: 14px 20px !important; border: 0 !important; border-radius: 4px !important; background: var(--af-accent) !important; color: var(--af-white) !important;
  font-size: 16px !important; font-weight: 700 !important; line-height: 1.5 !important; text-decoration: none !important; box-shadow: none !important;
}
html body.pm-af .pm-af-dl__form p { margin: 0 !important; font-size: 14px !important; line-height: 1.8 !important; text-align: center; }
html body.pm-af .pm-af-dl__form p a { color: var(--af-link) !important; }
@media screen and (min-width: 768px) {
  html body.pm-af .pm-af-body .entry-content > .pm-af-dl { margin-top: 40px !important; padding: 48px !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; align-items: start; }
  html body.pm-af .pm-af-dl .a-prime-title { font-size: 26px !important; line-height: 40.3px !important; }
  html body.pm-af .pm-af-dl__form { margin-top: 0; padding: 28px; }
}
html body.pm-af .pm-disclaimer,
html body.pm-af .pm-af-body .entry-content > .pm-disclaimer { font-size: 12px !important; line-height: 1.8 !important; }

/* ------------------------------------------------- breadcrumb (foot) ---------- */

html body.pm-af .pm-af-crumbs--foot { grid-column: 1 / -1; margin: var(--af-space-01) calc(50% - 50vw) 0; color: var(--af-white); background-color: var(--af-accent); overflow: hidden; font-family: var(--af-font); }
html body.pm-af .pm-af-crumbs--foot ol { max-width: 1420px; box-sizing: border-box; padding: clamp(20px, .957vw + 16.411px, 30px) var(--af-offset); margin: 0 auto; display: flex; list-style: none; overflow-x: auto; scrollbar-width: none; }
html body.pm-af .pm-af-crumbs--foot li { flex: none; display: flex; align-items: center; gap: 0 10px; padding-left: 10px; margin: 0; font-size: clamp(10px, .096vw + 9.64px, 11px); line-height: 1.8; list-style: none; }
html body.pm-af .pm-af-crumbs--foot li:first-child { padding-left: 0; }
html body.pm-af .pm-af-crumbs--foot li + li::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M2.5 1l3 3-3 3' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M2.5 1l3 3-3 3' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center/contain no-repeat; }
html body.pm-af .pm-af-crumbs--foot a,
html body.pm-af .pm-af-crumbs--foot span { color: var(--af-white); white-space: nowrap; padding-block: 10px; text-decoration: none; }
@media (hover: hover) { html body.pm-af .pm-af-crumbs--foot a:hover { text-decoration: underline; } }
@media screen and (max-width: 767px) {
  html body.pm-af .pm-af-crumbs--foot { margin: var(--af-space-01) calc(var(--af-offset) * -1) 0; }
}

/* ======================================================================= NEWS */

html body.pm-af-news { background-color: var(--af-white) !important; --nb-text: #102538; --nb-grey: #637387; --nb-line: #d6e0e8; --nb-dark: #102e46; --nb-white: #fff; }
html body.pm-af-news #content-in { box-sizing: border-box; max-width: 1020px !important; width: 100% !important; margin: 0 auto !important; padding: 0 16px !important; display: block !important; }
html body.pm-af-news #main { width: auto !important; max-width: 720px; float: none !important; margin: 0 auto !important; }
html body.pm-af-news #sidebar { display: none !important; }
html body.pm-af-news .pm-af-nh,
html body.pm-af-news .pm-af-body { color: var(--nb-text); }

/* breadcrumb */
html body.pm-af .pm-af-crumbs--news { margin: 0; padding: 24px 0 0; font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: .6px; }
html body.pm-af .pm-af-crumbs--news ol { display: block; margin: 0; padding: 0; list-style: none; }
html body.pm-af .pm-af-crumbs--news li { display: inline; margin: 0; padding: 0; list-style: none; }
html body.pm-af .pm-af-crumbs--news li + li::before { content: " / "; color: var(--nb-text); }
html body.pm-af .pm-af-crumbs--news li:first-child,
html body.pm-af .pm-af-crumbs--news li:first-child + li::before { display: none; }
html body.pm-af .pm-af-crumbs--news a { color: var(--nb-text); text-decoration: none; }
html body.pm-af .pm-af-crumbs--news li[aria-current] span { color: var(--af-grey); }

/* title, deck, byline */
html body.pm-af-news .pm-af-nh .entry-title { margin: 44px 0 0 !important; padding: 0 !important; font-family: inherit !important; font-size: 32px !important; font-weight: 500 !important; line-height: 40px !important; letter-spacing: 0 !important; color: var(--nb-text) !important; border: 0 !important; background: none !important; }
html body.pm-af-news .pm-af-nh .pm-af-nh__deck { margin: 12px 0 0 !important; font-size: 18px !important; font-weight: 500; line-height: 25.2px !important; }
html body.pm-af-news .pm-af-nh .pm-af-nh__by { margin: 0 !important; padding: 12px 0 0; font-size: 18px !important; font-weight: 500; line-height: 25.2px !important; }
html body.pm-af-news .pm-af-nh__by a { color: var(--nb-text); text-decoration: underline; }
html body.pm-af-news .pm-af-nh__meta { display: flex; flex-direction: column; padding: 0 0 12px; font-size: 16px; font-weight: 500; line-height: 24px; }
html body.pm-af-news .pm-af-nh__row { display: block; padding-top: 5px; font-size: 12px; font-weight: 500; line-height: 16.8px; text-transform: uppercase; }
html body.pm-af-news .pm-af-nh__cat { color: var(--nb-text); text-decoration: none; }
html body.pm-af-news .pm-af-nh__upd { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; font-weight: 500; line-height: 16px; }
html body.pm-af-news .pm-af-nh__share { display: flex; align-items: center; gap: 8px; padding: 0 0 12px; }
html body.pm-af-news .pm-af-share { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 8px; border: 0; border-radius: 4px; background: var(--nb-dark); color: var(--nb-white); font: inherit; font-size: 12px; font-weight: 500; line-height: 18px; cursor: pointer; }
html body.pm-af-news .pm-af-follow { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 4px; background: var(--nb-dark); color: var(--nb-white); }

/* QUICK TAKE */
html body.pm-af-news .pm-af-body .entry-content { padding: 0 !important; font-size: 18px; font-weight: 500; line-height: 29.25px; }
html body.pm-af-news .pm-af-body .entry-content .pm-af-qt { margin: 24px 0 0 !important; padding: 16px 0 !important; border-top: 1px solid var(--af-border); border-bottom: 1px solid var(--af-border); font-size: 16px; line-height: 24px; }
html body.pm-af-news .pm-af-body .entry-content .pm-af-qt .pm-af-qt__h { margin: 0 !important; font-size: 12.8px !important; font-weight: 500; line-height: 19.2px !important; }
html body.pm-af-news .pm-af-body .entry-content .pm-af-qt ul { margin: 0 !important; padding: 0 0 0 24px !important; list-style: disc !important; }
html body.pm-af-news .pm-af-body .entry-content .pm-af-qt li { margin: 0 !important; padding: 4px 16px !important; font-size: 16px !important; font-weight: 400; line-height: 22.4px !important; list-style: disc !important; }
html body.pm-af-news .pm-af-body .entry-content .pm-af-qt li::before { content: none !important; }
html body.pm-af-news .pm-af-body .entry-content .pm-af-qt li::marker { color: var(--nb-text); }
html body.pm-af-news .pm-af-body .entry-content > .pm-af-qt + * { margin-top: 24px !important; }

/* body */
html body.pm-af-news .pm-af-body .entry-content > * { margin-top: 0; }
html body.pm-af-news .pm-af-body .entry-content p { margin: 0 0 16px !important; font-size: 18px !important; font-weight: 500; line-height: 29.25px !important; letter-spacing: 0 !important; color: var(--nb-text); }
html body.pm-af-news .pm-af-body .entry-content > h2 { margin: 40px 0 12px !important; padding: 0 !important; font-family: inherit !important; font-size: 24px !important; font-weight: 500 !important; line-height: 39px !important; letter-spacing: 0 !important; color: var(--nb-text) !important; border: 0 !important; background: none !important; box-shadow: none !important; }
html body.pm-af-news .pm-af-body .entry-content > h2::before,
html body.pm-af-news .pm-af-body .entry-content > h2::after { content: none !important; }
html body.pm-af-news .pm-af-body .entry-content > h3 { margin: 32px 0 12px !important; padding: 0 !important; font-size: 20px !important; font-weight: 500 !important; line-height: 30px !important; color: var(--nb-text) !important; border: 0 !important; background: none !important; }
html body.pm-af-news .pm-af-body .entry-content > h3::before,
html body.pm-af-news .pm-af-body .entry-content > h3::after { content: none !important; }
html body.pm-af-news .pm-af-body .entry-content > ul,
html body.pm-af-news .pm-af-body .entry-content > ol { margin: 0 0 16px !important; padding: 0 0 0 24px !important; list-style: disc outside !important; }
html body.pm-af-news .pm-af-body .entry-content > ol { list-style: decimal outside !important; }
html body.pm-af-news .pm-af-body .entry-content > ul > li,
html body.pm-af-news .pm-af-body .entry-content > ol > li { margin: 0 0 8px !important; padding: 0 !important; font-size: 18px; font-weight: 500; line-height: 29.25px; list-style: inherit !important; }
html body.pm-af-news .pm-af-body .entry-content > ul > li::before,
html body.pm-af-news .pm-af-body .entry-content > ol > li::before { content: none !important; }
html body.pm-af-news .pm-af-body .entry-content a { color: var(--nb-text); text-decoration: underline; }

/* card to the explainer */
html body.pm-af-news .pm-af-body .entry-content .pm-af-explainer { margin: 25px 0 30px !important; padding: 18px 22px; background: var(--af-g5); border: 1px solid var(--af-border); border-radius: 6px; font-size: 15px; line-height: 24px; color: var(--nb-text); }
html body.pm-af-news .pm-af-body .entry-content .pm-af-explainer p { margin: 0 !important; font-size: 15px !important; font-weight: 400; line-height: 21px !important; color: var(--nb-text); }
html body.pm-af-news .pm-af-body .entry-content .pm-af-explainer p + p { margin-top: 12px !important; font-size: 14px !important; line-height: 22.4px !important; color: var(--af-grey); }
html body.pm-af-news .pm-af-explainer span { font-weight: 700; color: var(--nb-dark); }
html body.pm-af-news .pm-af-body .entry-content .pm-af-explainer a { font-weight: 700; color: var(--af-link); text-decoration: none; }
@media (hover: hover) { html body.pm-af-news .pm-af-body .entry-content .pm-af-explainer a:hover { text-decoration: underline; } }

/* end offer: same end box as the explainers, on the news page's white */
html body.pm-af-news .pm-af-body .entry-content > .pm-af-dl { margin-top: 40px !important; }
html body.pm-af-news .pm-af-body .entry-content .pm-af-dl p:not(.a-prime-name):not(.a-prime-title) { font-weight: 400; }

/* TAGS */
html body.pm-af .pm-af-ntags { margin: 40px 0 16px; padding: 24px 0 0; border-top: 1px solid var(--af-border); }
html body.pm-af .pm-af-ntags .pm-af-ntags__h { margin: 0 0 8px !important; font-size: 14px !important; font-weight: 400; line-height: 18.2px !important; }
html body.pm-af .pm-af-ntags ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
html body.pm-af .pm-af-ntags li { margin: 0; padding: 0; list-style: none; }
html body.pm-af .pm-af-ntags li::before { content: none; }
html body.pm-af .pm-af-ntags a { display: flex; padding: 8px 12px; border-radius: 4px; background: var(--nb-dark); color: var(--nb-white); text-decoration: none; }
html body.pm-af .pm-af-ntags a span { font-size: 12px; font-weight: 700; line-height: 16.8px; text-transform: uppercase; }

/* related */
html body.pm-af .pm-af-nrel { display: flex; flex-direction: column; gap: 24px; padding: 8px 0 24px; border-top: 1px solid var(--af-border); }
html body.pm-af .pm-af-ntags + .pm-af-wr,
html body.pm-af-news .pm-af-wr { margin: 0 0 24px; padding: 24px 0; border-top: 1px solid var(--af-border); border-radius: 0; background: none; }
html body.pm-af .pm-af-nrel .pm-af-nrel__h { margin: 16px 0 0 !important; font-size: 12px !important; font-weight: 700; line-height: 16px !important; color: var(--af-grey); }
html body.pm-af .pm-af-nrel__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
html body.pm-af .pm-af-nrel__art { display: flex; margin: 0; }
html body.pm-af .pm-af-nrel__art a { display: flex; flex-direction: column; gap: 8px; color: var(--nb-text); text-decoration: none; }
html body.pm-af .pm-af-nrel__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
html body.pm-af .pm-af-nrel__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
html body.pm-af .pm-af-nrel .pm-af-nrel__title { margin: 0 !important; font-size: 14px !important; font-weight: 500; line-height: 20px !important; }
html body.pm-af .pm-af-nrel .pm-af-nrel__meta { margin: 0 !important; display: flex; font-size: 10px !important; font-weight: 400; line-height: 15px !important; text-transform: uppercase; }
@media (hover: hover) { html body.pm-af .pm-af-nrel__art a:hover .pm-af-nrel__title { text-decoration: underline; } }

/* -------------------------------------------------------- shared leftovers */

html body.pm-af .pm-theme-links { margin-top: 40px; }
html body.pm-af .pm-af-body > .article-footer { margin: 0; padding: 0; }
html body.pm-af .pm-af-body > .article-footer .publisher { display: none; }
html body.pm-af .pm-entry-meta,
html body.pm-af .pm-superv-box { display: none !important; }

/* model margins of the boxes at the top (they collapse with the 40px rhythm) */
html body.pm-af-explainer .pm-af-body .entry-content > .pm-af-def { margin-bottom: 28px !important; }
html body.pm-af-explainer .pm-af-body .entry-content > .pm-af-kt { margin-bottom: 32px !important; }
html body.pm-af-explainer .pm-af-body .entry-content > .pm-af-offer { margin-bottom: 40px !important; }

/* the theme frames body images (padding, border); the model's avatars, cards and main visual have none */
html body.pm-af .pm-af-body .entry-content :is(.pm-af-sv__avatar, .pm-af-card__image) img,
html body.pm-af .pm-af-body .entry-content .pm-af-mv .eye-catch img { padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; }
html body.pm-af-explainer .pm-af-body .entry-content { font-size: 16px !important; line-height: 2 !important; color: var(--af-text); }
html body.pm-af .pm-af-body .pm-af-sv__nm,
html body.pm-af .pm-af-body .pm-af-sv__nm a { font-weight: 700 !important; font-size: 14px; line-height: 2; }

/* ------------------------------------------------ corrections from the value table */

html body.pm-af .pm-af-mv img,
html body.pm-af .pm-af-sv__avatar img { color: transparent; }
html body.pm-af .pm-af-body .pm-af-sv__avatar img { display: inline !important; }
html body.pm-af-explainer .pm-af-body .entry-content > h3 { display: block !important; }
html body.pm-af .pm-af-body .entry-content .wp-block-table table,
html body.pm-af .pm-af-body .entry-content .wp-block-table td { background: transparent !important; }
html body.pm-af .pm-af-body .entry-content .wp-block-table :is(th, td) { letter-spacing: normal !important; }

/* TOC links and the child list (the theme styles .toc a as blocks) */
html body.pm-af .pm-af-body .pm-af-toc .toc-list a { display: inline !important; margin: 0 !important; border-radius: 0 !important; line-height: inherit !important; letter-spacing: normal !important; font-size: 14px !important; }
html body.pm-af .pm-af-body .pm-af-toc .toc-list li { letter-spacing: normal !important; font-size: 14px !important; line-height: 2 !important; }
html body.pm-af .pm-af-body .pm-af-toc .toc-list > li > :is(ol, ul) { margin: 10px 0 0 !important; }
html body.pm-af .pm-af-body .pm-af-toc .toc-list > li > :is(ol, ul) > li::before { content: "" !important; display: block !important; font-weight: 400 !important; font-size: 14px !important; line-height: 2 !important; padding: 0 !important; color: var(--af-text) !important; background-color: var(--af-link) !important; border-radius: 50% !important; width: 3px !important; height: 3px !important; position: absolute !important; top: 12px !important; left: 8px !important; margin: 0 !important; border: 0 !important; letter-spacing: normal !important; }

/* supervisor profile */
html body.pm-af .pm-af-body .entry-content .pm-af-sv__profile p { font-size: 12px !important; line-height: 1.8 !important; margin: 0 !important; }

/* definition and takeaways */
html body.pm-af .pm-af-body .pm-af-def,
html body.pm-af .pm-af-body .pm-af-kt { font-size: 18px !important; line-height: 27px !important; letter-spacing: .05px !important; }
html body.pm-af .pm-af-body .pm-af-def :is(p, ul, li),
html body.pm-af .pm-af-body .pm-af-kt :is(div, ul, li) { letter-spacing: .05px !important; }
html body.pm-af .pm-af-body .pm-af-def .pm-af-def__label { letter-spacing: .8px !important; text-transform: uppercase; }
html body.pm-af .pm-af-body .pm-af-kt .pm-af-kt__h { text-transform: uppercase; }
html body.pm-af-explainer .pm-af-body .entry-content > .pm-af-def + .pm-af-kt { margin-top: 16px !important; }

/* top box */
html body.pm-af .pm-af-body .entry-content > .pm-af-offer { margin: 0 !important; }
html body.pm-af .pm-af-body .pm-af-offer .a-prime { margin: 40px 0 !important; gap: 20px; background: transparent !important; }
html body.pm-af .pm-af-body .pm-af-offer__text { display: flex; flex-direction: column; align-items: flex-start; }
html body.pm-af .pm-af-body .pm-af-offer .m7-button { letter-spacing: normal !important; }

/* end box */
html body.pm-af .pm-af-body .entry-content > .pm-af-dl { gap: 28px !important; }
@media screen and (min-width: 768px) { html body.pm-af .pm-af-body .entry-content > .pm-af-dl { gap: 40px !important; } }
html body.pm-af .pm-af-body .pm-af-dl__form { display: block !important; margin-top: 0 !important; }
html body.pm-af .pm-af-body .pm-af-dl__form > * + * { margin-top: 12px !important; }

/* related card date: the model's figures font */
html body.pm-af .pm-af-card__date { font-family: Quicksand, var(--af-font); }

/* ---- news: base (16px / 500 / 24px) */
html body.pm-af-news .pm-af-nh,
html body.pm-af-news .pm-af-body { font-size: 16px; font-weight: 500; line-height: 24px; letter-spacing: normal; color: var(--nb-text); }
html body.pm-af-news .pm-af-nh__crumbs { padding: 24px 0 44px; }
html body.pm-af .pm-af-crumbs--news { padding: 0 !important; margin: 0 -8px !important; text-transform: uppercase; }
html body.pm-af .pm-af-crumbs--news :is(a, span) { font-size: 12px !important; line-height: 16px !important; font-weight: 700; letter-spacing: .6px; }
html body.pm-af-news .pm-af-nh .entry-title { margin: 0 !important; letter-spacing: .4px !important; }
html body.pm-af-news .pm-af-nh__rows { padding-top: 5px; }
html body.pm-af-news .pm-af-nh__row { padding-top: 0; }
html body.pm-af-news .pm-af-nh__cat { margin-right: 4px; }
html body.pm-af-news .pm-af-share { gap: 6px; letter-spacing: normal; }
html body.pm-af-news .pm-af-follow { color: var(--nb-text); }
html body.pm-af-news .pm-af-follow svg { color: var(--nb-white); fill: var(--nb-white); }
html body.pm-af-news .pm-af-body .entry-content .pm-af-qt .pm-af-qt__h { text-transform: uppercase; letter-spacing: normal !important; }
html body.pm-af-news .pm-af-body .entry-content .pm-af-qt li { letter-spacing: normal !important; }
html body.pm-af .pm-af-ntags { border-bottom: 1px solid var(--af-border); }
html body.pm-af .pm-af-ntags .pm-af-ntags__h { letter-spacing: .36px !important; }
html body.pm-af .pm-af-ntags a { font-size: 16px; font-weight: 500; line-height: 24px; letter-spacing: normal; }
html body.pm-af .pm-af-ntags a span { display: flex; letter-spacing: normal; }
html body.pm-af .pm-af-nrel { border-top: 0; border-bottom: 1px solid var(--af-border); }
html body.pm-af .pm-af-nrel .pm-af-nrel__h { margin: 0 !important; letter-spacing: .6px !important; text-transform: uppercase; }
html body.pm-af .pm-af-nrel__art { gap: 4px; }
html body.pm-af .pm-af-nrel__art a { gap: 4px; }
html body.pm-af .pm-af-nrel .pm-af-nrel__meta { gap: 8px; }
html body.pm-af .pm-af-nrel :is(.pm-af-nrel__title, .pm-af-nrel__meta) { letter-spacing: normal !important; }
html body.pm-af-news .pm-af-body .entry-content .pm-af-explainer { font-weight: 400; margin: 25px 9.5625px 30px !important; }
html body.pm-af-news .pm-af-body .entry-content .pm-af-explainer p { margin: 0 0 12px !important; }
html body.pm-af-news .pm-af-body .entry-content .pm-af-explainer p + p { margin: 0 !important; }

/* Cocoon sets .entry-content > * to 1.8; the model body runs at 2 */
html body.pm-af-explainer .pm-af-body .entry-content > * { line-height: 2; }
html body.pm-af .pm-af-tags,
html body.pm-af .pm-af-tags * { letter-spacing: normal; }

/* PC values of the top box (model at 1440) and the explainer card (model at 1440) */
@media screen and (min-width: 768px) {
  html body.pm-af .pm-af-body .pm-af-offer .a-prime { margin: 60px 0 40px !important; font-size: 18px; line-height: 27px; }
  html body.pm-af .pm-af-body .pm-af-offer .a-prime .a-prime-title { line-height: 31.92px !important; }
  html body.pm-af .pm-af-body .pm-af-offer .a-prime p:not(.a-prime-name):not(.a-prime-title) { font-size: 18px !important; line-height: 25.38px !important; }
  html body.pm-af-news .pm-af-body .entry-content .pm-af-explainer { margin: 25px 47px 30px !important; }
}

/* ==========================================================================
 * Explainer on PC (PM-8124, chosen 2026-11-28/29). Built in layers that keep
 * the body classes they were made under (inc/magazine-article-format.php):
 * pm-af-pc-b  navy band (breadcrumb, title, people and dates), body and rail below
 * pm-af-pc-f  the band without the picture, the rail beside the body
 * pm-af-pc-j  SmartHR Mag.'s parts (sizes, boxes, the consult box in the rail)
 * pm-af-box-y no outer white cards; pm-af-s SmartHR's body (TOC in the body,
 *             its colours, the 680px column)
 * ======================================================================= */

/* PC-only parts are hidden on phones and tablets */
html body.pm-af .pm-af-thumb,
html body.pm-af .pm-af-rule,
html body.pm-af .pm-af-crumbs--band,
html body.pm-af .pm-af-eh__deck { display: none; }
html body.pm-af .pm-af-eh__meta { display: block; }

/* tablet: the header-to-card gap was 64 + 52 px; keep the date close to the definition box as on PC */
@media screen and (min-width: 768px) and (max-width: 991px) {
  html body.pm-af-explainer .pm-af-body { margin-top: 24px !important; }
  html body.pm-af-explainer .pm-af-body .entry-content { padding-top: 32px !important; }
}

@media screen and (min-width: 992px) {
  html body.pm-af-explainer.pm-af-pc-b { --af-col: 744px; --af-gap: 32px; --af-rail: 300px; --af-toc-max: max(100px, calc(100vh - 620px)); }
  /* B: the CTA sits right under the thumbnail, above the TOC, to stay on the first screen */
  html body.pm-af-explainer.pm-af-pc-b #sidebar .pm-sidebar-sticky { display: flex; flex-direction: column; }
  html body.pm-af-explainer.pm-af-pc-b #sidebar .pm-sidebar-sticky .pm-sidebar-toc-cta { order: -1; margin: 0 0 16px !important; }
  html body.pm-af-explainer.pm-af-pc-b #sidebar .pm-sidebar-sticky .pm-sidebar-toc { margin: 0 !important; padding: 0 !important; border-bottom: 0 !important; }

  html body.pm-af-explainer.pm-af-pc-b #content-in {
    max-width: calc(var(--af-col) + var(--af-gap) + var(--af-rail) + 64px) !important;
    padding: 0 32px !important;
    grid-template-columns: minmax(0, var(--af-col)) var(--af-rail) !important;
    column-gap: var(--af-gap) !important; row-gap: 0 !important;
    justify-content: center;
  }
  /* right column: the rail (sticky TOC + CTA, wrapped by article-format.js) runs the length of the body; the sidebar boxes follow at its end */
  html body.pm-af-explainer.pm-af-pc-b #sidebar { display: flex !important; flex-direction: column; grid-column: 2; grid-row: 3; width: auto !important; min-width: 0; float: none !important; margin: 0 !important; padding: 0 !important; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-rail { flex: 1 0 auto; min-width: 0; }
  html body.pm-af-explainer.pm-af-pc-b .pm-article-sidebar__inner { flex: none; width: auto !important; margin: 40px 0 0 !important; padding: 0 !important; min-width: 0; }
  html body.pm-af-explainer.pm-af-pc-b .pm-sidebar-sticky { position: sticky; width: auto !important; min-width: 0; z-index: 2; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-crumbs--foot { grid-row: 4; }
  /* in-body TOC and main visual move to the rail and the header on PC */
  html body.pm-af-explainer.pm-af-pc-b .pm-af-body .entry-content > .pm-af-toc,
  html body.pm-af-explainer.pm-af-pc-b .pm-af-body .entry-content > .pm-af-mv { display: none !important; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-body .entry-content > :is(.pm-af-toc, .pm-af-mv) + * { margin-top: 40px !important; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-thumb { display: block; overflow: hidden; min-width: 0; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-thumb :is(figure, .eye-catch-wrap, .eye-catch) { margin: 0 !important; padding: 0 !important; border: 0 !important; display: block; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-thumb img { display: block; width: 100% !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-thumb :is(figcaption, .eye-catch-label, .cat-label) { display: none !important; }

  /* people row: round photo, role over name (the byline model's PC row) */
  html body.pm-af-explainer.pm-af-pc-b .pm-af-eh__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: 0; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-eh__by { display: flex; gap: 0 32px; margin: 0; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-by + .pm-af-by { margin-top: 0; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-by { gap: 0 8px; font-size: 13px; font-weight: 400; line-height: 19.5px; color: var(--af-text); }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-by > span { display: flex; flex-direction: column; gap: 4px 0; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-by__role { margin: 0; color: var(--af-grey); }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-by__img { flex-basis: 40px; width: 40px; height: 40px; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-date { margin: 0; font-size: 13px; line-height: 24px; letter-spacing: .4px; color: var(--af-text); }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-date dt { font-weight: 400; color: var(--af-grey); }

  /* rail: TOC title, h2 rows only, current row in bold (the split-hero model's IN THIS ARTICLE) */
  html body.pm-af-explainer.pm-af-pc-b .pm-sidebar-sticky .pm-sidebar-toc { margin: 0 0 20px !important; padding: 0 0 24px !important; border: 0 !important; border-bottom: 1px solid var(--af-border) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; max-height: none !important; overflow: visible !important; }
  html body.pm-af-explainer.pm-af-pc-b .pm-sidebar-sticky .pm-sidebar-toc__title { margin: 0 0 20px !important; font-size: 14px !important; font-weight: 700 !important; line-height: 20.2px !important; letter-spacing: 1.12px !important; color: var(--af-grey) !important; }
  /* the list scrolls inside the rail so the CTA under it stays on the first screen (as the byline model's TOC does) */
  html body.pm-af-explainer.pm-af-pc-b .pm-sidebar-sticky .toc-list { margin: 0 !important; padding: 0 4px 0 0 !important; list-style: none !important; counter-reset: none; max-height: var(--af-toc-max); overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; }
  html body.pm-af-explainer.pm-af-pc-b .pm-sidebar-sticky .toc-list > li { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; margin: 0 0 8px !important; padding: 0 !important; list-style: none !important; font-size: 14px !important; line-height: 19.74px !important; letter-spacing: normal !important; }
  html body.pm-af-explainer.pm-af-pc-b .pm-sidebar-sticky .toc-list > li::before { content: none !important; }
  html body.pm-af-explainer.pm-af-pc-b .pm-sidebar-sticky .toc-list > li > :is(ol, ul) { display: none !important; }
  html body.pm-af-explainer.pm-af-pc-b .pm-sidebar-sticky .toc-list a { white-space: normal !important; overflow: visible !important; display: inline !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; color: var(--af-text) !important; font-size: 14px !important; font-weight: 400 !important; line-height: 19.74px !important; letter-spacing: normal !important; text-decoration: none !important; }
  html body.pm-af-explainer.pm-af-pc-b .pm-sidebar-sticky .toc-list a.is-current { color: var(--af-accent) !important; font-weight: 700 !important; }
  html body.pm-af-explainer.pm-af-pc-b .pm-sidebar-sticky .pm-sidebar-toc-cta { display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100% !important; margin: 0 !important; box-sizing: border-box; }
  @media (hover: hover) { html body.pm-af-explainer.pm-af-pc-b .pm-sidebar-sticky .toc-list a:hover { text-decoration: underline !important; } }

  /* ---------------------------------------------------------------- B */
  html body.pm-af-explainer.pm-af-pc-b #content-in { grid-template-rows: auto auto 1fr auto; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-eh { grid-column: 1 / -1; grid-row: 1; padding: 0 32px 72px !important; position: relative; color: var(--af-white); background: var(--af-accent); box-shadow: 0 0 0 100vmax var(--af-accent); clip-path: inset(0 -100vmax); }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-tags { display: none; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-crumbs--band { display: block; padding: 16px 0; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-crumbs--band ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin: 0; padding: 0; list-style: none; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-crumbs--band li { display: flex; align-items: center; gap: 0 8px; margin: 0; padding: 0; list-style: none; font-size: 12px; font-weight: 500; line-height: 16px; letter-spacing: .08px; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-crumbs--band li::before { content: none; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-crumbs--band li + li::before { content: "›"; font-size: 14px; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-crumbs--band li:first-child { display: none; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-crumbs--band li:nth-child(2)::before { content: none; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-crumbs--band a { padding: 4px; color: var(--af-white); text-decoration: underline; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-crumbs--band li[aria-current] span { padding: 4px; color: var(--af-white); }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-eh .entry-title { margin: 0 0 8px !important; font-size: 28px !important; font-weight: 700 !important; line-height: 1.4 !important; letter-spacing: -.01em !important; color: var(--af-white) !important; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-eh__deck { display: block; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .3); font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, .88); }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-by { color: var(--af-white); }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-by__role { color: rgba(255, 255, 255, .72); }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-date,
  html body.pm-af-explainer.pm-af-pc-b .pm-af-date dt { color: var(--af-white); }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-body { grid-column: 1; grid-row: 2 / span 2; margin: -48px 0 0 !important; padding: 0 !important; position: relative; z-index: 1; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-body .entry-content { border-radius: 16px; padding: 32px 32px 0 !important; }
  html body.pm-af-explainer.pm-af-pc-b .pm-af-thumb { grid-column: 2; grid-row: 2; align-self: start; margin-top: -48px; border-radius: 16px; position: relative; z-index: 1; }
  html body.pm-af-explainer.pm-af-pc-b .pm-sidebar-sticky { margin-top: 16px !important; padding: 16px; border-radius: 16px; background: var(--af-white); }
}

/* f: the band without the picture (NerdWallet's measures: rail beside the body, card -32 left) */
@media screen and (min-width: 992px) {
  /* shared: the picture at its own ratio (no crop); Japanese titles break at phrases */
  html body.pm-af-explainer.pm-af-pc-f .pm-af-eh .entry-title { word-break: auto-phrase; }

  /* ---- f / g: NerdWallet. Container 1152 (side 64), body 1fr, rail 344, gap 32; card -32 left */
  html body.pm-af-explainer.pm-af-pc-f #content-in { max-width: 1280px !important; padding: 0 64px !important; grid-template-columns: minmax(0, 1fr) 344px !important; column-gap: 32px !important; }
  html body.pm-af-explainer.pm-af-pc-f .pm-af-eh { padding: 0 0 95px !important; }
  html body.pm-af-explainer.pm-af-pc-f .pm-af-crumbs--band { padding: 26px 0 25px; }
  html body.pm-af-explainer.pm-af-pc-f .pm-af-crumbs--band li { font-size: 12px; line-height: 16px; font-weight: 500; }
  html body.pm-af-explainer.pm-af-pc-f .pm-af-crumbs--band a,
  html body.pm-af-explainer.pm-af-pc-f .pm-af-crumbs--band li[aria-current] span { padding: 4px 0; }
  html body.pm-af-explainer.pm-af-pc-f .pm-af-eh .entry-title { margin: 0 0 8px !important; font-size: 48px !important; font-weight: 700 !important; line-height: 57.6px !important; letter-spacing: -.48px !important; }
  html body.pm-af-explainer.pm-af-pc-f .pm-af-eh__deck { margin: 0 0 24px; padding: 0 0 24px; font-size: 20px; line-height: 28px; letter-spacing: .08px; }
  html body.pm-af-explainer.pm-af-pc-f .pm-af-eh__by { gap: 0 32px; }
  html body.pm-af-explainer.pm-af-pc-f .pm-af-by__img { flex-basis: 40px; width: 40px; height: 40px; box-sizing: border-box; border: 2px solid rgba(255, 255, 255, .72); border-radius: 50%; overflow: hidden; }
  html body.pm-af-explainer.pm-af-pc-f .pm-af-by__img img,
  html body.pm-af-explainer.pm-af-pc-f .pm-af-by__img svg { width: 36px; height: 36px; }
  html body.pm-af-explainer.pm-af-pc-f .pm-af-by { font-size: 13px; line-height: 19.5px; font-weight: 500; letter-spacing: .08px; }
  html body.pm-af-explainer.pm-af-pc-f .pm-af-by > span { gap: 6px 0; }
  html body.pm-af-explainer.pm-af-pc-f .pm-af-by__role { font-weight: 400; }
  html body.pm-af-explainer.pm-af-pc-f .pm-af-date { font-size: 16px; line-height: 24px; letter-spacing: .4px; }
  html body.pm-af-explainer.pm-af-pc-f .pm-af-body { margin: -56px 0 0 -32px !important; }
  html body.pm-af-explainer.pm-af-pc-f .pm-af-body .entry-content { padding: 32px 32px 0 !important; }
  html body.pm-af-explainer.pm-af-pc-f .pm-af-thumb { display: none !important; }
  html body.pm-af-explainer.pm-af-pc-f #sidebar { grid-row: 2 / span 2; margin-top: -56px !important; position: relative; z-index: 1; }
  html body.pm-af-explainer.pm-af-pc-f .pm-sidebar-sticky { margin-top: 0 !important; }
  html body.pm-af-explainer.pm-af-pc-f .pm-article-sidebar__inner { margin-top: 0 !important; }
}

/* j: SmartHR Mag.'s parts on f. Font: Noto Sans JP (already loaded by the header)
 * so every device shows the same letters. The deck is dropped: it repeated the definition. */
@media screen and (min-width: 992px) {
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j { --af-font: "Noto Sans JP", sans-serif; --af-toc-max: max(160px, calc(100vh - 420px)); }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j .pm-af-eh,
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j #sidebar { font-family: var(--af-font) !important; }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j .pm-af-eh__deck { display: none !important; }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j .pm-af-eh__meta { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .3); }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j .pm-af-kt::before { content: none !important; }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j .pm-af-body .entry-content > .pm-af-def + .pm-af-kt { margin-top: 30px !important; }
  /* rail: the service link as a box above the TOC, the TOC as a box */
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j #sidebar .pm-sidebar-sticky .pm-sidebar-toc-cta { display: block !important; position: relative; height: auto !important; margin: 0 0 16px !important; text-align: left; text-decoration: none !important; box-shadow: none !important; }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j #sidebar .pm-sidebar-sticky .pm-sidebar-toc-cta::before { content: "Pacific Metaの支援"; display: block; margin: 0 0 4px; font-weight: 400; }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j #sidebar .pm-sidebar-sticky .pm-sidebar-toc-cta svg { position: absolute; top: 28px; right: 24px; }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j #sidebar .pm-sidebar-sticky .pm-sidebar-toc { max-height: none !important; }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j #sidebar .pm-sidebar-sticky .toc-list a.is-current { color: var(--af-text) !important; }
  /* body CTAs: the Prime box and the service box written in the post */
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j .pm-af-body .pm-service-cta :is(p, a) { font-family: var(--af-font) !important; }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j .pm-af-body .pm-service-cta p:first-child { color: var(--af-text) !important; letter-spacing: 0 !important; font-weight: 400 !important; }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j .pm-af-body .pm-service-cta p:nth-child(2) { color: var(--af-text) !important; font-weight: 700 !important; }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j .pm-af-body .pm-service-cta p:nth-child(3) { color: var(--af-text) !important; }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j .pm-af-body .pm-service-cta a { display: inline-flex !important; align-items: center; height: 44px; padding: 0 20px !important; background-color: var(--af-accent) !important; color: var(--af-white) !important; font-size: 15px !important; font-weight: 600 !important; line-height: 20px !important; text-decoration: none !important; }

  /* ---- j: SmartHR Mag. Text 16/32, h2 24/38.4, h3 20/32, title 28/44.8. Strip + #f8f7f6 boxes, 1px #edebe8 frames, 5px corners */
  html body.pm-af-explainer.pm-af-pc-j .pm-af-eh .entry-title { font-size: 28px !important; line-height: 44.8px !important; letter-spacing: 1.4px !important; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .entry-content :where(p),
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .entry-content > :is(ul, ol) > li { font-size: 16px !important; line-height: 32px !important; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .entry-content > h2 { font-size: 24px !important; line-height: 38.4px !important; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .entry-content > h3 { font-size: 20px !important; line-height: 32px !important; }
  /* definition: SmartHR's framed box (title 18/28.8 700, text 16/32) */
  html body.pm-af-explainer.pm-af-pc-j .pm-af-def { padding: 34px 29px !important; border: 1px solid #edebe8 !important; border-radius: 5px !important; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-def .pm-af-def__label { margin: 0 0 12px !important; font-size: 18px !important; line-height: 28.8px !important; font-weight: 700 !important; letter-spacing: 0 !important; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-def .pm-af-def__text p { font-size: 16px !important; line-height: 32px !important; letter-spacing: 0 !important; }
  /* takeaways: SmartHR's TOC (strip #f2f1f0 20/70/20/30, body #f8f7f6 35/30) */
  html body.pm-af-explainer.pm-af-pc-j .pm-af-kt { padding: 0 !important; border-radius: 5px; overflow: hidden; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-kt .pm-af-kt__h { margin: 0 !important; padding: 20px 70px 20px 30px !important; background: #f2f1f0; font-size: 16px !important; line-height: 32px !important; font-weight: 700 !important; letter-spacing: 0 !important; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-kt__body { padding: 35px 30px !important; background: #f8f7f6; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-kt__body ul > li { padding: 0 !important; font-size: 16px !important; line-height: 32px !important; letter-spacing: 0 !important; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-kt__body ul > li + li { margin-top: 6px !important; }
  /* rail */
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-sidebar-sticky .pm-sidebar-toc-cta { padding: 24px !important; border: 1px solid #edebe8 !important; border-radius: 5px !important; background: var(--af-white) !important; color: var(--af-text) !important; font-size: 16px !important; font-weight: 700 !important; line-height: 25.6px !important; letter-spacing: 0 !important; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-sidebar-sticky .pm-sidebar-toc-cta::before { font-size: 14px; line-height: 28px; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-sidebar-sticky .pm-sidebar-toc { padding: 0 !important; border-radius: 5px !important; overflow: hidden !important; background: #f8f7f6 !important; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-sidebar-sticky .pm-sidebar-toc__title { margin: 0 !important; padding: 20px 30px !important; background: #f2f1f0; font-size: 16px !important; line-height: 32px !important; font-weight: 700 !important; letter-spacing: 0 !important; color: var(--af-text) !important; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-sidebar-sticky .toc-list { padding: 35px 30px !important; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-sidebar-sticky .toc-list > li { margin: 0 !important; font-size: 14px !important; line-height: 28px !important; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-sidebar-sticky .toc-list > li + li { margin-top: 20px !important; }
  /* no white frame around the rail: the boxes stand on their own, 24px apart (SmartHR's rail) */
  html body.pm-af-explainer.pm-af-pc-j #sidebar { background: transparent !important; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-sidebar-sticky { padding: 0 !important; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; }
  /* the consult box: title, one line, a button to the LP's form */
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-sidebar-sticky .pm-rail-consult { display: block !important; margin: 0 0 24px !important; padding: 24px !important; border: 1px solid #edebe8 !important; border-radius: 5px !important; background: var(--af-white) !important; color: var(--af-text) !important; text-align: left; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-sidebar-sticky .pm-rail-consult::before { content: none !important; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-rail-consult .pm-rail-consult__title { margin: 0 !important; word-break: auto-phrase; font-size: 18px !important; line-height: 28.8px !important; font-weight: 700 !important; color: var(--af-text) !important; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-rail-consult .pm-rail-consult__text { margin: 4px 0 16px !important; word-break: auto-phrase; font-weight: 400 !important; font-size: 14px !important; line-height: 28px !important; color: var(--af-text) !important; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-rail-consult .pm-rail-consult__btn { display: flex !important; align-items: center; justify-content: center; width: 100% !important; height: 44px; margin: 0 !important; padding: 0 20px !important; box-sizing: border-box; border: 0 !important; border-radius: 40px !important; background: var(--af-accent) !important; color: var(--af-white) !important; font-size: 15px !important; font-weight: 600 !important; line-height: 20px !important; text-decoration: none !important; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-sidebar-sticky .toc-list a { font-size: 14px !important; line-height: 28px !important; font-weight: 700 !important; }
  /* body CTAs: SmartHR's framed box, pill button */
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .pm-af-offer .a-prime,
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .pm-service-cta { padding: 34px 29px !important; border: 1px solid #edebe8 !important; border-radius: 5px !important; background: var(--af-white) !important; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .pm-af-offer .a-prime .a-prime-name,
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .pm-service-cta p:first-child { margin: 0 0 4px !important; font-size: 14px !important; line-height: 28px !important; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .pm-af-offer .a-prime .a-prime-title,
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .pm-service-cta p:nth-child(2) { margin: 0 !important; font-size: 18px !important; line-height: 28.8px !important; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .pm-af-offer .a-prime p:not(.a-prime-name):not(.a-prime-title),
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .pm-service-cta p:nth-child(3) { margin: 12px 0 20px !important; font-size: 16px !important; line-height: 32px !important; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .pm-af-offer .a-prime .m7-button,
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .pm-service-cta a { border-radius: 40px !important; }

  /* ---- j rhythm: one set of values for both columns.
   *  Both columns are white cards with 32px inside, so the first box on each side starts at the same height.
   *  Boxes are 30px apart. Text sits 30px from a box's side and 24px from its top and bottom
   *  (framed boxes: 1px line + 23/29). Strips are 20/30 with a 32px line (72px tall). */
  html body.pm-af-explainer.pm-af-pc-j { --j-gap: 30px; --j-x: 30px; --j-y: 24px; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-sidebar-sticky { padding: 32px !important; background: var(--af-white) !important; border-radius: 16px !important; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-def,
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-sidebar-sticky .pm-rail-consult,
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .pm-af-offer .a-prime,
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .pm-service-cta { padding: calc(var(--j-y) - 1px) calc(var(--j-x) - 1px) !important; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .entry-content > .pm-af-def { margin: 0 !important; box-sizing: border-box; }
  /* javascript.js gives the definition and the consult box the same height; the button takes the spare room */
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j #sidebar .pm-sidebar-sticky .pm-sidebar-toc-cta.pm-rail-consult { display: flex !important; flex-direction: column; align-items: stretch !important; justify-content: flex-start !important; box-sizing: border-box; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-rail-consult .pm-rail-consult__btn { margin-top: auto !important; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-rail-consult :is(.pm-rail-consult__title, .pm-rail-consult__text) { text-align: left !important; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-rail-consult .pm-rail-consult__title span { display: inline-block; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .entry-content > .pm-af-def + .pm-af-kt,
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .entry-content > .pm-af-kt + .pm-af-offer { margin-top: var(--j-gap) !important; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .entry-content > .pm-af-kt { margin-bottom: 0 !important; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-body .pm-af-offer .a-prime { margin: 0 !important; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-kt .pm-af-kt__h,
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-sidebar-sticky .pm-sidebar-toc__title { padding: 20px var(--j-x) !important; }
  html body.pm-af-explainer.pm-af-pc-j .pm-af-kt__body { padding: var(--j-y) var(--j-x) !important; }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j #sidebar .pm-sidebar-sticky .pm-sidebar-toc-cta.pm-rail-consult { margin: 0 0 var(--j-gap) !important; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-rail-consult .pm-rail-consult__text { margin: 4px 0 16px !important; line-height: 24px !important; }
  /* TOC: the whole list, no inner scroll; a heading's wrapped line stays close to its first line (14/24), headings 12px apart */
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-sidebar-sticky .toc-list { max-height: var(--j-toc-max, none) !important; overflow-x: hidden !important; overflow-y: auto !important; overscroll-behavior: contain; padding: 0 var(--j-x) !important; border-block: var(--j-y) solid transparent !important; } /* the 24px insets are borders, so rows scroll under them, never into them */
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-sidebar-sticky .toc-list > li { line-height: 24px !important; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-sidebar-sticky .toc-list > li + li { margin-top: 12px !important; }
  html body.pm-af-explainer.pm-af-pc-j #sidebar .pm-sidebar-sticky .toc-list a { line-height: 24px !important; word-break: auto-phrase; }
}

/* box-y: the white cards no longer overlap the band, so only the inner boxes show. Tops line up, heights follow the text. */
@media screen and (min-width: 992px) {
  html body.pm-af-explainer.pm-af-pc-j.pm-af-box-y .pm-af-eh { padding-bottom: 40px !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-box-y .pm-af-body { margin-top: 0 !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-box-y #sidebar { margin-top: 0 !important; }
}

/* s: SmartHR Mag.'s body without changes. The TOC sits in the body (open <details>), the rail keeps
   only the consult box; text, link and greys take the model's colours (#23221e, #0071c1, #f8f7f6, #edebe8); the column is 680. */
@media screen and (min-width: 992px) {
  html body.pm-af.pm-af-pc-j.pm-af-s { --af-text: #23221e; --af-grey: #706d65; --af-link: #0071c1; --af-g5: #f8f7f6; --af-g7: #f2f1f0; --af-g9: #edebe8; --af-border: #edebe8; --af-dot: #dddad8; --af-col: 680px; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content > .pm-af-toc { display: block !important; margin-top: var(--j-gap) !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content > .pm-af-toc + * { margin-top: 40px !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s #sidebar .pm-sidebar-sticky .pm-sidebar-toc { display: none !important; }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j.pm-af-s #sidebar .pm-sidebar-sticky .pm-sidebar-toc-cta.pm-rail-consult { margin-bottom: 0 !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content p a { color: var(--af-link) !important; font-weight: 400 !important; text-underline-offset: auto !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content > ul > li::before,
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content > h3::before { background-color: #23221f !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content a,
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .pm-af-toc a { text-underline-offset: auto !important; }
  /* the model grid: a 760px card (40 + 680 + 40, hanging 40px left of the band text), 80px, a 340px rail */
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j.pm-af-s #content-in { max-width: calc(720px + 80px + 340px + 128px) !important; grid-template-columns: 720px 340px !important; column-gap: 80px !important; }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j.pm-af-s .pm-af-body { margin-left: -40px !important; }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j.pm-af-s .pm-af-body .entry-content { padding: 40px 40px 0 !important; }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j.pm-af-s #sidebar .pm-sidebar-sticky { padding: 40px !important; }
  html body.pm-af-explainer.pm-af-pc-f.pm-af-pc-j.pm-af-s.pm-af-box-y #sidebar .pm-sidebar-sticky { padding: 40px 0 0 !important; } /* no card to sit in: the consult box takes the rail's full width */
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content :is(th, td) { border-color: var(--af-g9) !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content th { background-color: var(--af-g5) !important; }
  /* parts the rewritten articles use (PR line, opening diagram, boxes, checklist, table titles, notes) */
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content > .pm-af-pr { margin: 0 0 12px !important; font-size: 13px !important; line-height: 20px !important; color: var(--af-grey) !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content > .pm-af-mv { display: block !important; margin-top: var(--j-gap) !important; border: 1px solid var(--af-g9); border-radius: 5px; margin-inline: 0 !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content > .pm-af-mv + .pm-af-offer { margin-top: var(--j-gap) !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content .pm-service-cta p a { color: #fff !important; text-decoration: none !important; font-weight: 700 !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content table { width: 100% !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content :is(.table-responsive, .scrollable-table) { width: 100% !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content :is(th, td) { min-width: 0 !important; width: auto !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content > .pm-af-tt { margin-bottom: 0 !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content > .pm-af-tt + figure { margin-top: 12px !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content > p[data-pm-af-note] + p[data-pm-af-note] { margin-top: 4px !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content > figure + p[data-pm-af-note] { margin-top: 8px !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content > .pm-af-box { margin-top: 40px !important; padding: 30px; background: var(--af-g5); border-radius: 5px; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content .pm-af-box__label { margin: 0 0 12px !important; font-size: 18px !important; line-height: 28px !important; font-weight: 700 !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content .pm-af-box p + p { margin-top: 16px !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content .pm-af-check { margin: 0 !important; padding: 0 !important; list-style: none !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content .pm-af-check > li { margin: 0 !important; padding: 20px 0 0 !important; border-top: 1px solid var(--af-g9); }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content .pm-af-check > li + li { margin-top: 20px !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content .pm-af-check > li::before { content: none !important; display: none !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content .pm-af-check__q { margin: 0 0 8px !important; padding-left: 28px; position: relative; font-weight: 700 !important; font-size: 16px !important; line-height: 28px !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content .pm-af-check__q::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border: 2px solid #23221e; border-radius: 2px; background: #fff; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content .pm-af-check dl { display: grid; grid-template-columns: 6.5em 1fr; gap: 4px 12px; margin: 0 0 0 28px !important; font-size: 14px; line-height: 24px; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content .pm-af-check dt { margin: 0 !important; color: var(--af-grey); font-weight: 400; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content .pm-af-check dd { margin: 0 !important; }
  /* tables and line breaks: the markup comes from inc/magazine-typeset.php (row headers, .pm-date/.pm-num, <wbr> + .pm-wb) */
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content table.pm-t { width: auto !important; max-width: 100%; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content table.pm-t thead th { white-space: nowrap !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content table.pm-t th[scope="row"] { background-color: transparent !important; font-weight: 400 !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content table.pm-t.pm-t--cmp th[scope="row"] { background-color: transparent !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content table.pm-t :is(.pm-date, .pm-num) { white-space: nowrap !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content .pm-wb { word-break: keep-all !important; overflow-wrap: break-word !important; text-wrap-style: pretty !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content :is(h2, h3).pm-wb { text-wrap-style: balance !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content p.pm-tp { text-wrap-style: pretty !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content .pm-nw { white-space: nowrap !important; }
  /* figures drawn with their own title, note and source (IMAGE_SPEC §0, fig-*.png) sit on the page without the photo card frame */
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content figure.pm-fig2 img { padding: 0 !important; border: 0 !important; border-radius: 0 !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content figure.pm-fig2 .pm-zoomable-image::after { content: none; }
}

/* ======================================================= NEWS on PC (The news model's three columns) */
html body.pm-af-news .pm-af-latest { display: none; }
@media screen and (min-width: 992px) {
  html body.pm-af-news #content-in { max-width: calc(552px + 36px + 300px + 64px) !important; padding: 0 32px !important; display: grid !important; grid-template-columns: minmax(0, 552px) 300px; column-gap: 36px; row-gap: 0 !important; justify-content: center; }
  html body.pm-af-news #main,
  html body.pm-af-news article.pm-af-article { display: contents !important; }
  html body.pm-af-news .pm-af-nh { grid-column: 1; grid-row: 1; min-width: 0; }
  html body.pm-af-news .pm-af-nh__crumbs { padding-bottom: 24px !important; }
  html body.pm-af-news .pm-af-body { grid-column: 1; grid-row: 2; min-width: 0; }
  html body.pm-af-news #main > :not(article) { grid-column: 1 / -1; }
  html body.pm-af-news #sidebar { display: block !important; grid-column: 2; grid-row: 1 / span 2; width: auto !important; float: none !important; margin: 84px 0 0 !important; padding: 0 !important; min-width: 0; }
  html body.pm-af-news #sidebar .pm-article-sidebar__inner { width: auto !important; }
}
@media screen and (min-width: 1240px) {
  html body.pm-af-news #content-in { max-width: calc(276px + 36px + 552px + 36px + 300px + 64px) !important; grid-template-columns: 276px minmax(0, 552px) 300px; }
  html body.pm-af-news .pm-af-nh,
  html body.pm-af-news .pm-af-body { grid-column: 2; }
  html body.pm-af-news #sidebar { grid-column: 3; }
  html body.pm-af-news .pm-af-latest { display: block; grid-column: 1; grid-row: 1 / span 2; margin-top: 84px; font-family: var(--af-font); color: var(--nb-text); }
  html body.pm-af-news .pm-af-latest .pm-af-latest__h { margin: 0 0 8px !important; font-size: 21px !important; font-weight: 300 !important; line-height: 26px !important; letter-spacing: .02em; }
  html body.pm-af-news .pm-af-latest ul { margin: 0; padding: 0; list-style: none; }
  html body.pm-af-news .pm-af-latest li { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--af-border); list-style: none; }
  html body.pm-af-news .pm-af-latest li::before { content: none; }
  html body.pm-af-news .pm-af-latest__title { display: block; font-size: 16px; font-weight: 400; line-height: 23px; color: var(--nb-text); text-decoration: none; }
  html body.pm-af-news .pm-af-latest .pm-af-latest__meta { margin: 8px 0 0 !important; font-size: 10px !important; font-weight: 400; line-height: 15px !important; letter-spacing: .6px; color: var(--af-grey); }
  html body.pm-af-news .pm-af-latest__meta a { color: var(--af-grey); text-decoration: underline; }
  html body.pm-af-news .pm-af-latest__more { display: block; margin-top: 12px; text-align: right; font-size: 11px; font-weight: 700; line-height: 16px; letter-spacing: .6px; color: var(--nb-text); text-decoration: none; }
  html body.pm-af-news .pm-af-latest__more::after { content: " →"; }
  @media (hover: hover) { html body.pm-af-news .pm-af-latest__title:hover { text-decoration: underline; } }
}

/* ---------------------------------------------------- one column on PC (PM-8124, 2026-11-29)
   三宅さん: the right rail made figures and tables shrink to 680 and the page too long. Like 才流,
   NerdWallet and Stripe, the explainer is one column: text 720, tables (and their titles) 960 on
   screens wide enough for it. The rail (TOC + consult) goes: the TOC sits at the head of the body
   and the consult stays in the header button and the boxes in the body. */
html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content .wp-block-table table { font-size: 15px !important; line-height: 1.6 !important; }
html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content .wp-block-table :is(th, td) { font-size: 15px !important; line-height: 1.6 !important; padding: 12px 16px !important; }
html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content .wp-block-table td p { font-size: 15px !important; line-height: 1.6 !important; }
@media screen and (min-width: 992px) {
  html body.pm-af-explainer.pm-af-pc-b.pm-af-pc-f.pm-af-pc-j.pm-af-s #content-in { max-width: 1268px !important; grid-template-columns: minmax(0, 1fr) !important; column-gap: 0 !important; }
  html body.pm-af-explainer.pm-af-pc-b.pm-af-pc-f.pm-af-pc-j.pm-af-s #sidebar { display: none !important; }
  html body.pm-af-explainer.pm-af-pc-b.pm-af-pc-f.pm-af-pc-j.pm-af-s .pm-af-body { width: 880px; max-width: 100%; margin-left: auto !important; margin-right: auto !important; padding-inline: 0 !important; }
  html body.pm-af-explainer.pm-af-pc-b.pm-af-pc-f.pm-af-pc-j.pm-af-s .pm-af-body .entry-content { padding: 40px 40px 0 !important; }
  html body.pm-af-explainer.pm-af-pc-b.pm-af-pc-f.pm-af-pc-j.pm-af-s .pm-af-eh__in { max-width: 800px; margin-left: auto !important; margin-right: auto !important; }
}
@media screen and (min-width: 1168px) {
  html body.pm-af-explainer.pm-af-pc-b.pm-af-pc-f.pm-af-pc-j.pm-af-s .pm-af-body { width: 1040px; }
  html body.pm-af-explainer.pm-af-pc-b.pm-af-pc-f.pm-af-pc-j.pm-af-s .pm-af-body .entry-content { padding: 40px 160px 0 !important; }
  html body.pm-af-explainer.pm-af-pc-b.pm-af-pc-f.pm-af-pc-j.pm-af-s .pm-af-body .entry-content > :is(figure.wp-block-table, .pm-af-tt) { margin-left: -120px !important; margin-right: -120px !important; max-width: none !important; width: auto !important; }
  html body.pm-af-explainer.pm-af-pc-b.pm-af-pc-f.pm-af-pc-j.pm-af-s .pm-af-eh__in { max-width: 960px; }
}

/* chapter heads as a band (PM-8124, 2026-11-29, 三宅さん「帯」): the gap before a chapter was the
   same 40px as between paragraphs. Like SmartHR Mag. and freee, the h2 sits in a grey band with a
   navy bar on the left, with more room above it. */
html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content > h2 { margin-top: 64px !important; padding: 12px 16px !important; border: 0 !important; border-left: 4px solid var(--af-accent) !important; background: #f2f1f0 !important; }
html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content > h2 + * { margin-top: 24px !important; }
@media screen and (min-width: 992px) {
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content > h2 { margin-top: 96px !important; padding: 14px 20px !important; }
  html body.pm-af-explainer.pm-af-pc-j.pm-af-s .pm-af-body .entry-content > h2 + * { margin-top: 32px !important; }
}

/* ------------------------------------------ PM-8124 2026-11-29: Prime frame, service, related */

/* Prime frame with the latest issue (Chainalysis: thin frame, text and button left, cover right) */
html body.pm-af .pm-af-offer .a-prime.pm-follow--issue { grid-template-columns: minmax(0, 1fr) 200px; gap: 0 32px; align-items: center; }
html body.pm-af .pm-af-offer .pm-follow__text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
html body.pm-af .pm-af-offer .a-prime .pm-follow__issue { margin: 0 0 18px !important; font-size: 15px !important; line-height: 1.7 !important; }
html body.pm-af .pm-af-offer .pm-follow__date { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 700; color: var(--af-grey); }
html body.pm-af .pm-af-offer .pm-follow__cover { display: block; width: 200px; height: auto; margin: 0 !important; border: 1px solid var(--af-border); border-radius: 4px; }
@media screen and (max-width: 600px) {
  html body.pm-af .pm-af-offer .a-prime.pm-follow--issue { grid-template-columns: minmax(0, 1fr); }
  html body.pm-af .pm-af-offer .pm-follow__cover { display: none; }
}

/* Service related to the article (才流: heading, then name and line left, buttons right) */
html body.pm-af .pm-af-body .entry-content > .pm-af-sec-h { margin: 64px 0 16px !important; font-size: 20px !important; font-weight: 700 !important; line-height: 1.5 !important; color: var(--af-text) !important; }
html body.pm-af .pm-af-body .entry-content > .pm-af-svc {
  display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; gap: 0 32px !important; align-items: center !important;
  margin-top: 0 !important; padding: 24px !important; border: 1px solid var(--af-border) !important; border-radius: 4px !important; background: var(--af-white) !important;
}
html body.pm-af .pm-af-svc .a-prime-name { display: none !important; }
html body.pm-af .pm-af-svc .a-prime-title { font-size: 18px !important; line-height: 1.6 !important; }
html body.pm-af .pm-af-body .pm-af-svc .pm-af-dl__content p:not(.a-prime-name):not(.a-prime-title) { margin: 6px 0 0 !important; line-height: 1.7 !important; }
html body.pm-af .pm-af-body .pm-af-svc .pm-af-dl__form { padding: 0 !important; background: none !important; display: grid !important; gap: 8px; }
html body.pm-af .pm-af-body .pm-af-svc .pm-af-dl__form > * + * { margin-top: 0 !important; }
html body.pm-af .pm-af-svc .pm-consult__more a {
  display: flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border: 1px solid var(--af-accent); border-radius: 4px;
  color: var(--af-accent) !important; font-size: 15px; font-weight: 600; text-decoration: none !important; background: var(--af-white);
}
@media screen and (max-width: 767px) {
  html body.pm-af .pm-af-body .entry-content > .pm-af-svc { grid-template-columns: minmax(0, 1fr) !important; gap: 16px 0 !important; }
}

/* Related articles in rows by purpose (才流: one row of three cards per group) */
html body.pm-af .pm-theme-links--cards { margin: 40px 0 32px; padding: 24px 0 0; border-top: 2px solid var(--af-text); color: var(--af-text); font-family: var(--af-font); }
html body.pm-af .pm-theme-links--cards h2.pm-theme-links__h { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 20px !important; line-height: 1.6 !important; font-weight: 700 !important; color: var(--af-text) !important; }
html body.pm-af .pm-theme-links--cards h2.pm-theme-links__h::before,
html body.pm-af .pm-theme-links--cards h2.pm-theme-links__h::after { content: none !important; }
html body.pm-af .pm-theme-links--cards h3.pm-theme-links__g { margin: 28px 0 12px !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 15px !important; line-height: 1.5 !important; font-weight: 700 !important; color: var(--af-grey) !important; }
html body.pm-af .pm-theme-links--cards h3.pm-theme-links__g::before,
html body.pm-af .pm-theme-links--cards h3.pm-theme-links__g::after { content: none !important; }
html body.pm-af .pm-theme-links--cards h2 + .pm-theme-links__row { margin-top: 20px; }
html body.pm-af .pm-theme-links__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
html body.pm-af .pm-theme-card { display: block; color: var(--af-text) !important; text-decoration: none !important; }
html body.pm-af .pm-theme-card__img img { display: block; width: 100%; height: auto; aspect-ratio: 1.9; object-fit: cover; margin: 0 0 10px; border: 1px solid var(--af-border); }
html body.pm-af .pm-theme-card__t { display: block; font-size: 15px; font-weight: 700; line-height: 1.6; }
html body.pm-af .pm-theme-card:hover .pm-theme-card__t { color: var(--af-link); text-decoration: underline; }
html body.pm-af .pm-theme-links--cards .pm-theme-links__more { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 24px 0 0; padding: 0; font-size: 15px; }
html body.pm-af .pm-theme-links--cards .pm-theme-links__more a { color: var(--af-link) !important; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
@media screen and (max-width: 767px) {
  html body.pm-af .pm-theme-links--cards { padding-left: 20px; padding-right: 20px; }
  html body.pm-af .pm-theme-links__row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  html body.pm-af .pm-theme-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: start; }
  html body.pm-af .pm-theme-card__img img { margin: 0; }
}

/* The Prime frame now closes the article, after the summary (PM-8124, 2026-11-29). Production puts the
   article's JSON-LD script just before it, and "script + *" would take its gap away. */
html body.pm-af .pm-af-body .entry-content > .pm-af-offer,
html body.pm-af-explainer .pm-af-body .entry-content > script + .pm-af-offer { margin: 48px 0 0 !important; }

/* 目次: 最初は畳む。開くと章(h2)だけに番号を付けて並べ、小見出しは出さない(PM-8124、11/29 三宅さん) */
html body.pm-af .pm-af-body .entry-content .pm-af-toc .pm-af-toc__body.toc-content { padding: 8px var(--af-pad) 16px !important; }
html body.pm-af .pm-af-body .entry-content .pm-af-toc .toc-list { counter-reset: pmaf-toc; }
html body.pm-af .pm-af-body .entry-content .pm-af-toc .toc-list > li { counter-increment: pmaf-toc; display: grid !important; grid-template-columns: 36px 1fr; align-items: baseline !important; padding: 10px 0 !important; border-top: 1px solid var(--af-border) !important; }
html body.pm-af .pm-af-body .entry-content .pm-af-toc .toc-list > li:first-child { border-top: 0 !important; }
html body.pm-af .pm-af-body .entry-content .pm-af-toc .toc-list > li + li { margin-top: 0 !important; }
html body.pm-af .pm-af-body .entry-content .pm-af-toc .toc-list > li::before { content: counter(pmaf-toc, decimal-leading-zero) !important; display: block !important; position: static !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: var(--af-grey) !important; font-size: 14px !important; font-weight: 700 !important; line-height: 1.7 !important; text-align: left !important; }
html body.pm-af .pm-af-body .entry-content .pm-af-toc .toc-list > li > a { color: var(--af-text) !important; text-decoration: none !important; font-size: 16px !important; font-weight: 700 !important; line-height: 1.7 !important; }
@media (hover: hover) { html body.pm-af .pm-af-body .entry-content .pm-af-toc .toc-list > li > a:hover { color: var(--af-link) !important; text-decoration: underline !important; } }
html body.pm-af .pm-af-body .entry-content .pm-af-toc .toc-list > li > :is(ol, ul) { display: none !important; }
