.zk-header {
  --zk-ink: #111111;
  --zk-muted: #686868;
  --zk-line: #d8d8d8;
  --zk-soft: #f6f6f6;
  --zk-red: #b10d08;
  --zk-focus: #005fcc;
  --zk-shell: 1080px;
  position: relative;
  isolation: isolate;
  z-index: 1000;
  width: 100%;
  color: var(--zk-ink);
  background: #fff;
  border-top: 3px solid #d1d1d1;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.5;
  text-align: left;
  -webkit-text-size-adjust: 100%;
}

.zk-header,
.zk-header *,
.zk-header *::before,
.zk-header *::after { box-sizing: border-box; }

.zk-header a { color: inherit; text-decoration: none; }
.zk-header button,
.zk-header input { margin: 0; color: inherit; font: inherit; }
.zk-header button { cursor: pointer; }
.zk-header img { max-width: 100%; }
.zk-header [hidden] { display: none !important; }

.zk-header__sr-only {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.zk-skip-link {
  position: fixed;
  z-index: 3000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: #111;
  font: 700 14px/1.4 sans-serif;
  transform: translateY(-160%);
}
.zk-skip-link:focus { transform: translateY(0); }

.zk-header__shell,
.zk-header__keyword-shell,
.zk-header__mega-panel {
  width: min(var(--zk-shell), calc(100% - 40px));
  margin-inline: auto;
}

.zk-header__top {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.zk-header__brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  padding-block: 8px;
}

.zk-header__brand-wordmark {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.09em;
  line-height: 1;
}

.zk-header__utilities {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.zk-header__utility-group {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

/* Centered masthead variant (HEADER02-05) */
.zk-header--centered .zk-header__top {
  position: relative;
  min-height: 88px;
}
.zk-header--centered .zk-header__brand {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
}
.zk-header--centered .zk-header__brand-wordmark { font-size: 42px; }
.zk-header__centered-tools {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}
.zk-header--centered .zk-header__utilities { margin-left: auto; }
.zk-header--centered .zk-header__primary-nav { border-bottom-color: var(--zk-line); }
.zk-header--centered .zk-header__keywords { border-bottom: 0; }
.zk-header--centered .zk-header__keyword-shell { min-height: 52px; border-bottom: 0; }
.zk-header--centered + .zk-demo-main { margin-top: 22px; }
.zk-header:not(.zk-header--centered) + .zk-demo-main { margin-top: 28px; }

.zk-header__date {
  color: #454545;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.zk-header__join,
.zk-header__account {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.zk-header__join {
  padding: 0 11px;
  border: 1px solid #e56d68;
  border-radius: 4px;
  color: #c3120c !important;
  font-size: 13px;
  font-weight: 700;
}
.zk-header__account { font-size: 13px; font-weight: 700; }

.zk-header__icon-button {
  display: inline-grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
}

.zk-header__icon-button:hover { color: var(--zk-red); background: transparent; }

.zk-header__menu-icon,
.zk-header__menu-icon::before,
.zk-header__menu-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  content: "";
}
.zk-header__menu-icon { position: relative; }
.zk-header__menu-icon::before { position: absolute; top: -7px; left: 0; }
.zk-header__menu-icon::after { position: absolute; top: 7px; left: 0; }

.zk-header__desktop-search {
  display: flex;
  flex: 0 0 166px;
  width: 166px;
  height: 36px;
  align-items: center;
  border: 1px solid #e4e4e4;
  border-radius: 9px;
  background: #fafafa;
}
.zk-header__desktop-search:focus-within {
  border-color: #666;
  box-shadow: inset 0 0 0 1px #666;
}
.zk-header__desktop-search input {
  min-width: 0;
  flex: 1;
  padding: 0 2px 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  caret-color: var(--zk-red);
  font-size: 12px;
}
.zk-header__desktop-search input:focus-visible { outline: 0; }
.zk-header__desktop-search input::placeholder { color: #aaa; }
.zk-header__desktop-search button {
  display: grid;
  flex: 0 0 40px;
  align-self: stretch;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
}
.zk-header__search-icon {
  position: relative;
  display: block;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.zk-header__search-icon::after {
  position: absolute;
  right: -5px;
  bottom: 0;
  width: 8px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
  transform-origin: 1px center;
}

.zk-header__primary-nav { border-bottom: 1px solid var(--zk-red); }
.zk-header__primary-list {
  display: flex;
  min-height: 44px;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.zk-header__primary-list > li { display: flex; }
.zk-header__primary-link {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 2px 2px 0;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.zk-header__primary-link::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--zk-red);
  content: "";
  opacity: 0;
  transform: scaleX(.55);
  transition: opacity 160ms ease, transform 160ms ease;
}
.zk-header__primary-link:hover::after,
.zk-header__primary-link:focus-visible::after,
.zk-header__primary-link[aria-expanded="true"]::after,
.zk-header__primary-link.is-current::after { opacity: 1; transform: scaleX(1); }
.zk-header__chevron {
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.5px solid #9a9a9a;
  border-bottom: 1.5px solid #9a9a9a;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}
.zk-header__primary-link[aria-expanded="true"] .zk-header__chevron { margin-top: 4px; transform: rotate(225deg); }

.zk-header__mega-region {
  position: absolute;
  z-index: 30;
  right: 0;
  left: 0;
  background: #fff;
  border-bottom: 1px solid #cfcfcf;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.12);
}
.zk-header__mega-panel { padding-block: 25px 30px; }
.zk-header__mega-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--zk-line);
}
.zk-header__mega-head h2 { margin: 0; font-size: 20px; line-height: 1.35; }
.zk-header__mega-head a { color: var(--zk-red); font-size: 13px; font-weight: 700; }
.zk-header__mega-head a::after { content: "  →"; }
.zk-header__mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 30px;
}
.zk-header__mega-group { min-width: 0; }
.zk-header__mega-group h3 { margin: 0 0 8px; font-size: 14px; line-height: 1.45; }
.zk-header__mega-group h3 a:hover { color: var(--zk-red); }
.zk-header__mega-group ul { margin: 0; padding: 0; list-style: none; }
.zk-header__mega-group li + li { margin-top: 3px; }
.zk-header__mega-group li a {
  display: inline-block;
  padding-block: 3px;
  color: #4b4b4b;
  font-size: 12px;
  line-height: 1.55;
}
.zk-header__mega-group li a:hover { color: var(--zk-red); text-decoration: underline; text-underline-offset: 3px; }

.zk-header__keywords { border-bottom: 0; background: #fff; }
.zk-header__keyword-shell {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #eeeeee;
}
.zk-header__keyword-shell strong { flex: 0 0 auto; font-size: 14px; }
.zk-header__keyword-list {
  display: flex;
  min-width: 0;
  gap: 8px;
  overflow-x: auto;
  padding-block: 10px;
  scrollbar-width: none;
  white-space: nowrap;
}
.zk-header__keyword-list::-webkit-scrollbar { display: none; }
.zk-header__keyword-list a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fafafa;
  color: #3f3f3f;
  font-size: 12px;
  font-weight: 600;
}
.zk-header__keyword-list a:hover { border-color: #d97873; color: var(--zk-red); }

.zk-header__drawer-layer { position: fixed; z-index: 2000; inset: 0; }
.zk-header__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, .48);
  opacity: 0;
  transition: opacity 220ms ease;
}
.zk-header__drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: min(88vw, 410px);
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  box-shadow: -12px 0 30px rgba(0, 0, 0, .2);
  transform: translateX(100%);
  transition: transform 240ms cubic-bezier(.2, .8, .2, 1);
}
.zk-header__drawer-layer.is-visible .zk-header__scrim { opacity: 1; }
.zk-header__drawer-layer.is-visible .zk-header__drawer { transform: translateX(0); }
.zk-header__drawer-head {
  display: flex;
  min-height: 64px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 20px;
  border-bottom: 1px solid var(--zk-line);
}
.zk-header__drawer-head h2 { margin: 0; font-size: 19px; }
.zk-header__drawer-close {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
}
.zk-header__drawer-close:hover { background: var(--zk-soft); }
.zk-header__drawer-close span::before,
.zk-header__drawer-close span::after {
  position: absolute;
  top: 21px;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
}
.zk-header__drawer-close span::after { transform: rotate(-45deg); }
.zk-header__drawer-search { flex: 0 0 auto; padding: 16px 20px; border-bottom: 1px solid var(--zk-line); }
.zk-header__drawer-search label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; }
.zk-header__drawer-search > div { display: flex; }
.zk-header__drawer-search input {
  min-width: 0;
  min-height: 44px;
  flex: 1;
  padding: 0 12px;
  border: 1px solid #bcbcbc;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  outline: 0;
  font-size: 14px;
}
.zk-header__drawer-search input:focus {
  border-color: #666;
  box-shadow: inset 0 0 0 1px #666;
  caret-color: var(--zk-red);
  outline: 0;
}
.zk-header__drawer-search button {
  min-width: 64px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--zk-red);
  border-radius: 0 4px 4px 0;
  color: #fff;
  background: var(--zk-red);
  font-size: 14px;
  font-weight: 700;
}
.zk-header__drawer-nav { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; }
.zk-header__drawer-list { margin: 0; padding: 0; list-style: none; }
.zk-header__drawer-list > li { border-bottom: 1px solid #e7e7e7; }
.zk-header__drawer-main-row { display: flex; min-height: 52px; align-items: stretch; }
.zk-header__drawer-main-row > a { display: flex; min-width: 0; flex: 1; align-items: center; padding: 10px 18px 10px 20px; font-size: 15px; font-weight: 700; }
.zk-header__accordion-button {
  position: relative;
  width: 52px;
  min-height: 52px;
  flex: 0 0 52px;
  padding: 0;
  border: 0;
  border-left: 1px solid #ededed;
  background: transparent;
}
.zk-header__accordion-button::before,
.zk-header__accordion-button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}
.zk-header__accordion-button::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 150ms ease; }
.zk-header__accordion-button[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(0); }
.zk-header__drawer-submenu { padding: 2px 20px 16px; background: #f7f7f7; }
.zk-header__drawer-submenu ul { margin: 0; padding: 0; list-style: none; }
.zk-header__drawer-submenu > ul > li { border-bottom: 1px solid #e3e3e3; }
.zk-header__drawer-submenu a { display: flex; min-height: 44px; align-items: center; padding: 9px 4px; font-size: 13px; font-weight: 600; }
.zk-header__drawer-submenu details { padding-bottom: 8px; }
.zk-header__drawer-submenu summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}
.zk-header__drawer-submenu summary::-webkit-details-marker { display: none; }
.zk-header__drawer-submenu summary::after { content: "+"; font-size: 18px; font-weight: 400; }
.zk-header__drawer-submenu details[open] summary::after { content: "−"; }
.zk-header__drawer-nested { padding: 0 0 6px 12px !important; border-left: 2px solid #d0d0d0; }
.zk-header__drawer-nested a { min-height: 40px; color: #505050; font-weight: 500; }
.zk-header__drawer-membership {
  display: flex;
  min-height: 68px;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
  padding: 10px 20px;
  border-top: 1px solid var(--zk-line);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.zk-header :focus-visible,
.zk-skip-link:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}

html.zk-drawer-open { overflow: hidden; }

@media (max-width: 1080px) {
  .zk-header__primary-list { gap: 8px; }
  .zk-header__primary-link { font-size: 14px; }
  .zk-header__date { display: none; }
  .zk-header__utilities { gap: 16px; }
  .zk-header__utility-group { gap: 8px; }
  .zk-header__desktop-search { flex-basis: 144px; width: 144px; }
  .zk-header--centered .zk-header__centered-tools .zk-header__desktop-search { flex-basis: 132px; width: 132px; }
}

@media (max-width: 959px) {
  .zk-header { border-top-width: 2px; }
  .zk-header__shell,
  .zk-header__keyword-shell { width: 100%; }
  .zk-header__top { min-height: 62px; padding: 0 10px 0 16px; gap: 10px; border-bottom: 1px solid var(--zk-red); }
  .zk-header__brand-wordmark { font-size: 30px; }
  .zk-header__desktop-search,
  .zk-header__utility-group--date,
  .zk-header__utility-group--member { display: none; }
  .zk-header__utilities { gap: 0; }
  .zk-header__primary-nav { border: 0; }
  .zk-js .zk-header__primary-nav { display: none; }
  .zk-no-js .zk-header__primary-list { overflow-x: auto; justify-content: flex-start; padding-inline: 16px; scrollbar-width: none; }
  .zk-no-js .zk-header__chevron { display: none; }
  .zk-header__keywords { border-bottom-color: #e1e1e1; }
  .zk-header__keyword-shell { min-height: 52px; padding-left: 16px; gap: 10px; }
  .zk-header__keyword-shell strong {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    font-size: 12px;
    line-height: 1;
  }
  .zk-header__keyword-list { align-items: center; padding: 9px 16px 9px 0; }
  .zk-header__keyword-list a { min-height: 32px; padding-inline: 10px; font-size: 11px; line-height: 1; }
  .zk-header__mega-region { display: none !important; }
  .zk-header--centered .zk-header__top {
    display: grid;
    min-height: 62px;
    grid-template-areas: "brand tools";
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .zk-header--centered .zk-header__brand {
    position: static;
    grid-area: brand;
    justify-self: start;
    transform: none;
  }
  .zk-header--centered .zk-header__brand-wordmark { font-size: 30px; }
  .zk-header--centered .zk-header__centered-tools { grid-area: tools; justify-self: end; }
  .zk-header--centered .zk-header__utilities { display: none; }
  .zk-header--centered + .zk-demo-main { margin-top: 16px; }
  .zk-header:not(.zk-header--centered) + .zk-demo-main { margin-top: 24px; }
}

@media (max-width: 560px) {
  .zk-header__top { min-height: 58px; }
  .zk-header__brand-wordmark { font-size: 27px; }
  .zk-header__date { display: none; }
  .zk-header__keyword-shell { align-items: center; padding-top: 0; padding-bottom: 0; }
  .zk-header--centered .zk-header__top { min-height: 58px; }
  .zk-header--centered .zk-header__brand-wordmark { font-size: 27px; }
  .zk-header--centered + .zk-demo-main { margin-top: 14px; }
  .zk-header:not(.zk-header--centered) + .zk-demo-main { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .zk-header *, .zk-header *::before, .zk-header *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
