:is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-head, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-band, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-latest, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-choose, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-need, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-steps, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-more, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-shots, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-facts, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-dl, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-screen, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-path, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-box, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-check, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-q, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-pager, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-spnav{
  --ig-bg: var(--ntg2-surface, #fff);
  --ig-paper: var(--ntg2-paper, #f6f5f3);
  --ig-paper-2: var(--ntg2-paper-2, #edeae6);
  --ig-ink: var(--ntg2-text, #1a1714);
  --ig-sub: var(--ntg2-sub, #5f5a55);
  --ig-mut: var(--ntg2-muted, #8a847d);
  --ig-line: var(--ntg2-line, #e3e0dc);
  --ig-line-2: var(--ntg2-line-2, #d3cec7);
  --ig-acc: var(--ntg2-accent, #b72305);
  --ig-acc-bg: color-mix(in srgb, var(--ig-acc) 12%, transparent);
  --ig-teal: var(--ntg2-teal, #2f7a72);
  --ig-teal-bg: var(--ntg2-teal-bg, #e8f2f0);
  --ig-danger: var(--ntg2-danger, #b91c1c);
  --ig-danger-bg: var(--ntg2-danger-bg, #fff8f7);
  --ig-link: var(--ntg2-link, #3061a6);
  --ig-r: var(--ntg2-radius, 6px);
  --ig-mono: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  /* Windows の画面の見本 */
  --ig-win: #f3f3f3;
  --ig-win-sel: #cce4f7;
  --ig-win-ink: #1a1a1a;
  --ig-shadow: var(--ntg2-shadow-float, 0 2px 10px rgba(0, 0, 0, 0.08));
}
:is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-pager{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 2.4em 0 0;
}
:is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-pager a{
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--ig-line-2);
  border-radius: var(--ig-r);
  background: var(--ig-bg);
  color: var(--ig-ink);
  text-decoration: none;
}
:is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-pager a:hover{
  background: var(--ig-paper);
}
:is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-pager small{
  font-size: 12.5px;
  color: var(--ig-mut);
}
:is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-pager b{
  font-size: 15px;
  line-height: 1.6;
}
:is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-pager .is-next{
  border-color: var(--ig-acc);
  text-align: right;
}
:is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-pager .is-next small{
  color: var(--ig-acc);
}
:is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-pager .is-end{
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--ig-acc);
  border-radius: var(--ig-r);
  background: var(--ig-paper);
}
:is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-steps__st{
  font-size: 12px;
  font-weight: 700;
  color: var(--ig-teal);
  white-space: nowrap;
}
:is(#body_wrap .post_content, .editor-styles-wrapper) :is(.ntg-ig-more, .ntg-ig-choose, .ntg-ig-pager, .ntg-ig-steps) a:visited{
  color: var(--ig-ink);
}
@media (max-width: 640px){
:is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-dl, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-check, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-pager, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-band, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-choose, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-more, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-move{
    grid-template-columns: minmax(0, 1fr);
  }
}
.ntg-ig-nav, .ntg-ig-toc, .ntg-ig-steps{
  --ig-n-bg: var(--ntg2-paper-2, #edeae6);
  --ig-n-ink: var(--ntg2-text, #1a1714);
  --ig-n-sub: var(--ntg2-sub, #5f5a55);
  --ig-n-line: var(--ntg2-line, #e3e0dc);
  --ig-n-hover: var(--ntg2-paper, #f6f5f3);
  --ig-n-acc: var(--ntg2-accent, #b72305);
}
#body_wrap.ntg-ig-page #sidebar .ntg-ig-widget{
  position: sticky;
  /* サイトのヘッダー（#header.ntg2-header、高さ 65px）が上に追従するので、その下に */
  top: calc(var(--wp-admin--admin-bar--height, 0px) + 81px);
  max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 97px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.ntg-ig-nav .ntg-ig-nav__name{
  margin: -4px 0 6px;
  color: var(--ig-n-acc);
  font-size: 12px;
  font-weight: 700;
}
:is(.ntg-ig-nav, .ntg-ig-toc) .ntg-ig-nav__cap{
  margin: 12px 0 4px;
  color: var(--ig-n-sub);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
:is(.ntg-ig-nav, .ntg-ig-toc) ul{
  margin: 0;
  padding: 0;
  list-style: none;
}
:is(.ntg-ig-nav, .ntg-ig-toc) li{
  margin: 0;
  padding: 0;
  border: 0;
}
:is(.ntg-ig-nav, .ntg-ig-toc) li::before{
  content: none;
}
.ntg-ig-nav .ntg-ig-nav__a,
.ntg-ig-nav .ntg-ig-nav__a:visited,
.ntg-ig-toc .ntg-ig-toc__a,
.ntg-ig-toc .ntg-ig-toc__a:visited{
  color: var(--ig-n-ink);
  text-decoration: none;
}
.ntg-ig-nav .ntg-ig-nav__a{
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
}
:is(.ntg-ig-nav .ntg-ig-nav__a, .ntg-ig-toc .ntg-ig-toc__a):hover{
  background: var(--ig-n-hover);
}
:is(.ntg-ig-nav, .ntg-ig-steps) .ntg-ig-nav__n{
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ig-n-bg);
  color: var(--ig-n-ink);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
}
.ntg-ig-nav .ntg-ig-nav__t small{
  margin-left: 4px;
  color: var(--ig-n-sub);
  font-size: 11px;
  font-weight: 400;
}
.ntg-ig-nav li.is-now > .ntg-ig-nav__a{
  background: color-mix(in srgb, var(--ig-n-acc) 10%, transparent);
  font-weight: 700;
}
.ntg-ig-nav li.is-now .ntg-ig-nav__n{
  background: var(--ig-n-acc);
  color: #fff;
}
.ntg-ig-toc{
  margin-top: 10px;
  padding-top: 2px;
  border-top: 1px solid var(--ig-n-line);
}
.ntg-ig-toc .ntg-ig-toc__a{
  display: block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 13.5px;
  line-height: 1.5;
}
.ntg-ig-toc li.is-h2 > .ntg-ig-toc__a{
  font-weight: 700;
}
.ntg-ig-toc li.is-h3 > .ntg-ig-toc__a{
  padding-left: 22px;
  color: var(--ig-n-sub);
  font-size: 13px;
}
#body_wrap.ntg-ig-page .post_content > h2{
  margin: 2.4em 0 0;
  padding: 18px 22px 12px;
  border: 1px solid var(--ntg2-line, #e3e0dc);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: var(--ntg2-paper, #f6f5f3);
}
#body_wrap.ntg-ig-page .post_content > h2 + .ntg-h2-section{
  margin: 0;
  padding: 4px 22px 20px;
  border: 1px solid var(--ntg2-line, #e3e0dc);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: var(--ntg2-paper, #f6f5f3);
}
#body_wrap.ntg-ig-page .post_content h2, #body_wrap.ntg-ig-page .post_content h3{
  scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 81px);
}
:is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-head{
  margin: 0 0 1.2em;
}
:is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-spnav{
  display: none;
}
@media (max-width: 959px){
:is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-spnav{
    display: block;
    border: 1px solid var(--ntg2-line-2, #d3cec7);
    border-radius: 6px;
    background: var(--ntg2-paper, #f6f5f3);
  }
:is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-spnav > summary{
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }
:is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-spnav > .ntg-ig-nav, :is(#body_wrap .post_content, .editor-styles-wrapper) .ntg-ig-spnav > .ntg-ig-toc{
    margin: 0 12px 10px;
  }
#body_wrap.ntg-ig-page .post_content > h2{
    padding: 14px 14px 10px;
  }
#body_wrap.ntg-ig-page .post_content > h2 + .ntg-h2-section{
    padding: 2px 14px 16px;
  }
}
