/* D-Navi site chrome. Content and article blocks remain owned by SWELL. */

#header {
  min-height: 68px;
  border-top: 0;
  border-bottom: 1px solid #D8D8D4;
  background: #FCFCFA;
  box-shadow: none;
}

#header .l-header__inner {
  min-height: 68px;
  height: 68px;
}

#header .l-header__bar {
  display: none;
}

#header .l-header__logo,
#header .c-headLogo,
#header .c-headLogo__link {
  min-width: 0;
}

#header .c-headLogo__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #1E3A6E;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
}

#header .dnavi-header-wordmark__name {
  color: #1E3A6E;
  font: inherit;
}

#header .dnavi-header-wordmark__badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 0;
  background: #1E3A6E;
  padding: 3px 7px;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

#header .c-headLogo__link:hover,
#header .c-headLogo__link:focus-visible {
  color: #122A50;
}

#header .c-headLogo__link:focus-visible,
#header .c-iconBtn:focus-visible,
#gnav a:focus-visible,
#footer a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

#gnav,
#gnav .c-gnav,
#gnav .c-gnav > li,
#gnav .c-gnav > li > a {
  min-height: 68px;
}

#gnav .c-gnav > li > a {
  padding-right: 16px;
  padding-left: 16px;
  border-radius: 0;
  color: #26364F;
  font-size: 14px;
  font-weight: 600;
}

#gnav .c-gnav > li > a::after {
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 2px;
  border-radius: 0;
  background: #1E3A6E;
}

#gnav .c-gnav > li > a:hover,
#gnav .c-gnav > .current-menu-item > a,
#gnav .c-gnav > li > a[aria-current="page"] {
  color: #1E3A6E;
}

#header .l-header__customBtn,
#header .l-header__menuBtn {
  min-width: 44px;
  min-height: 44px;
}

#header .l-header__customBtn .c-iconBtn,
#header .l-header__menuBtn .c-iconBtn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  border-radius: 0;
  color: #1E3A6E;
}

#footer {
  border-top: 0;
  background: #122A50;
  color: #FFFFFF;
}

#footer .l-footer__inner,
#footer .l-footer__foot {
  background: #122A50;
  color: #FFFFFF;
}

#footer .l-footer__foot {
  padding-top: 0;
  padding-bottom: 0;
}

#footer .l-footer__nav,
#footer .copyright {
  display: none;
}

#footer .dnavi-site-footer {
  padding: 48px 0 22px;
  color: #FFFFFF;
}

#footer .dnavi-site-footer__brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: #FFFFFF;
  text-decoration: none;
}

#footer .dnavi-site-footer__wordmark {
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
}

#footer .dnavi-site-footer__badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 0;
  background: #FFFFFF;
  padding: 3px 8px;
  color: #122A50;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

#footer .dnavi-site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

#footer .dnavi-site-footer__group {
  min-width: 0;
}

#footer .dnavi-site-footer__heading {
  margin: 0 0 14px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

#footer .dnavi-site-footer__links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .dnavi-site-footer__links li {
  margin: 0;
  padding: 0;
}

#footer .dnavi-site-footer__links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}

#footer .dnavi-site-footer__links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

#footer .dnavi-site-footer__copyright {
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .24);
  color: #FFFFFF;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

@media (max-width: 959px) {
  #header {
    min-height: 60px;
  }

  #header .l-header__inner {
    min-height: 60px;
    height: 60px;
  }

  #header .c-headLogo__link {
    font-size: 20px;
  }

  #header .dnavi-header-wordmark__badge {
    min-height: 22px;
    padding-right: 6px;
    padding-left: 6px;
    font-size: 10px;
  }

  #footer .dnavi-site-footer {
    padding-top: 36px;
  }

  #footer .dnavi-site-footer__wordmark {
    font-size: 22px;
  }

  #footer .dnavi-site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #footer .dnavi-site-footer__copyright {
    margin-top: 28px;
  }
}
