/*

 * Hiroshima Bunkyo University — renewed site header

 * Isolated from the legacy app.css header rules by the hbu-* namespace.

 */



:root {

  --hbu-brand: #075aa8;

  --hbu-brand-dark: #063f76;

  --hbu-brand-deep: #062f58;

  --hbu-accent: #c4511f;

  --hbu-global: #006c73;

  --hbu-global-dark: #004f5a;

  --hbu-global-light: #067870;

  --hbu-dept-education: #b53f43;

  --hbu-dept-welfare: #187a5b;

  --hbu-dept-psychology: #67538f;

  --hbu-dept-nutrition: #9b5a0d;

  --hbu-dept-global: #176f86;

  --hbu-ink: #17212b;

  --hbu-muted: #5c6975;

  --hbu-line: #dce4eb;

  --hbu-soft: #f3f7fa;

  --hbu-white: #fff;

  --hbu-header-max: 1440px;

  --hbu-content-max: 1280px;

  --hbu-desktop-header-height: 120px;

  --hbu-mobile-header-height: 68px;

  --hbu-admin-bar-offset: 0px;

}



body.admin-bar {

  --hbu-admin-bar-offset: 32px;

}



body.hbu-header-renewal-enabled {

  height: auto;

  min-height: 100%;

  overflow: visible;

  overflow-x: clip;

}



html.hbu-nav-open,

body.hbu-nav-open {

  overflow: hidden;

}



body.hbu-header-renewal-enabled .l-side-orange,

body.hbu-header-renewal-enabled .l-side-search,

body.hbu-header-renewal-enabled .l-side-nav {

  display: none !important;

}



.hbu-site-header [hidden],

.hbu-header-backdrop[hidden] {

  display: none !important;

}



.hbu-site-header,

.hbu-site-header *,

.hbu-site-header *::before,

.hbu-site-header *::after,

.hbu-header-backdrop {

  box-sizing: border-box;

}



.hbu-site-header {

  position: sticky;

  top: var(--hbu-admin-bar-offset);

  z-index: 1500;

  width: 100%;

  color: var(--hbu-ink);

  background: var(--hbu-white);

  border-bottom: 1px solid var(--hbu-line);

  box-shadow: 0 2px 12px rgba(6, 47, 88, 0.06);

  font-family: "Noto Sans JP", "Noto Sans", "Yu Gothic", "Meiryo", sans-serif;

  word-break: normal;

  overflow-wrap: normal;

}



.hbu-site-header .screen-reader-text {

  position: absolute !important;

  width: 1px !important;

  height: 1px !important;

  padding: 0 !important;

  margin: -1px !important;

  overflow: hidden !important;

  clip: rect(0, 0, 0, 0) !important;

  white-space: nowrap !important;

  border: 0 !important;

}



.hbu-site-header ul,

.hbu-site-header ol,

.hbu-site-header p,

.hbu-site-header h2,

.hbu-site-header h3 {

  padding: 0;

  margin: 0;

}



.hbu-site-header h2,

.hbu-site-header h3 {

  font-family: inherit;

  text-align: left;

}



.hbu-site-header :where(section) {

  display: block;

  padding: 0;

  margin: 0;

  background: transparent;

  border: 0;

}



.hbu-site-header .hbu-mobile-menu__group {

  margin: 0;

  font-family: inherit;

  background: transparent;

  animation: none;

}



.hbu-site-header .hbu-mobile-menu__group > summary {

  font-family: inherit;

  background: transparent;

  border: 0;

  animation: none;

}



.hbu-site-header ul,

.hbu-site-header ol {

  list-style: none;

}



.hbu-site-header a,

.hbu-site-header button,

.hbu-site-header input {

  font: inherit;

}



.hbu-site-header button {

  padding: 0;

  color: inherit;

  background: none;

  border: 0;

  cursor: pointer;

}



.hbu-site-header a {

  color: inherit;

  text-decoration: none;

  width: auto;

  height: auto;

  opacity: 1;

}



.hbu-site-header a:hover,

.hbu-skip-link:hover {

  opacity: 1;

}



.hbu-site-header a:focus-visible,

.hbu-site-header button:focus-visible,

.hbu-site-header input:focus-visible,

.hbu-site-header summary:focus-visible {

  outline: 2px solid #fff;

  outline-offset: 2px;

  box-shadow: 0 0 0 5px var(--hbu-brand-deep);

}



.hbu-skip-link {

  position: fixed;

  top: calc(var(--hbu-admin-bar-offset) + 8px);

  left: 12px;

  z-index: 1600;

  padding: 10px 16px;

  color: #fff;

  background: var(--hbu-brand-deep);

  border-radius: 4px;

  display: inline-flex;

  width: auto;

  height: auto;

  transform: translateY(-150%);

  transition: transform 0.2s ease;

}



.hbu-skip-link:focus {

  color: #fff;

  transform: translateY(0);

}



.hbu-site-header__utility {

  height: 36px;

  background: var(--hbu-soft);

  border-bottom: 1px solid #e7edf2;

}



.hbu-site-header__utility-inner {

  display: flex;

  align-items: center;

  width: min(100% - 48px, var(--hbu-header-max));

  height: 100%;

  margin-inline: auto;

}



.hbu-site-header__audience-group {

  display: flex;

  align-items: center;

  height: 100%;

  min-width: 0;

}



.hbu-site-header__lcic-link {

  position: relative;

  display: flex !important;

  flex: 0 0 auto;

  align-items: center;

  min-height: 36px;

  padding: 0 8px;

  margin-right: 15px;

  color: #33414e;

  font-size: 11px;

  font-weight: 500;

  white-space: nowrap;

  text-underline-offset: 3px;

  transition: color 0.18s ease;

}



.hbu-site-header a.hbu-site-header__lcic-link {

  font-size: 11px;

  font-weight: 500;

}



.hbu-site-header__lcic-link::before {

  position: absolute;

  top: 50%;

  left: 0;

  width: 1px;

  height: 10px;

  content: "";

  background: #cbd6de;

  transform: translateY(-50%);

}



.hbu-site-header__lcic-link:hover {

  color: var(--hbu-global-dark) !important;

  text-decoration: underline;

}



.hbu-site-header__audience-label {

  display: none;

}



.hbu-site-header__utility-list {

  display: flex;

  align-items: center;

  height: 100%;

}



.hbu-site-header__utility-list--right {

  margin-left: auto !important;

}



.hbu-site-header__utility-list li {

  position: relative;

}



.hbu-site-header__utility-list li + li::before {

  position: absolute;

  top: 50%;

  left: 0;

  width: 1px;

  height: 10px;

  content: "";

  background: #cbd6de;

  transform: translateY(-50%);

}



