/* Shared identity. Result-page diagnosis styles and behavior remain separate. */
.cwa-header { width:100%; background:#fff; border-bottom:1px solid #deebf4; color:#123b65; font-family:"Hiragino Kaku Gothic ProN",Meiryo,sans-serif; }
.cwa-header-inner { display:flex; align-items:center; justify-content:space-between; gap:20px; max-width:1024px; margin:0 auto; padding:16px 32px; box-sizing:border-box; }
.cwa-brand { display:inline-flex; align-items:center; gap:9px; flex-shrink:0; color:#0068b7; text-decoration:none; line-height:1; }
.cwa-brand-mark { display:block; position:relative; width:36px; height:36px; }
.cwa-brand-mark::before, .cwa-brand-mark::after { content:""; position:absolute; box-sizing:border-box; width:26px; height:26px; border:4px solid #0068b7; border-radius:50%; }
.cwa-brand-mark::before { left:0; top:1px; }
.cwa-brand-mark::after { bottom:0; right:0; border-color:#f43e76; }
.cwa-brand-words { display:flex; flex-direction:column; gap:6px; }
.cwa-brand-jp { font-size:24px; font-weight:800; letter-spacing:.04em; line-height:1; }
.cwa-brand-en { font-family:Arial,sans-serif; font-size:12px; font-weight:700; letter-spacing:.085em; line-height:1; }
.cwa-header .cwa-ad-note { margin:0; color:#61758a; font-size:12px; line-height:1.6; }
.cwa-brand:focus-visible { outline:3px solid #0068b7; outline-offset:5px; }
.skip-link { position:absolute; top:0; left:0; z-index:100; padding:14px 18px; background:#0068b7; color:#fff; transform:translateY(-110%); font-size:16px; }
.skip-link:focus { transform:translateY(0); }
.c-footer { background:#f6fafe; color:#4c647b; font-family:"Hiragino Kaku Gothic ProN",Meiryo,sans-serif; border-top:1px solid #deebf4; }
.c-footer .c-footer_inner { max-width:1024px; width:auto; margin:0 auto; padding:32px; text-align:left; box-sizing:border-box; }
.c-footer .cwa-brand { margin-bottom:24px; }
.c-footer .c-footer_category { margin:0 0 12px; font-size:14px; font-weight:700; color:#244a6c; }
.c-footer ul { display:flex; flex-wrap:wrap; gap:10px 22px; margin:0 0 20px; padding:0; list-style:none; font-size:14px; line-height:1.7; }
.c-footer p, .c-footer small { display:block; margin:0; font-size:12px; line-height:1.8; color:#5c7082; }
.c-footer small { margin-top:8px; }
@media (max-width:700px) {
  .cwa-header-inner { max-width:520px; padding:14px 18px; gap:10px; }
  .cwa-header .cwa-ad-note { max-width:144px; font-size:12px; }
  .cwa-brand-jp { font-size:21px; }
  .cwa-brand-mark { width:32px; height:32px; }
  .cwa-brand-mark::before, .cwa-brand-mark::after { width:23px; height:23px; }
  .c-footer .c-footer_inner { max-width:520px; padding:28px 24px; }
}
@media (max-width:355px) {
  .cwa-header-inner { flex-wrap:wrap; gap:9px; }
  .cwa-header .cwa-ad-note { max-width:none; }
}

/* Site-information footer links. */
.c-footer li a { color:inherit; text-decoration:underline; text-decoration-color:transparent; text-underline-offset:4px; }
.c-footer li a:hover { text-decoration-color:currentColor; }
.c-footer li a:focus-visible { outline:3px solid #0081a1; outline-offset:4px; text-decoration-color:currentColor; }
