:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper){
  --nettoge-retro-block-scope: 1;
}
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-group.has-background:not(.is-style-parchment):not(.is-style-browser_mac):not(.is-style-desktop):not([class*="is-style-big_icon"]):not([class*="-background-color"]):not([style*="background"]){
  border: 1px solid var(--nettoge-retro-block-card-border);
  border-radius: var(--nettoge-retro-block-radius);
  box-shadow: var(--nettoge-retro-block-card-shadow);
  background: var(--nettoge-retro-block-card-bg);
}
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
.wp-block-table:not(.etb-table):not(.custom-table-1407):not(.sparkingzerocharacterunlock):not(.sparkingzeroepisode-table){
  border-radius: var(--nettoge-retro-block-radius);
}
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
.cap_box:not(.is-style-parchment){
  /* 2026-09-26 v2 の角丸にそろえる（依頼主「今のサイトデザインとMatchしていないところを直す」） */
  border-radius: var(--ntg2-radius);
}
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
.cap_box:not([data-colset]):not(.is-style-parchment){
  --capbox-color: var(--nettoge-retro-block-notice-title-bg);
  --capbox-color--bg: var(--nettoge-retro-block-notice-bg);
}
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
.swell-block-accordion:not(.is-style-simple):not(.is-style-border):not(.is-style-main):not(.is-style-acc-ff14):not(.is-style-teaser-blur):not(.is-style-teaser-inline){
  --nettoge-retro-acc-accent: var(--nettoge-retro-acc-accent-default);
  /* Open tint mixes onto solid surface (transparent card-bg breaks color-mix). */
  --nettoge-retro-acc-open-bg: color-mix(
    in srgb,
    var(--nettoge-retro-acc-accent) var(--nettoge-retro-acc-open-mix, 12%),
    var(--nettoge-retro-acc-tint-base, var(--ntg-surface-1))
  );
  --ntg-acc-ink: var(--nettoge-retro-acc-title-fg);
  /* Index nums (01) + CSS plus bars use --ntg-acc-muted → accent-colored */
  --ntg-acc-muted: var(--nettoge-retro-acc-accent);
  --ntg-acc-body: var(--ntg-ink, var(--color_text));
  --ntg-acc-line: var(--nettoge-retro-acc-card-border);
  --ntg-acc-line-strong: var(--nettoge-retro-acc-accent);
  --ntg-acc-open-bg: var(--nettoge-retro-acc-card-bg);
  --ntg-acc-summary-open-bg: var(--nettoge-retro-acc-open-bg);
  --ntg-acc-panel-open-bg: var(--nettoge-retro-acc-card-bg);
  --ntg-acc-hover-bg: var(--nettoge-retro-acc-hover-bg);
}
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
.swell-block-accordion:not(.is-style-simple):not(.is-style-border):not(.is-style-main):not(.is-style-acc-ff14):not(.is-style-teaser-blur):not(.is-style-teaser-inline)
> .swell-block-accordion__item:not(.is-style-teaser-blur):not(.is-style-teaser-inline){
  background: var(--nettoge-retro-acc-card-bg);
  border: 1px solid var(--nettoge-retro-acc-card-border);
  border-left: 4px solid var(--nettoge-retro-acc-accent);
  border-radius: var(--nettoge-retro-acc-card-radius, var(--nettoge-retro-block-radius));
  box-shadow: var(--nettoge-retro-acc-card-shadow);
  overflow: hidden;
}
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
.swell-block-accordion:not(.is-style-simple):not(.is-style-border):not(.is-style-main):not(.is-style-acc-ff14):not(.is-style-teaser-blur):not(.is-style-teaser-inline)
> .swell-block-accordion__item:not(.is-style-teaser-blur):not(.is-style-teaser-inline):is([open], .is-opened){
  border-color: var(--nettoge-retro-acc-accent);
  box-shadow: var(--nettoge-retro-acc-card-open-shadow);
}
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
.swell-block-accordion:not(.is-style-simple):not(.is-style-border):not(.is-style-main):not(.is-style-acc-ff14):not(.is-style-teaser-blur):not(.is-style-teaser-inline)
> .swell-block-accordion__item:not(.is-style-teaser-blur):not(.is-style-teaser-inline) > .swell-block-accordion__title{
  padding: 14px 16px 14px 18px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  /* No: :is(.post_content…) ancestor already outweighs SWELL block CSS */
  color: var(--nettoge-retro-acc-title-fg);
  background: transparent;
  border-left: 0;
  text-shadow: none;
  box-shadow: none;
}
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
.swell-block-accordion:not(.is-style-simple):not(.is-style-border):not(.is-style-main):not(.is-style-acc-ff14):not(.is-style-teaser-blur):not(.is-style-teaser-inline)
> .swell-block-accordion__item:not(.is-style-teaser-blur):not(.is-style-teaser-inline) > .swell-block-accordion__title:hover{
  background-color: var(--nettoge-retro-acc-hover-bg);
}
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
.swell-block-accordion:not(.is-style-simple):not(.is-style-border):not(.is-style-main):not(.is-style-acc-ff14):not(.is-style-teaser-blur):not(.is-style-teaser-inline)
> .swell-block-accordion__item:not(.is-style-teaser-blur):not(.is-style-teaser-inline) > .swell-block-accordion__title:focus-visible{
  outline: 2px solid var(--ntg-focus, var(--ntg-info, #2B6F9E));
  outline-offset: 2px;
}
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
.swell-block-accordion:not(.is-style-simple):not(.is-style-border):not(.is-style-main):not(.is-style-acc-ff14):not(.is-style-teaser-blur):not(.is-style-teaser-inline)
> .swell-block-accordion__item:not(.is-style-teaser-blur):not(.is-style-teaser-inline):is([open], .is-opened) > .swell-block-accordion__title{
  color: var(--nettoge-retro-acc-title-fg);
  background-color: var(--nettoge-retro-acc-open-bg);
  border-bottom-color: var(--nettoge-retro-acc-card-border);
}
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
.swell-block-accordion:not(.is-style-simple):not(.is-style-border):not(.is-style-main):not(.is-style-acc-ff14):not(.is-style-teaser-blur):not(.is-style-teaser-inline)
> .swell-block-accordion__item:not(.is-style-teaser-blur):not(.is-style-teaser-inline) > .swell-block-accordion__title
.swell-block-accordion__icon{
  width: 30px;
  height: 30px;
  border: 1px solid var(--nettoge-retro-acc-icon-border);
  background: var(--nettoge-retro-acc-icon-bg);
  transition: transform .46s var(--ntg-acc-ease), background-color .3s, border-color .3s;
}
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
.swell-block-accordion:not(.is-style-simple):not(.is-style-border):not(.is-style-main):not(.is-style-acc-ff14):not(.is-style-teaser-blur):not(.is-style-teaser-inline)
> .swell-block-accordion__item:not(.is-style-teaser-blur):not(.is-style-teaser-inline):is([open], .is-opened) > .swell-block-accordion__title
.swell-block-accordion__icon{
  background: var(--nettoge-retro-acc-accent);
  border-color: var(--nettoge-retro-acc-accent);
}
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
.swell-block-accordion:not(.is-style-simple):not(.is-style-border):not(.is-style-main):not(.is-style-acc-ff14):not(.is-style-teaser-blur):not(.is-style-teaser-inline)
> .swell-block-accordion__item:not(.is-style-teaser-blur):not(.is-style-teaser-inline):is([open], .is-opened) > .swell-block-accordion__title
.swell-block-accordion__icon::before,
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
.swell-block-accordion:not(.is-style-simple):not(.is-style-border):not(.is-style-main):not(.is-style-acc-ff14):not(.is-style-teaser-blur):not(.is-style-teaser-inline)
> .swell-block-accordion__item:not(.is-style-teaser-blur):not(.is-style-teaser-inline):is([open], .is-opened) > .swell-block-accordion__title
.swell-block-accordion__icon::after{
  background: var(--nettoge-retro-acc-icon-bg);
}
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
.swell-block-accordion:is(.is-style-simple, .is-style-border)
> .swell-block-accordion__item{
  border-color: var(--nettoge-retro-block-panel-border);
  border-radius: var(--nettoge-retro-block-radius);
}
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
:is(.p-blogCard--nettoge, .p-blogCard.-internal, .p-blogCard.-external):not(.p-blogCard--l04){
  background: var(--nettoge-retro-blogcard-bg, var(--nettoge-retro-content-bg));
  border: 1px solid var(--nettoge-retro-blogcard-border, var(--nettoge-retro-core-card-border));
  border-radius: var(--nettoge-retro-block-radius);
  box-shadow: var(--nettoge-retro-blogcard-shadow, none);
  color: var(--nettoge-retro-blogcard-fg, var(--nettoge-retro-block-list-title));
}
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
.p-postList .p-postList__title{
  color: var(--nettoge-retro-block-step-title);
}
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
:is(.nexus-card, .nmc, .etb-wrapper, .etb-guide, .ng-stepper, .game-mod-block, .isr-block, .ant-container, .inline-gallery-lightbox){
  /* NettogeCore owns chrome — do not inherit block panel vars onto internals */
  --nettoge-retro-block-panel-border: var(--border-swell-box, var(--color_border));
}
@media (max-width: 599px){
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack{
    overflow: visible;
  }
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack table{
    display: block;
    width: 100%;
    border: 0;
    white-space: normal;
  }
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack thead{
    display: none;
  }
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack :is(tbody, tr, td, th){
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  
  .wp-block-table.is-style-nettoge-stack tr{
    margin: 0 0 12px;
    border: 1px solid var(--swl-table-modern-row-border, var(--nettoge-retro-block-list-border));
    border-bottom-color: var(--swl-table-modern-bottom-border, var(--nettoge-retro-block-list-border));
    background: var(--swl-table-modern-cell-bg, var(--nettoge-retro-block-panel-bg));
    box-shadow: var(--nettoge-retro-block-step-shadow, none);
  }
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack tbody :is(td, th){
    background: transparent;
    position: relative;
    padding: 7px 10px 7px 66px;
    border: 0;
    border-top: 1px solid var(--swl-table-modern-row-border, var(--nettoge-retro-block-list-border));
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-break: normal;
    line-break: strict;
  }
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack tbody tr > :first-child{
    border-top: 0;
  }
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack tbody :is(td, th)::before{
    /* ラベル列 = th と同じ面と文字 */
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 56px;
    padding: 7px 6px;
    box-sizing: border-box;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--swl-table-modern-header-text, var(--nettoge-retro-table-header-fg));
    background: var(--swl-table-modern-header-bg, var(--nettoge-retro-table-header-bg));
    border-right: 1px solid var(--swl-table-modern-row-border, var(--nettoge-retro-block-list-border));
  }
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack tbody :is(td, th):nth-child(1){
    font-size: 12.5px;
    color: var(--nettoge-retro-block-list-muted);
  }
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack tbody :is(td, th):nth-child(1)::before{ content: "英語"; }
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack tbody :is(td, th):nth-child(2)::before{ content: "修正前"; }
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack tbody :is(td, th):nth-child(3)::before{ content: "修正後"; }
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack tbody :is(td, th):nth-child(4){
    font-size: 12.5px;
    color: var(--nettoge-retro-block-list-muted);
  }
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack tbody :is(td, th):nth-child(4)::before{ content: "注"; }
}
@media (min-width: 600px){
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack table{
    table-layout: fixed;
    width: 100%;
  }
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack :is(th, td){
    vertical-align: top;
    overflow-wrap: break-word;
    word-break: normal;
    line-break: strict;
    white-space: normal;
  }
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack tr > :nth-child(1){
    width: 20%;
    min-width: 0;
    max-width: none;
  }
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack tr > :nth-child(2),
  :is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack tr > :nth-child(3){
    width: 26%;
  }
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack tr > :nth-child(4){
    width: 28%;
    font-size: 13px;
  }
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper)
  .wp-block-table.is-style-nettoge-stack tr > :nth-child(1){
    font-size: 13px;
  }
}