.hbu-site-header__utility-list a {

  display: flex;

  gap: 4px;

  align-items: center;

  min-height: 36px;

  padding: 0 8px;

  color: #33414e;

  font-size: 11px;

  font-weight: 500;

  white-space: nowrap;

  transition: color 0.18s ease, background-color 0.18s ease;

}



.hbu-site-header__utility-list a:hover {

  color: var(--hbu-brand);

  background: #eaf1f7;

}



.hbu-external-mark {

  color: var(--hbu-brand);

  font-size: 10px;

}



.hbu-site-header__primary {

  display: grid;

  grid-template-columns: minmax(220px, 300px) minmax(560px, 1fr) auto;

  align-items: stretch;

  width: min(100% - 48px, var(--hbu-header-max));

  height: 84px;

  margin-inline: auto;

}



.hbu-site-header__brand {

  display: flex;

  align-items: center;

  min-width: 0;

  padding-right: 26px;

}



.hbu-site-header__brand picture,

.hbu-site-header__brand img {

  display: block;

}



.hbu-site-header__brand img {

  width: min(100%, 258px);

  height: auto;

}



.hbu-site-header__nav,

.hbu-site-header__nav > ul,

.hbu-site-header__nav > ul > li {

  height: 100%;

}



.hbu-site-header__nav > ul {

  display: grid;

  grid-template-columns: repeat(5, minmax(100px, 1fr));

}



.hbu-site-header__nav > ul > li {

  position: relative;

}



.hbu-site-header__nav-trigger {

  position: relative;

  display: flex;

  flex-direction: column;

  gap: 4px;

  align-items: center;

  justify-content: center;

  width: 100%;

  height: 100%;

  padding: 12px 8px !important;

  line-height: 1.25;

  transition: color 0.2s ease, background-color 0.2s ease;

}



.hbu-site-header__nav-trigger::after {

  position: absolute;

  right: 16%;

  bottom: 0;

  left: 16%;

  height: 4px;

  content: "";

  background: var(--hbu-brand);

  border-radius: 4px 4px 0 0;

  opacity: 0;

  transform: scaleX(0.45);

  transition: opacity 0.2s ease, transform 0.2s ease;

}



.hbu-site-header__nav-trigger > span {

  font-size: clamp(13px, 1vw, 15px);

  font-weight: 700;

  letter-spacing: 0.02em;

  white-space: nowrap;

}



.hbu-site-header__nav-trigger small {

  color: #596773;

  font-family: "Open Sans", sans-serif;

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 0.11em;

  transition: color 0.2s ease;

}



.hbu-site-header__nav > ul > li.is-current .hbu-site-header__nav-trigger,

.hbu-site-header__nav-trigger:hover,

.hbu-site-header__nav-trigger[aria-expanded="true"] {

  color: var(--hbu-brand-dark);

  background: #f6f9fc;

}



.hbu-site-header__nav > ul > li.is-current .hbu-site-header__nav-trigger::after,

.hbu-site-header__nav-trigger:hover::after,

.hbu-site-header__nav-trigger[aria-expanded="true"]::after {

  opacity: 1;

  transform: scaleX(1);

}



.hbu-site-header__nav-trigger[aria-expanded="true"] small {

  color: var(--hbu-brand);

}



.hbu-site-header__actions {

  display: grid;

  grid-template-columns: 70px 104px 78px;

  min-width: 252px;

  margin-left: 10px;

}



.hbu-header-action {

  display: flex !important;

  flex-direction: column;

  gap: 4px;

  align-items: center;

  justify-content: center;

  min-width: 0;

  min-height: 44px;

  text-align: center;

  transition: background-color 0.18s ease, color 0.18s ease;

}



.hbu-header-action--icon {

  color: var(--hbu-brand-dark) !important;

  background: #f3f7fa !important;

}



.hbu-header-action--icon:hover,

.hbu-header-action--icon[aria-expanded="true"] {

  color: #fff !important;

  background: var(--hbu-brand-dark) !important;

}



.hbu-header-action--icon svg {

  width: 21px;

  height: 21px;

  fill: none;

  stroke: currentColor;

  stroke-linecap: round;

  stroke-width: 1.8;

}



.hbu-header-action--icon span {

  font-size: 11px;

  font-weight: 700;

}



.hbu-header-action--apply {

  position: relative;

  color: #fff !important;

  background: var(--hbu-accent);

}



.hbu-header-action--apply .hbu-header-action__external {

  position: absolute;

  top: 7px;

  right: 7px;

  font-size: 9px;

  font-weight: 700;

  line-height: 1;

}



.hbu-header-action--apply:hover {

  color: #fff;

  background: #a43e14;

}



.hbu-header-action--apply span {

  font-size: 15px;

  font-weight: 700;

}



.hbu-header-action--apply small {

  font-family: "Open Sans", sans-serif;

  font-size: 8px;

  font-weight: 700;

  letter-spacing: 0.12em;

}



.hbu-header-action--menu {

  color: #fff !important;

  background: var(--hbu-brand) !important;

}



.hbu-header-action--menu:hover,

.hbu-header-action--menu[aria-expanded="true"] {

  background: var(--hbu-brand-deep) !important;

}



.hbu-menu-icon {

  position: relative;

  display: flex;

  flex-direction: column;

  gap: 5px;

  width: 24px;

  height: 17px;

}



.hbu-menu-icon i {

  display: block;

  width: 24px;

  height: 2px;

  margin: 0;

  background: currentColor;

  border-radius: 2px;

  transition: transform 0.22s ease, opacity 0.16s ease;

}



.hbu-header-action--menu[aria-expanded="true"] .hbu-menu-icon i:nth-child(1) {

  transform: translateY(7px) rotate(45deg);

}



.hbu-header-action--menu[aria-expanded="true"] .hbu-menu-icon i:nth-child(2) {

  opacity: 0;

}



.hbu-header-action--menu[aria-expanded="true"] .hbu-menu-icon i:nth-child(3) {

  transform: translateY(-7px) rotate(-45deg);

}



.hbu-menu-label {

  font-size: 10px;

  font-weight: 700;

}



.hbu-site-header__panels {

  position: absolute;

  top: 100%;

  right: 0;

  left: 0;

  z-index: 1002;

  pointer-events: none;

}



.hbu-mega-panel {

  width: 100%;

  max-height: calc(100vh - var(--hbu-desktop-header-height) - var(--hbu-admin-bar-offset) - 24px);

  overflow-y: auto;

  overscroll-behavior: contain;

  background: #fff;

  border-top: 1px solid var(--hbu-line);

  box-shadow: 0 20px 45px rgba(5, 38, 69, 0.2);

}



