/* =========================================================
   キャリア点検室｜共通ヘッダー・フッター統一
   トップページの確定デザインに合わせる
   ========================================================= */
.ct-article .ct-market-topbar{
  background:#f7f7f2;
  color:#17201d;
  width:100%;
}

.ct-article .ct-market-header{
  width:min(1400px,calc(100% - 104px));
  margin:0 auto;
  min-height:108px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.ct-article .ct-market-brand{
  display:flex;
  align-items:center;
  gap:13px;
  color:inherit;
  text-decoration:none;
  font-weight:800;
  font-size:20px;
  line-height:1.5;
  letter-spacing:-.035em;
  white-space:nowrap;
}

.ct-article .ct-market-brand small{
  display:block;
  font-family:Inter,Arial,sans-serif;
  font-size:10px;
  line-height:1.8;
  font-weight:400;
  letter-spacing:.14em;
}

.ct-article .ct-market-mark{
  display:flex;
  align-items:flex-end;
  gap:4px;
  height:31px;
  padding-bottom:4px;
  border-bottom:1px solid currentColor;
}

.ct-article .ct-market-mark i{
  display:block;
  width:5px;
  height:16px;
  background:currentColor;
}
.ct-article .ct-market-mark i:nth-child(2){height:25px;}
.ct-article .ct-market-mark i:nth-child(3){height:20px;background:#758374;}

.ct-article .ct-market-nav{
  display:flex;
  align-items:center;
  gap:27px;
  font-size:12px;
}

.ct-article .ct-market-nav a{
  color:inherit;
  text-decoration:none;
  white-space:nowrap;
}

.ct-article .ct-market-nav a:not(.ct-market-check-link):hover{
  text-decoration:underline;
  text-underline-offset:7px;
}

.ct-article .ct-market-check-link{
  border:1px solid #17201d;
  background:transparent;
  padding:10px 16px;
  min-height:44px;
  display:inline-flex;
  align-items:center;
}

.ct-article .ct-market-mobile-menu{display:none;}

/* footer */
.ct-article .ct-market-footer{
  background:#17201d;
  color:#f7f7f2;
  padding:42px 0;
}

.ct-article .ct-market-footer-inner{
  width:min(1400px,calc(100% - 104px));
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
}

.ct-article .ct-market-footer .ct-market-brand{
  color:#f7f7f2;
}

.ct-article .ct-market-footer p{
  margin:14px 0 0;
  font-size:12px;
  line-height:1.9;
  color:#c2cbbf;
}

.ct-article .ct-market-footer nav{
  display:flex;
  gap:26px;
  font-size:12px;
}

.ct-article .ct-market-footer nav a{
  color:#f7f7f2;
  text-decoration:none;
}

.ct-article .ct-market-footer>div>small{
  font-family:Inter,Arial,sans-serif;
  font-size:10px;
  line-height:1;
  color:#f7f7f2;
}

@media (max-width:1100px){
  .ct-article .ct-market-header,
  .ct-article .ct-market-footer-inner{
    width:calc(100% - 64px);
  }
  .ct-article .ct-market-nav{gap:17px;}
}

@media (max-width:800px){
  .ct-article .ct-market-nav{display:none;}
  .ct-article .ct-market-mobile-menu{
    display:block;
    position:relative;
    font-size:12px;
  }
  .ct-article .ct-market-mobile-menu summary{
    padding:12px 0;
    cursor:pointer;
  }
  .ct-article .ct-market-mobile-menu nav{
    position:absolute;
    right:0;
    top:46px;
    z-index:30;
    min-width:210px;
    padding:10px 20px;
    background:#f7f7f2;
    border:1px solid #ccd0c8;
  }
  .ct-article .ct-market-mobile-menu nav a{
    display:block;
    padding:12px 0;
    color:#17201d;
    text-decoration:none;
    white-space:nowrap;
    font-size:13px;
  }
}

@media (max-width:600px){
  .ct-article .ct-market-header,
  .ct-article .ct-market-footer-inner{
    width:calc(100% - 40px);
  }
  .ct-article .ct-market-header{min-height:86px;}
  .ct-article .ct-market-brand{
    gap:10px;
    font-size:17px;
  }
  .ct-article .ct-market-brand small{font-size:9px;}
  .ct-article .ct-market-footer{padding:32px 0;}
  .ct-article .ct-market-footer-inner{display:block;}
  .ct-article .ct-market-footer nav{
    margin:24px 0;
    gap:22px;
    font-size:11px;
  }
}

/* Cocoon article defaults must not change the approved section sizes or seven worksheet tables. */
.ct-prep-page .ct-article .reading .toc { border:0!important; outline:0!important; box-shadow:none!important; background:transparent!important; padding:0!important; }
.ct-prep-page .ct-article .reading .toc::before,
.ct-prep-page .ct-article .reading .toc::after { content:none!important; }
.ct-prep-page .ct-article .reading .toc .eyebrow { padding:0!important; border:0!important; background:transparent!important; }
.ct-prep-page .ct-article .reading section[id^="s"] > h2 { font-size:clamp(27px,3vw,39px)!important; line-height:1.45!important; font-weight:850!important; letter-spacing:-.055em!important; margin:16px 0 25px!important; background:transparent!important; background-image:none!important; border:0!important; box-shadow:none!important; padding:0!important; }
.ct-prep-page .ct-article .reading section[id^="s"] > h3 { font-size:21px!important; line-height:1.6!important; background:transparent!important; background-image:none!important; border:0!important; box-shadow:none!important; padding:0!important; }
.ct-prep-page .ct-article .reading section .number { font-size:42px!important; }
.ct-prep-page .ct-article .table-wrap { overflow:auto!important; border-top:1px solid #17201d!important; }
.ct-prep-page .ct-article .table-wrap table { width:100%!important; border-collapse:collapse!important; border-spacing:0!important; border:0!important; box-shadow:none!important; background:transparent!important; font-size:13px!important; line-height:1.8!important; }
.ct-prep-page .ct-article .table-wrap table tr { background:transparent!important; border:0!important; }
.ct-prep-page .ct-article .table-wrap table :is(th,td) { padding:17px 15px!important; text-align:left!important; vertical-align:top!important; background:transparent!important; border:0!important; border-bottom:1px solid #ccd0c8!important; box-shadow:none!important; }
.ct-prep-page .ct-article .table-wrap table thead,
.ct-prep-page .ct-article .table-wrap table thead :is(th,td) { background:#e8ede5!important; }
.ct-prep-page .ct-article .ct-market-nav a { display:inline-flex!important; }
@media(max-width:800px){
  .ct-prep-page .ct-article .ct-market-nav { display:none!important; }
  .ct-prep-page .ct-article .ct-market-mobile-menu { margin:0!important; padding:0!important; background:transparent!important; border:0!important; }
  .ct-prep-page .ct-article .ct-market-mobile-menu nav a { display:block!important; }
}
@media(max-width:680px){
  .ct-prep-page .ct-article .reading section[id^="s"] > h2 { font-size:29px!important; }
}

/* Preserve the large hero and the portfolio preview heading. */
.ct-prep-page .ct-article .hero h1 { font-size:clamp(42px,5.7vw,79px)!important; line-height:1.17!important; font-weight:900!important; letter-spacing:-.065em!important; }
.ct-prep-page .ct-article .reading .intro { font-size:18px!important; line-height:2!important; }
.ct-prep-page .ct-article .portfolio-head h3 { font-size:28px!important; line-height:1.45!important; }
.ct-prep-page .ct-article .table-wrap table { margin:0!important; }
.ct-prep-page .ct-article .table-wrap table caption { caption-side:top!important; text-align:left!important; padding:12px 0!important; color:#5c665f!important; background:transparent!important; font-size:12px!important; border:0!important; }
@media(max-width:680px){
  .ct-prep-page .ct-article .hero h1 { font-size:12vw!important; }
  .ct-prep-page .ct-article .reading .intro { font-size:16px!important; }
  .ct-prep-page .ct-article .portfolio-head h3 { font-size:24px!important; }
}
