/* Cocoon's title wrapper is replaced by the page's own visible H1. */
.ct-public-page .entry-title { display:none; }
.ct-public-page .content-in, .ct-public-page .main, .ct-public-page .article { max-width:none; width:100%; }
.ct-public-page .sidebar { display:none; }
.ct-public-page .main, .ct-public-page .article { padding-left:0; padding-right:0; }
.ct-public-page .entry-content { overflow:visible; }
.ct-public-page .entry-content > p:empty { display:none; }

/* The approved home design owns its header, footer and whitespace. Scope this to home only. */
.ct-home-page .header-container,
.ct-home-page .navi,
.ct-home-page .mobile-header-menu-buttons,
.ct-home-page .footer,
.ct-home-page .footer-bottom,
.ct-home-page .breadcrumb,
.ct-home-page .date-tags,
.ct-home-page .sns-share,
.ct-home-page .sns-follow,
.ct-home-page .go-to-top,
.ct-home-page .entry-header,
.ct-home-page .entry-footer { display:none!important; }
.ct-home-page .content,
.ct-home-page .content-in,
.ct-home-page .main,
.ct-home-page .article,
.ct-home-page .entry-content { max-width:none!important; width:100%!important; margin:0!important; padding:0!important; border:0!important; box-shadow:none!important; }
.ct-home-page .ct8 :is(h1,h2,h3) { background:transparent!important; background-image:none!important; border:0!important; border-radius:0!important; box-shadow:none!important; padding:0!important; }
.ct-home-page .ct8 .ct8-header { display:flex!important; }
.ct-home-page .ct8 .ct8-footer { display:block!important; }
/* Cocoon's article rules must not erase the approved card dividers. */
.ct-home-page .ct8 .ct8-topic { border-top:1px solid #17201d!important; padding:22px 0 29px!important; margin:0!important; }
.ct-home-page .ct8 .ct8-topic .ct8-topic-name { margin:23px 0 9px!important; }
.ct-home-page .ct8 .ct8-topic h3 { margin:0 0 17px!important; }
.ct-home-page .ct8 .ct8-topic > p:not(.ct8-topic-name) { margin:0!important; }
.ct-home-page .ct8 .ct8-topic .ct8-text-link { margin-top:16px!important; }
/* Keep every guide popup centered, with readable space around its text. */
.ct-home-page .ct8 .ct8-dialog:not(.ct8-check-dialog) {
    position:fixed!important;
    inset:0!important;
    margin:auto!important;
    box-sizing:border-box!important;
    max-width:calc(100vw - 32px)!important;
    overflow-y:auto!important;
}
.ct-home-page .ct8 .ct8-dialog-content {
    box-sizing:border-box!important;
    padding:32px 42px 42px!important;
}
.ct-home-page .ct8 .ct8-dialog-content section { margin:28px 0 0!important; padding:23px 0 0!important; }
@media (max-width:600px) {
    .ct-home-page .ct8 .ct8-dialog:not(.ct8-check-dialog) { max-width:calc(100vw - 16px)!important; }
    .ct-home-page .ct8 .ct8-dialog-content { padding:24px 22px 32px!important; }
    .ct-home-page .ct8 .ct8-guide-row { grid-template-columns:58px minmax(0,1fr) 22px!important; gap:12px!important; }
    .ct-home-page .ct8 .ct8-guide-row .ct8-guide-num {
        display:block!important;
        width:58px!important;
        white-space:nowrap!important;
        word-break:keep-all!important;
        overflow-wrap:normal!important;
        font-size:34px!important;
    }
}
/* Dedicated career-check frame; Cocoon remains available to the other pages. */
.ct-check-page .header-container,
.ct-check-page .navi,
.ct-check-page .mobile-header-menu-buttons,
.ct-check-page .footer,
.ct-check-page .footer-bottom,
.ct-check-page .breadcrumb,
.ct-check-page .date-tags,
.ct-check-page .sns-share,
.ct-check-page .sns-follow,
.ct-check-page .go-to-top,
.ct-check-page .entry-header,
.ct-check-page .entry-footer { display:none!important; }
.ct-check-page .content,
.ct-check-page .content-in,
.ct-check-page .main,
.ct-check-page .article,
.ct-check-page .entry-content { max-width:none!important; width:100%!important; margin:0!important; padding:0!important; border:0!important; box-shadow:none!important; }
.ct-check-page .ct-check { width:100%; min-height:100vh; }
.ct-check-page .ct-check :is(h1,h2,h3) { background:none!important; border:0!important; box-shadow:none!important; padding:0!important; }
.ct-check-page .ct-check .ct-check-header { display:block!important; }
.ct-check-page .ct-check .ct-check-footer { display:block!important; }
.ct-check-page .ct-check .brand,
.ct-check-page .ct-check .footer-inner a { color:inherit; text-decoration:none; }
.ct-check-page .ct-check .header-inner,
.ct-check-page .ct-check .footer-inner { box-sizing:border-box; }
/* Market-value article uses its approved editorial frame. */
.ct-market-page .header-container,
.ct-market-page .navi,
.ct-market-page .mobile-header-menu-buttons,
.ct-market-page .footer,
.ct-market-page .footer-bottom,
.ct-market-page .breadcrumb,
.ct-market-page .date-tags,
.ct-market-page .sns-share,
.ct-market-page .sns-follow,
.ct-market-page .go-to-top,
.ct-market-page .entry-header,
.ct-market-page .entry-footer { display:none!important; }
.ct-market-page .content,
.ct-market-page .content-in,
.ct-market-page .main,
.ct-market-page .article,
.ct-market-page .entry-content { max-width:none!important; width:100%!important; margin:0!important; padding:0!important; border:0!important; box-shadow:none!important; }
.ct-market-page .ct-article { width:100%; }
.ct-market-page .ct-article :is(h1,h2,h3) { background:none!important; border:0!important; box-shadow:none!important; padding:0!important; }
.ct-market-page .ct-article .ct-market-header { display:flex!important; }
.ct-market-page .ct-article .ct-market-footer { display:block!important; }
.ct-market-page .ct-article .ct-market-header,
.ct-market-page .ct-article .ct-market-footer .wrap { box-sizing:border-box; }
/* Keep the management article frame independent of Cocoon's page furniture. */
.ct-management-page .header-container,
.ct-management-page .navi,
.ct-management-page .mobile-header-menu-buttons,
.ct-management-page .footer,
.ct-management-page .footer-bottom,
.ct-management-page .breadcrumb,
.ct-management-page .date-tags,
.ct-management-page .sns-share,
.ct-management-page .sns-follow,
.ct-management-page .go-to-top,
.ct-management-page .entry-header,
.ct-management-page .entry-footer { display:none!important; }
.ct-management-page .content,
.ct-management-page .content-in,
.ct-management-page .main,
.ct-management-page .article,
.ct-management-page .entry-content { max-width:none!important; width:100%!important; margin:0!important; padding:0!important; border:0!important; box-shadow:none!important; }
.ct-management-page .ct-article :is(h1,h2,h3) { background:none!important; background-image:none!important; border:0!important; box-shadow:none!important; padding:0!important; }
.ct-management-page .ct-article .ct-market-header { display:flex!important; }
.ct-management-page .ct-article .ct-market-footer { display:block!important; }

/* Keep the preparation article frame independent of Cocoon's page furniture. */
.ct-prep-page .header-container,
.ct-prep-page .navi,
.ct-prep-page .mobile-header-menu-buttons,
.ct-prep-page .footer,
.ct-prep-page .footer-bottom,
.ct-prep-page .breadcrumb,
.ct-prep-page .date-tags,
.ct-prep-page .sns-share,
.ct-prep-page .sns-follow,
.ct-prep-page .go-to-top,
.ct-prep-page .entry-header,
.ct-prep-page .entry-footer { display:none!important; }
.ct-prep-page .content,
.ct-prep-page .content-in,
.ct-prep-page .main,
.ct-prep-page .article,
.ct-prep-page .entry-content { max-width:none!important; width:100%!important; margin:0!important; padding:0!important; border:0!important; box-shadow:none!important; }
.ct-prep-page .ct-article :is(h1,h2,h3) { background:none!important; background-image:none!important; border:0!important; box-shadow:none!important; padding:0!important; }
.ct-prep-page .ct-article .ct-market-header { display:flex!important; }
.ct-prep-page .ct-article .ct-market-footer { display:block!important; }

/* Keep the age articles frame independent of Cocoon's page furniture. */
.ct-age-page .header-container,
.ct-age-page .navi,
.ct-age-page .mobile-header-menu-buttons,
.ct-age-page .footer,
.ct-age-page .footer-bottom,
.ct-age-page .breadcrumb,
.ct-age-page .date-tags,
.ct-age-page .sns-share,
.ct-age-page .sns-follow,
.ct-age-page .go-to-top,
.ct-age-page .entry-header,
.ct-age-page .entry-footer { display:none!important; }
.ct-age-page .content,
.ct-age-page .content-in,
.ct-age-page .main,
.ct-age-page .article,
.ct-age-page .entry-content { max-width:none!important; width:100%!important; margin:0!important; padding:0!important; border:0!important; box-shadow:none!important; }
.ct-age-page .ct-article :is(h1,h2,h3) { background:none!important; background-image:none!important; border:0!important; box-shadow:none!important; padding:0!important; }
.ct-age-page .ct-article .ct-market-header { display:flex!important; }
.ct-age-page .ct-article .ct-market-footer { display:block!important; }