.hbu-mega-panel:not([hidden]) {

  pointer-events: auto;

}



.hbu-mega-panel__inner {

  display: grid;

  grid-template-columns: 220px minmax(0, 1fr);

  gap: clamp(28px, 3vw, 44px);

  width: min(100% - 40px, var(--hbu-content-max));

  padding: 36px 0 44px;

  margin-inline: auto;

}



.hbu-mega-panel__intro {

  padding-right: 10px;

}



.hbu-mega-panel__english {

  margin-bottom: 9px !important;

  color: var(--hbu-brand);

  font-family: "Open Sans", sans-serif;

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 0.2em;

}



.hbu-mega-panel__intro h2,

.hbu-mega-panel--search h2,

.hbu-all-menu__heading h2 {

  color: var(--hbu-ink);

  font-size: clamp(24px, 2.2vw, 34px);

  font-weight: 700;

  line-height: 1.35;

}



.hbu-mega-panel__intro > p:not(.hbu-mega-panel__english) {

  margin-top: 18px !important;

  color: var(--hbu-muted);

  font-size: 14px;

  line-height: 1.9;

}



.hbu-site-header a.hbu-mega-panel__overview {

  display: flex !important;

  gap: 16px;

  align-items: center;

  justify-content: space-between;

  min-height: 56px;

  padding: 8px 4px 8px 8px;

  margin-top: 26px;

  color: var(--hbu-brand-deep) !important;

  font-size: 14px;

  font-weight: 700;

  line-height: 1.5;

  background: transparent;

  border-top: 1px solid #7893a7;

  border-bottom: 1px solid #7893a7;

  border-radius: 0;

  transition: color 0.18s ease, background-color 0.18s ease;

}



.hbu-site-header a.hbu-mega-panel__overview:hover {

  color: var(--hbu-brand) !important;

  background: #f4f8fb;

}



.hbu-site-header .hbu-overview-link__arrow {

  display: grid;

  flex: 0 0 auto;

  place-items: center;

  width: 30px;

  height: 30px;

  color: #fff;

  font-size: 15px;

  font-weight: 500;

  line-height: 1;

  background: var(--hbu-brand);

  border-radius: 50%;

  transition: background-color 0.18s ease, transform 0.18s ease;

}



.hbu-site-header a:hover > .hbu-overview-link__arrow {

  background: var(--hbu-brand-deep);

  transform: translateX(2px);

}



.hbu-mega-panel__links {

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  align-content: start;

  column-gap: 28px;

}



.hbu-mega-panel__links li {

  border-bottom: 1px solid var(--hbu-line);

}



.hbu-mega-panel__links a {

  display: flex !important;

  gap: 12px;

  align-items: center;

  justify-content: space-between;

  min-height: 58px;

  padding: 10px 4px;

  color: #263542;

  font-size: 14px;

  font-weight: 600;

  line-height: 1.55;

  overflow-wrap: anywhere;

  transition: color 0.18s ease, padding-left 0.18s ease;

}



.hbu-mega-panel__links a:hover {

  padding-left: 9px;

  color: var(--hbu-brand);

}



.hbu-mega-panel__links a > span:last-child {

  flex: 0 0 auto;

  color: var(--hbu-brand);

  font-size: 17px;

}



.hbu-academic-panel {

  display: grid;

  gap: 14px;

  min-width: 0;

}



.hbu-academic-panel__faculties {

  display: grid;

  grid-template-columns: minmax(210px, 0.78fr) minmax(0, 1.22fr);

  gap: clamp(24px, 3vw, 40px);

  padding: 2px 0 4px;

}



.hbu-academic-faculty {

  min-width: 0;

  padding: 0;

}



.hbu-academic-faculty + .hbu-academic-faculty {

  padding-left: clamp(24px, 3vw, 40px);

  border-left: 1px solid var(--hbu-line);

}



.hbu-academic-faculty__type {

  margin-bottom: 1px !important;

  color: var(--hbu-muted);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.14em;

}



.hbu-academic-faculty h3 {

  margin-bottom: 4px;

}



.hbu-academic-faculty h3 a {

  display: flex !important;

  gap: 12px;

  align-items: center;

  justify-content: space-between;

  min-height: 44px;

  color: var(--hbu-brand-deep);

  font-size: 18px;

  font-weight: 800;

  border-bottom: 1px solid #b9cbd9;

}



.hbu-academic-faculty h3 a:hover {

  color: var(--hbu-brand);

}



.hbu-academic-faculty ul {

  display: grid;

  gap: 0;

}



.hbu-academic-faculty:nth-child(2) ul {

  grid-template-columns: repeat(2, minmax(0, 1fr));

  column-gap: 24px;

}



.hbu-academic-faculty:nth-child(2) li {

  display: flex;

}



.hbu-academic-faculty:nth-child(2) li > .hbu-department-link {

  flex: 1 1 auto;

  align-content: center;

}



.hbu-academic-faculty li {

  min-width: 0;

  border-bottom: 1px solid var(--hbu-line);

}



.hbu-department-link {

  --hbu-department-color: var(--hbu-brand);

  position: relative;

  display: grid !important;

  grid-template-columns: minmax(0, 1fr) auto;

  grid-template-areas:

    "type arrow"

    "title arrow";

  gap: 1px 12px;

  align-items: center;

  min-height: 52px;

  padding: 7px 5px;

  color: var(--hbu-ink);

  background: transparent;

  transition: background-color 0.18s ease;

}



.hbu-department-link:hover {

  color: var(--hbu-ink);

  background: #f6f9fb;

}



.hbu-department-link--education {

  --hbu-department-color: var(--hbu-dept-education);

}



.hbu-department-link--welfare {

  --hbu-department-color: var(--hbu-dept-welfare);

}



.hbu-department-link--psychology {

  --hbu-department-color: var(--hbu-dept-psychology);

}



.hbu-department-link--nutrition {

  --hbu-department-color: var(--hbu-dept-nutrition);

}



.hbu-department-link--global {

  --hbu-department-color: var(--hbu-dept-global);

}



.hbu-department-link__type {

  grid-area: type;

  color: #53616e;

  font-size: 10px;

  font-weight: 700;

  white-space: nowrap;

}



.hbu-department-link__title {

  grid-area: title;

  display: flex;

  flex-wrap: wrap;

  gap: 1px 8px;

  align-items: baseline;

  min-width: 0;

  font-size: 12px;

  line-height: 1.35;

}



.hbu-department-link__title strong {

  color: var(--hbu-department-color);

  font-size: 14px;

  font-weight: 800;

  overflow-wrap: anywhere;

}



