/* Post trial shell and sticky-sidebar offset; leave article and widget contents intact. */
#body_wrap.hamuya-post-trial-page .hamuya-footer { clear: both; grid-column: 1 / -1; }
#body_wrap.hamuya-post-trial-page:has(#hamuya-trial-footer) .l-footer:not(#hamuya-trial-footer):not(:has(#hamuya-trial-footer)) {
  display: none;
}
/* DevTools-confirmed SWELL sticky element. Reuse the shared shell's live measurements.
   Apply only after the existing JS has written its measured height to the wrapper.
   Do not change position, transforms, widget sizing or the parent's sticky boundary. */
@media (min-width: 960px) {
  #body_wrap.hamuya-post-trial-page[style*="--hamuya-header-height:"] #sidebar #fix_sidebar {
    top: calc(var(--hamuya-header-height) + var(--hamuya-bar-bottom, 0px) + 12px);
  }
}