.hbu-department-link__title > span {

  color: #34424e;

  font-size: 11px;

  font-weight: 700;

}



.hbu-department-link__arrow {

  grid-area: arrow;

  color: var(--hbu-department-color);

  font-size: 14px;

}



.hbu-academic-panel__pathways {

  display: flex;

  flex-wrap: wrap;

  gap: 0 28px;

  align-items: stretch;

  border-top: 1px solid var(--hbu-line);

  border-bottom: 1px solid var(--hbu-line);

}



.hbu-academic-pathway {

  display: flex !important;

  gap: 14px;

  align-items: center;

  justify-content: space-between;

  min-width: 0;

  min-height: 52px;

  padding: 7px 4px;

  background: transparent;

}



.hbu-academic-pathway:hover strong {

  text-decoration: underline;

  text-underline-offset: 3px;

}



.hbu-academic-pathway > span:first-child {

  display: flex;

  flex-direction: column;

  min-width: 0;

}



.hbu-academic-pathway strong {

  font-size: 15px;

  font-style: normal;

  font-weight: 800;

  overflow-wrap: anywhere;

}



.hbu-academic-pathway--graduate {

  flex: 0 1 230px;

  color: var(--hbu-brand-deep);

}



.hbu-academic-pathway--lcic {

  flex: 0 1 230px;

  color: var(--hbu-global-dark) !important;

}



.hbu-academic-pathway--lcic[aria-current="page"] strong {

  text-decoration: underline;

  text-decoration-thickness: 2px;

  text-underline-offset: 4px;

}



.hbu-academic-panel__related {

  display: grid;

  grid-template-columns: auto 1fr;

  gap: 18px;

  align-items: center;

  padding-top: 2px;

}



.hbu-academic-panel__related > h3 {

  color: var(--hbu-muted);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.1em;

  white-space: nowrap;

}



.hbu-academic-panel__related ul {

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  column-gap: 20px;

}



.hbu-academic-panel__related a {

  display: flex !important;

  gap: 8px;

  align-items: center;

  justify-content: space-between;

  min-height: 44px;

  padding: 6px 4px;

  color: #34424e;

  font-size: 11px;

  font-weight: 700;

  border-bottom: 1px solid var(--hbu-line);

}



.hbu-academic-panel__related a:hover {

  color: var(--hbu-brand);

  text-decoration: underline;

  text-underline-offset: 3px;

}



.hbu-mega-panel__close {

  display: flex !important;

  gap: 10px;

  align-items: center;

  justify-content: center;

  width: 100%;

  min-height: 48px;

  color: #40505e !important;

  font-size: 12px;

  font-weight: 700;

  background: #edf2f6 !important;

  border-top: 1px solid var(--hbu-line) !important;

}



.hbu-mega-panel__close:hover {

  color: var(--hbu-brand-dark) !important;

  background: #e3ebf1 !important;

}



.hbu-mega-panel__close span {

  font-size: 20px;

  font-weight: 300;

  line-height: 1;

}



.hbu-mega-panel__search-inner {

  width: min(100% - 80px, 900px);

  padding: 48px 0 56px;

  margin-inline: auto;

  text-align: center;

}



.hbu-header-search {

  display: grid;

  grid-template-columns: 1fr 150px;

  gap: 10px;

  margin-top: 28px;

}



.hbu-header-search input {

  width: 100%;

  min-height: 58px;

  padding: 0 20px;

  color: var(--hbu-ink);

  background: #fff;

  border: 2px solid #b7c7d4;

  border-radius: 3px;

  appearance: none;

}



.hbu-header-search input::placeholder {

  color: #596773;

}



.hbu-header-search button {

  min-height: 58px;

  color: #fff;

  font-weight: 700;

  background: var(--hbu-brand) !important;

  border-radius: 3px;

}



.hbu-header-search button:hover {

  background: var(--hbu-brand-deep) !important;

}



.hbu-all-menu {

  width: min(100% - 80px, var(--hbu-content-max));

  padding: 40px 0 52px;

  margin-inline: auto;

}



.hbu-all-menu__heading {

  display: flex;

  align-items: end;

  justify-content: space-between;

  padding-bottom: 22px;

  border-bottom: 2px solid var(--hbu-brand-dark);

}



.hbu-all-menu__heading > a {

  display: flex;

  gap: 20px;

  align-items: center;

  min-height: 44px;

  padding: 0 4px;

  color: var(--hbu-brand-dark);

  font-size: 13px;

  font-weight: 700;

}



.hbu-all-menu__grid {

  display: grid;

  grid-template-columns: repeat(5, minmax(0, 1fr));

  gap: 30px;

  padding: 30px 0 34px;

}



.hbu-all-menu__section h3 {

  margin-bottom: 14px;

}



.hbu-all-menu__section h3 a {

  display: flex;

  gap: 10px;

  align-items: center;

  justify-content: space-between;

  min-height: 42px;

  padding-bottom: 9px;

  color: var(--hbu-brand-dark);

  font-size: 15px;

  font-weight: 700;

  border-bottom: 2px solid #aac4db;

}



.hbu-all-menu__section li + li {

  margin-top: 7px;

}



.hbu-all-menu__section li a {

  display: inline-block;

  padding: 3px 0;

  color: #46535f;

  font-size: 12px;

  font-weight: 500;

  line-height: 1.55;

}



.hbu-all-menu__section li a:hover {

  color: var(--hbu-brand);

  text-decoration: underline;

  text-underline-offset: 3px;

}



.hbu-all-menu__item--faculty {

  padding-top: 5px;

  margin-top: 10px !important;

  border-top: 1px solid var(--hbu-line);

}



.hbu-all-menu__item--faculty a,

.hbu-all-menu__item--graduate a {

  color: var(--hbu-brand-deep) !important;

  font-weight: 800 !important;

}



.hbu-all-menu__item--department {

  padding-left: 9px;

  border-left: 2px solid #cbd6de;

}



.hbu-all-menu__department-name {

  font-weight: 800;

}



.hbu-all-menu__course-name {

  color: #46535f;

  font-size: 10px;

}



.hbu-all-menu__item--education .hbu-all-menu__department-name {

  color: var(--hbu-dept-education);

}



.hbu-all-menu__item--welfare .hbu-all-menu__department-name {

  color: var(--hbu-dept-welfare);

}



.hbu-all-menu__item--psychology .hbu-all-menu__department-name {

  color: var(--hbu-dept-psychology);

}



.hbu-all-menu__item--nutrition .hbu-all-menu__department-name {

  color: var(--hbu-dept-nutrition);

}



.hbu-all-menu__item--global .hbu-all-menu__department-name {

  color: var(--hbu-dept-global);

}



.hbu-all-menu__item--global-feature a {

  color: var(--hbu-global-dark) !important;

}



.hbu-all-menu__item--global-feature a:hover {

  color: var(--hbu-global-dark) !important;

}



.hbu-all-menu__support {

  display: grid;

  grid-template-columns: 1.15fr 0.85fr;

  gap: 42px;

  padding: 24px 28px;

  background: var(--hbu-soft);

  border-radius: 4px;

}



.hbu-all-menu__support h3 {

  margin-bottom: 12px;

  color: var(--hbu-brand-dark);

  font-size: 13px;

}



.hbu-all-menu__support ul {

  display: flex;

  flex-wrap: wrap;

  gap: 8px 20px;

}



.hbu-all-menu__support a {

  display: flex;

  gap: 4px;

  align-items: center;

  min-height: 32px;

  color: #34424f;

  font-size: 12px;

  font-weight: 600;

}



.hbu-all-menu__support a:hover {

  color: var(--hbu-brand);

}



.hbu-header-backdrop {

  position: fixed;

  inset: 0;

  z-index: 1499;

  background: rgba(10, 24, 37, 0.58);

  backdrop-filter: blur(1px);

  overscroll-behavior: none;

  touch-action: none;

}



.hbu-main-content-anchor {

  display: block;

  width: 0;

  height: 0;

  scroll-margin-top: calc(var(--hbu-desktop-header-height) + var(--hbu-admin-bar-offset) + 12px);

}



.hbu-page-top-anchor {

  position: absolute;

  top: 0;

  left: 0;

  width: 1px;

  height: 1px;

  overflow: hidden;

  white-space: nowrap;

  pointer-events: none;

}



.hbu-floating-tools,

.hbu-floating-tools * {

  box-sizing: border-box;

}



.hbu-floating-tools {

  --hbu-floating-tools-page-offset: 0px;

  position: fixed;

  right: max(12px, env(safe-area-inset-right, 0px));

  bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + var(--hbu-floating-tools-page-offset));

  z-index: 1200;

  display: flex;

  flex-direction: column;

  gap: 9px;

  align-items: center;

  margin: 0;

  font-family: "Noto Sans JP", "Noto Sans", "Yu Gothic", "Meiryo", sans-serif;

  transition: visibility 0.18s ease, opacity 0.18s ease, transform 0.18s ease;

}



.hbu-floating-tools__social {

  display: none;

  flex-direction: column;

  gap: 8px;

  padding: 0;

  margin: 0;

  list-style: none;

}



.hbu-floating-tools__social li {

  padding: 0;

  margin: 0;

}



.hbu-floating-tools__social-link,

.hbu-floating-tools__top {

  position: relative;

  display: flex !important;

  align-items: center;

  justify-content: center;

  width: 48px !important;

  height: 48px !important;

  padding: 0 !important;

  margin: 0 !important;

  text-decoration: none !important;

  opacity: 1 !important;

  border-radius: 50%;

  box-shadow: 0 7px 22px rgba(6, 47, 88, 0.16);

  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;

}



.hbu-floating-tools__social-link {

  color: var(--hbu-ink) !important;

  background: rgba(255, 255, 255, 0.96) !important;

  border: 1px solid #d7e1e9;

}



.hbu-floating-tools__social-link img {

  display: block;

  width: 30px;

  height: 30px;

  object-fit: contain;

}



.hbu-floating-tools__top {

  flex-direction: column;

  gap: 1px;

  color: #fff !important;

  background: var(--hbu-brand-deep) !important;

  border: 1px solid var(--hbu-brand-deep);

}



.hbu-floating-tools__top svg {

  width: 19px;

  height: 19px;

  fill: none;

  stroke: currentColor;

  stroke-linecap: round;

  stroke-linejoin: round;

  stroke-width: 2;

}



.hbu-floating-tools__top > span {

  color: inherit;

  font-family: "Open Sans", sans-serif;

  font-size: 7px;

  font-weight: 800;

  letter-spacing: 0.08em;

  line-height: 1;

}



.hbu-floating-tools__social-link:hover,

.hbu-floating-tools__social-link:focus-visible {

  background: #fff !important;

  border-color: #afc1cf;

  box-shadow: 0 9px 26px rgba(6, 47, 88, 0.23);

  transform: translateY(-2px);

}



.hbu-floating-tools__top:hover,

.hbu-floating-tools__top:focus-visible {

  color: #fff !important;

  background: var(--hbu-brand) !important;

  border-color: var(--hbu-brand);

  transform: translateY(-2px);

}



.hbu-floating-tools a:focus-visible {

  outline: 2px solid #fff;

  outline-offset: 2px;

  box-shadow: 0 0 0 5px var(--hbu-brand-deep), 0 9px 26px rgba(6, 47, 88, 0.23);

}



body.hbu-header-surface-open .hbu-floating-tools,

.hbu-floating-tools.is-page-overlay-open,

.hbu-floating-tools.is-avoiding-focus {

  visibility: hidden;

  pointer-events: none;

  opacity: 0;

  transform: translateY(8px);

}



body.hbu-header-renewal-enabled #backToTopBtn,

body.hbu-legacy-header-enabled #backToTopBtn {

  display: none !important;

}



/* Keep page-specific fixed helper controls below the expanded global header. */

body.hbu-header-surface-open #supportFontCtrl,

body.hbu-header-surface-open #selectMenu {

  visibility: hidden !important;

  pointer-events: none !important;

}



.hbu-noscript-nav {

  padding: 10px 18px;

  color: #fff;

  background: var(--hbu-brand-dark);

}



.hbu-noscript-nav ul {

  display: flex;

  flex-wrap: wrap;

  gap: 4px 18px;

  justify-content: center;

  padding: 0;

  margin: 0;

  list-style: none;

}



.hbu-noscript-nav a {

  display: flex;

  align-items: center;

  min-height: 40px;

  color: #fff;

  font-size: 13px;

  font-weight: 700;

  text-decoration: underline;

  text-underline-offset: 3px;

}



.hbu-noscript-search {

  display: grid;

  grid-template-columns: auto minmax(180px, 360px) auto;

  gap: 8px;

  align-items: center;

  justify-content: center;

  margin-top: 8px;

}



.hbu-noscript-search label {

  font-size: 12px;

  font-weight: 700;

}



.hbu-noscript-search input,

.hbu-noscript-search button {

  min-height: 40px;

  padding: 7px 12px;

  border: 1px solid #fff;

  border-radius: 2px;

}



.hbu-noscript-search button {

  color: var(--hbu-brand-deep);

  font-weight: 700;

  background: #fff;

}



.hbu-mobile-menu {

  display: none;

}



@media screen and (max-width: 1499px) {

  .hbu-site-header__utility-inner {

    width: min(100% - 32px, var(--hbu-header-max));

  }



  .hbu-site-header__audience-label {

    display: none;

  }



  .hbu-site-header__lcic-link {

    padding-inline: 6px;

    margin-right: 8px;

  }



  .hbu-site-header__utility-list a {

    padding-inline: 6px;

  }



  .hbu-site-header__utility-list--right li:nth-child(2),

  .hbu-site-header__utility-list--right li:nth-child(4) {

    display: none;

  }

}



@media screen and (min-width: 1101px) {

  .hbu-floating-tools__social {

    display: flex;

  }

}



@media screen and (max-width: 1320px) {

  .hbu-site-header__primary {

    grid-template-columns: minmax(190px, 245px) minmax(510px, 1fr) auto;

  }



  .hbu-site-header__brand img {

    width: min(100%, 225px);

  }



  .hbu-site-header__actions {

    grid-template-columns: 62px 90px 70px;

    min-width: 222px;

  }



  .hbu-header-action--apply span {

    font-size: 13px;

  }



  .hbu-mega-panel__links {

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }

}



@media screen and (min-width: 1000px) and (max-width: 1179px) {

  :root {

    --hbu-desktop-header-height: 142px;

  }



  .hbu-site-header__utility {

    height: 68px;

  }



  .hbu-site-header__utility-inner {

    display: grid;

    grid-template-rows: repeat(2, 34px);

    grid-template-columns: minmax(0, 1fr);

    align-items: stretch;

  }



  .hbu-site-header__audience-label {

    display: none !important;

  }



  .hbu-site-header__audience-group {

    justify-content: center;

    width: 100%;

    height: 34px;

  }



  .hbu-site-header__utility-list {

    display: flex !important;

  }



  .hbu-site-header__utility-list--right {

    display: flex !important;

    justify-content: center;

    width: 100%;

    height: 34px;

    margin-left: 0 !important;

  }



  .hbu-site-header__utility-list--right li:nth-child(n) {

    display: block;

  }



  .hbu-site-header__lcic-link {

    min-height: 34px;

    padding-inline: 8px;

    margin-right: 0;

  }



  .hbu-site-header__utility-list a {

    min-height: 34px;

  }



  .hbu-site-header__primary {

    grid-template-columns: 160px minmax(0, 1fr) 182px;

    width: calc(100% - 32px);

    height: 74px;

  }



  .hbu-site-header__brand {

    padding-right: 14px;

  }



  .hbu-site-header__brand img {

    width: min(100%, 148px);

  }



  .hbu-site-header__nav > ul {

    grid-template-columns: repeat(5, minmax(0, 1fr));

  }



  .hbu-site-header__nav-trigger {

    gap: 2px;

    padding: 8px 3px !important;

  }



  .hbu-site-header__nav-trigger > span {

    font-size: 11px;

    letter-spacing: 0;

  }



  .hbu-site-header__nav-trigger small {

    font-size: 7px;

    letter-spacing: 0.07em;

  }



  .hbu-site-header__actions {

    grid-template-columns: 56px 66px 60px;

    min-width: 182px;

    margin-left: 0;

  }



  .hbu-header-action--apply span {

    font-size: 11px;

  }



  .hbu-header-action--apply small {

    font-size: 7px;

  }



  .hbu-mega-panel__inner {

    padding: 30px 0 38px;

  }



  .hbu-academic-panel__faculties {

    gap: 24px;

  }



  .hbu-academic-faculty + .hbu-academic-faculty {

    padding-left: 24px;

  }

}



@media screen and (max-width: 999px) {

  :root {

    --hbu-desktop-header-height: var(--hbu-mobile-header-height);

  }



  .hbu-site-header__utility,

  .hbu-site-header__nav {

    display: none !important;

  }



  .hbu-site-header__primary {

    display: flex;

    align-items: stretch;

    width: 100%;

    height: var(--hbu-mobile-header-height);

    padding-left: 16px;

  }



  .hbu-site-header__brand {

    flex: 1 1 auto;

    padding-right: 14px;

  }



  .hbu-site-header__brand img {

    width: min(100%, 184px);

    max-width: none;

    height: 44px;

    object-fit: contain;

  }



  .hbu-site-header__actions {

    display: grid;

    flex: 0 0 174px;

    grid-template-columns: repeat(3, 58px);

    min-width: 174px;

    margin-left: 0;

  }



  .hbu-header-action--icon,

  .hbu-header-action--apply,

  .hbu-header-action--menu {

    width: 58px;

    min-height: 68px;

  }



  .hbu-header-action--menu[aria-expanded="true"] {

    border-bottom: 3px solid #8dc4e3;

  }



  .hbu-site-header__panels {

    position: fixed;

    top: calc(var(--hbu-mobile-header-height) + var(--hbu-admin-bar-offset));

    bottom: 0;

  }



  .hbu-mega-panel {

    height: auto;

    max-height: calc(100vh - var(--hbu-mobile-header-height) - var(--hbu-admin-bar-offset));

    max-height: calc(100dvh - var(--hbu-mobile-header-height) - var(--hbu-admin-bar-offset));

  }



  .hbu-mega-panel:not(.hbu-mega-panel--search) {

    display: none !important;

  }



  .hbu-mega-panel__search-inner {

    width: min(100% - 40px, 720px);

    padding: 38px 0 46px;

  }



  .hbu-header-search {

    grid-template-columns: 1fr 120px;

  }



  .hbu-mobile-menu {

    position: fixed;

    top: calc(var(--hbu-mobile-header-height) + var(--hbu-admin-bar-offset));

    right: 0;

    bottom: 0;

    z-index: 1003;

    display: block;

    width: min(100%, 560px);

    overflow-y: auto;

    overscroll-behavior: contain;

    padding-bottom: env(safe-area-inset-bottom, 0);

    color: var(--hbu-ink);

    background: #fff;

    border-top: 3px solid #8dc4e3;

    box-shadow: -18px 0 40px rgba(7, 38, 67, 0.2);

  }



  .hbu-mobile-menu__top {

    position: sticky;

    top: 0;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    min-height: 58px;

    padding: 0 20px;

    color: #fff;

    background: var(--hbu-brand-deep);

  }



  .hbu-mobile-menu__top p {

    font-size: 16px;

    font-weight: 700;

  }



  .hbu-mobile-menu__top button {

    display: flex;

    gap: 10px;

    align-items: center;

    min-height: 44px;

    color: #fff;

    font-size: 12px;

  }



  .hbu-mobile-menu__top button span {

    font-size: 24px;

    font-weight: 300;

    line-height: 1;

  }



  .hbu-mobile-menu__home {

    display: flex !important;

    align-items: center;

    min-height: 54px;

    padding: 0 20px;

    font-size: 14px;

    font-weight: 700;

    border-bottom: 1px solid var(--hbu-line);

  }



  .hbu-mobile-menu__group {

    border-bottom: 1px solid var(--hbu-line);

  }



  .hbu-mobile-menu__group summary {

    position: relative;

    display: flex;

    flex-direction: column;

    gap: 3px;

    justify-content: center;

    min-height: 64px;

    padding: 9px 58px 9px 20px;

    cursor: pointer;

    list-style: none;

  }



  .hbu-mobile-menu__group summary::-webkit-details-marker {

    display: none;

  }



  .hbu-mobile-menu__group summary::before,

  .hbu-mobile-menu__group summary::after {

    position: absolute;

    top: 50%;

    right: 22px;

    width: 16px;

    height: 2px;

    content: "";

    background: var(--hbu-brand);

    transform: translateY(-50%);

    transition: transform 0.18s ease;

  }



  .hbu-mobile-menu__group summary::after {

    transform: translateY(-50%) rotate(90deg);

  }



  .hbu-mobile-menu__group[open] > summary {

    color: #fff;

    background: var(--hbu-brand-deep);

    border-bottom: 2px solid #a8cce2;

    border-left: 4px solid #8dc4e3;

  }



  .hbu-mobile-menu__group[open] > summary::before,

  .hbu-mobile-menu__group[open] > summary::after {

    background: #fff;

  }



  .hbu-mobile-menu__group[open] > summary::after {

    transform: translateY(-50%) rotate(0);

  }



  .hbu-mobile-menu__group summary span {

    font-size: 15px;

    font-weight: 700;

  }



  .hbu-mobile-menu__group summary small {

    color: #596773;

    font-family: "Open Sans", sans-serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.12em;

  }



  .hbu-mobile-menu__group[open] > summary small {

    color: #d6e5f1;

  }



  .hbu-mobile-menu__group > div {

    padding: 18px 20px 24px;

    background: #eef4f8;

    box-shadow: inset 4px 0 0 var(--hbu-brand);

  }



  .hbu-site-header a.hbu-mobile-menu__overview {

    display: flex !important;

    gap: 12px;

    align-items: center;

    justify-content: space-between;

    min-height: 48px;

    padding: 8px 4px 8px 8px;

    margin-bottom: 14px;

    color: var(--hbu-brand-deep) !important;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.5;

    background: transparent;

    border-top: 1px solid #7893a7;

    border-bottom: 1px solid #7893a7;

    border-radius: 0;

    overflow-wrap: anywhere;

    transition: color 0.18s ease, background-color 0.18s ease;

  }



  .hbu-site-header a.hbu-mobile-menu__overview:hover {

    color: var(--hbu-brand) !important;

    background: #fff;

  }



  .hbu-mobile-menu__overview > .hbu-overview-link__arrow {

    width: 28px;

    height: 28px;

    font-size: 14px;

  }



  .hbu-mobile-menu__group li {

    border-bottom: 1px solid #dfe6ec;

  }



  .hbu-mobile-menu__group li a {

    position: relative;

    display: flex !important;

    align-items: center;

    min-height: 48px;

    padding: 9px 28px 9px 6px;

    color: #34424e;

    font-size: 13px;

    font-weight: 600;

    line-height: 1.5;

    overflow-wrap: anywhere;

  }



  .hbu-mobile-menu__group li a::after {

    position: absolute;

    top: 50%;

    right: 8px;

    color: var(--hbu-brand);

    content: "→";

    transform: translateY(-50%);

  }



  .hbu-mobile-academic {

    display: grid;

    gap: 18px;

    padding-top: 6px;

  }



  .hbu-mobile-academic__faculty {

    padding-top: 10px;

    border-top: 1px solid #b9cbd9;

  }



  .hbu-mobile-academic__faculty > p {

    margin-bottom: 1px !important;

    color: var(--hbu-muted);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.12em;

  }



  .hbu-mobile-academic__faculty h3 {

    margin-bottom: 0;

  }



  .hbu-mobile-academic__faculty h3 a {

    display: flex !important;

    align-items: center;

    justify-content: space-between;

    min-height: 44px;

    color: var(--hbu-brand-deep);

    font-size: 16px;

    font-weight: 800;

    border-bottom: 1px solid #b9cbd9;

  }



  .hbu-mobile-academic__faculty li {

    border-bottom: 1px solid var(--hbu-line);

  }



  .hbu-mobile-menu__group .hbu-mobile-department {

    --hbu-mobile-department-color: var(--hbu-brand);

    display: grid !important;

    grid-template-columns: minmax(0, 1fr) auto;

    grid-template-areas:

      "type arrow"

      "title arrow";

    gap: 1px 12px;

    min-height: 52px;

    padding: 7px 8px;

    margin-top: 0;

    background: transparent;

  }



  .hbu-mobile-department--education {

    --hbu-mobile-department-color: var(--hbu-dept-education) !important;

  }



  .hbu-mobile-department--welfare {

    --hbu-mobile-department-color: var(--hbu-dept-welfare) !important;

  }



  .hbu-mobile-department--psychology {

    --hbu-mobile-department-color: var(--hbu-dept-psychology) !important;

  }



  .hbu-mobile-department--nutrition {

    --hbu-mobile-department-color: var(--hbu-dept-nutrition) !important;

  }



  .hbu-mobile-department--global {

    --hbu-mobile-department-color: var(--hbu-dept-global) !important;

  }



  .hbu-mobile-department small {

    grid-area: type;

    color: #53616e;

    font-size: 10px;

    font-weight: 700;

    white-space: nowrap;

  }



  .hbu-mobile-department > span {

    grid-area: title;

    display: flex;

    flex-wrap: wrap;

    gap: 1px 7px;

    align-items: baseline;

    min-width: 0;

  }



  .hbu-mobile-department strong {

    color: var(--hbu-mobile-department-color);

    font-size: 14px;

    font-weight: 800;

    overflow-wrap: anywhere;

  }



  .hbu-mobile-department em {

    color: #34424e;

    font-size: 11px;

    font-style: normal;

    font-weight: 700;

  }



  .hbu-mobile-menu__group .hbu-mobile-department::after {

    content: none;

  }



  .hbu-mobile-department > .hbu-mobile-department__arrow {

    grid-area: arrow;

    display: block;

    align-self: center;

    color: var(--hbu-mobile-department-color);

    font-size: 14px;

  }



  .hbu-mobile-academic__pathways {

    display: grid;

    gap: 0;

    border-top: 1px solid var(--hbu-line);

    border-bottom: 1px solid var(--hbu-line);

  }



  .hbu-mobile-academic__graduate,

  .hbu-mobile-academic__lcic {

    position: relative;

    display: grid !important;

    grid-template-columns: minmax(0, 1fr) auto;

    min-height: 52px;

    padding: 7px 8px;

    background: transparent;

  }



  .hbu-mobile-academic__graduate strong,

  .hbu-mobile-academic__lcic strong {

    grid-column: 1;

    grid-row: 1 / 3;

    align-self: center;

    font-size: 14px;

    font-weight: 800;

  }



  .hbu-mobile-academic__graduate > span,

  .hbu-mobile-academic__lcic > span {

    grid-column: 2;

    grid-row: 1 / 3;

    align-self: center;

  }



  .hbu-mobile-academic__graduate {

    color: var(--hbu-brand-deep);

  }



  .hbu-mobile-academic__lcic {

    color: var(--hbu-global-dark) !important;

    border-top: 1px solid var(--hbu-line);

  }



  .hbu-mobile-academic__lcic[aria-current="page"] strong {

    text-decoration: underline;

    text-decoration-thickness: 2px;

    text-underline-offset: 4px;

  }



  .hbu-mobile-academic__related {

    padding-top: 4px;

  }



  .hbu-mobile-academic__related h3 {

    margin-bottom: 4px;

    color: var(--hbu-muted);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.1em;

  }



  .hbu-mobile-menu__group .hbu-mobile-academic__related a {

    gap: 10px;

    justify-content: space-between;

  }



  .hbu-mobile-menu__group .hbu-mobile-academic__related a::after {

    content: none;

  }



  .hbu-mobile-academic__related a > span {

    flex: 0 0 auto;

    color: var(--hbu-brand);

  }



  .hbu-mobile-menu__audience {

    padding: 25px 20px 20px;

    background: var(--hbu-soft);

  }



  .hbu-mobile-menu__audience h2 {

    margin-bottom: 12px;

    color: var(--hbu-brand-dark);

    font-size: 13px;

  }



  .hbu-mobile-menu__audience ul {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 1px;

    background: var(--hbu-line);

    border: 1px solid var(--hbu-line);

  }



  .hbu-mobile-menu__audience a {

    display: flex !important;

    align-items: center;

    min-height: 47px;

    padding: 8px 12px;

    color: #34424e;

    font-size: 12px;

    font-weight: 600;

    background: #fff;

  }



  .hbu-mobile-menu__support {

    padding: 20px;

    background: #fff;

    border-top: 1px solid var(--hbu-line);

  }



  .hbu-mobile-menu__support h2 {

    margin-bottom: 10px;

    color: var(--hbu-brand-dark);

    font-size: 13px;

  }



  .hbu-mobile-menu__support-columns {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 8px;

    align-items: start;

  }



  .hbu-mobile-menu__support-column {

    display: grid;

    grid-template-columns: minmax(0, 1fr);

    gap: 8px;

    min-width: 0;

  }



  .hbu-mobile-menu__support-column li {

    min-width: 0;

  }



  .hbu-mobile-menu__support a {

    display: flex !important;

    gap: 4px;

    align-items: center;

    min-height: 44px;

    padding: 5px 8px;

    color: #34424e;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.3;

    background: var(--hbu-soft);

    border: 1px solid var(--hbu-line);

  }



  .hbu-mobile-menu__support-column--support a {

    color: var(--hbu-brand-deep);

    background: #d9eaf4;

    border-color: #8fb4ca;

    border-left: 3px solid var(--hbu-brand);

  }



  .hbu-mobile-menu__social {

    padding: 20px;

    background: #fff;

    border-top: 1px solid var(--hbu-line);

  }



  .hbu-mobile-menu__social h2 {

    margin-bottom: 10px;

    color: var(--hbu-brand-dark);

    font-size: 13px;

  }



  .hbu-mobile-menu__social ul {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

  }



  .hbu-mobile-menu__social a {

    display: flex !important;

    gap: 4px;

    align-items: center;

    min-height: 40px;

    padding: 7px 12px;

    color: #34424e;

    font-size: 12px;

    font-weight: 700;

    background: var(--hbu-soft);

    border: 1px solid var(--hbu-line);

    border-radius: 999px;

  }



  .hbu-mobile-menu__quick {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

  }



  .hbu-mobile-menu__quick a {

    display: flex !important;

    gap: 3px;

    align-items: center;

    justify-content: center;

    min-height: 58px;

    padding: 8px;

    color: #fff;

    font-size: 12px;

    font-weight: 700;

    text-align: center;

    background: var(--hbu-brand-dark);

    border-right: 1px solid rgba(255, 255, 255, 0.22);

  }



  .hbu-mobile-menu__quick a:first-child {

    background: var(--hbu-accent);

  }

}



@media screen and (max-width: 782px) {

  body.admin-bar {

    --hbu-admin-bar-offset: 46px;

  }

}



@media screen and (max-width: 560px) {

  .hbu-site-header__primary {

    padding-left: 12px;

  }



  .hbu-site-header__brand img {

    max-width: min(49vw, 180px);

    height: 38px;

  }



  .hbu-mega-panel__search-inner {

    width: calc(100% - 32px);

    padding: 28px 0 36px;

  }



  .hbu-mega-panel--search h2 {

    font-size: 24px;

  }



  .hbu-header-search {

    grid-template-columns: 1fr;

  }



  .hbu-header-search input,

  .hbu-header-search button {

    min-height: 52px;

  }



  .hbu-noscript-search {

    grid-template-columns: 1fr auto;

  }



  .hbu-noscript-search label {

    grid-column: 1 / -1;

  }



  .hbu-mobile-menu {

    width: 100%;

  }

}



@media (prefers-reduced-motion: reduce) {

  .hbu-site-header *,

  .hbu-site-header *::before,

  .hbu-site-header *::after,

  .hbu-skip-link,

  .hbu-floating-tools,

  .hbu-floating-tools * {

    scroll-behavior: auto !important;

    transition-duration: 0.01ms !important;

    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

  }

}



@media print {

  .hbu-site-header {

    position: static;

    box-shadow: none;

  }



  .hbu-site-header__utility,

  .hbu-site-header__nav,

  .hbu-site-header__actions,

  .hbu-site-header__panels,

  .hbu-mobile-menu,

  .hbu-header-backdrop,

  .hbu-floating-tools {

    display: none !important;

  }



  .hbu-site-header__primary {

    display: block;

    height: auto;

    padding: 12px 0;

  }

}

