@charset "UTF-8";

/* 
============================================================
---- ヘッダー ----
============================================================
*/
/* トップ上部用 */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--zindex-header);
  pointer-events: none;
  background-color: transparent;
  transform: translateY(0);
  height: 100vh;
  height: 100dvh;
}
/* トップABOUT以降・下層ページ時 */
.header.is-fixed {
  position: fixed;
}
.header.is-fixed .header__inner {
  background-color: var(--color-navy-main);
}
.header.is-hidden {
  transform: translateY(calc(-1 * var(--header-hide-distance, 100%)));
}
.header.is-visible {
  transform: translateY(0);
}
.header.is-animate {
  transition:
    background-color 0.3s,
    transform 0.35s ease;
}

.header::before {
  content: "";
  display: block;
  width: 100%;
  height: var(--header-height);
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: background-color 0.3s;
  z-index: var(--zindex-lower);
  background-color: transparent;
}
.header:has(.header__searchBar.is-visible)::before,
.header:has(.header__mainItem--hasMega.is-mega-open)::before {
  background-color: var(--color-navy-main);
}

.header__inner {
  margin: 0 auto;
  padding: 0 44px 0 55px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: var(--zindex-upper);
  height: var(--header-height);
}
.header__navWrapper {
  display: flex;
  align-items: stretch;
  gap: 32px;
  pointer-events: all;
}

.header__logo {
  display: block;
  width: auto;
  transition: opacity 0.3s;
  position: relative;
  z-index: var(--zindex-upper);
  pointer-events: all;
  height: 64px;
}
/* トップABOUT以降・下層ページ時 */
.header.is-fixed .header__logo {
  height: 50px;
}

.header__logo img {
  height: 100%;
  width: auto;
  display: block;
}
.header__logo:hover {
  opacity: 0.8;
}

.header__hamburger {
  display: none;
}
.header__nav {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 30px;
  pointer-events: all;
}

.header__navSub {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.header__topList {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__topItem {
  line-height: 1;
}
.header__topList--orbray,
.header__topList--policy {
  display: none;
}
.header__topLink {
  color: var(--color-white);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.header__topLink::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-white);
  opacity: 0;
  transition: opacity 0.3s;
}
.header__topLink:hover::after {
  opacity: 1;
}
.header__lang {
  display: flex;
  align-items: center;
  border-radius: 14px;
  padding: 0 18px;
  background-color: var(--color-white);
  gap: 14px;
  height: 26px;
  pointer-events: all;
}
.header__langBtn {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy-main);
  text-decoration: none;
  transition: opacity 0.3s;
  cursor: pointer;
  opacity: 1;
}
.header__langBtn:hover,
.header__langBtn--active {
  opacity: 0.6;
}
.header__langBtn--active {
  pointer-events: none;
}
.header__langSeparator {
  opacity: 0.4;
  display: block;
  height: 16px;
  width: 1px;
  background-color: var(--color-navy-main);
}

.header__contact {
  grid-row: 1 / 3;
  grid-column: 2;
  height: auto;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 140px;
  height: 58px;
  border: none;
  letter-spacing: 0.05em;
  text-decoration: none;
  position: relative;
  transition:
    background-color 0.3s,
    color 0.3s;
  background-color: var(--color-navy-main);
  color: var(--color-white);
}
/* トップABOUT以降・下層ページ時 */
.header:has(.header__searchBar.is-visible) .header__contact,
.header:has(.header__mainItem--hasMega.is-mega-open) .header__contact,
.header.is-fixed .header__contact {
  background-color: var(--color-white);
  color: var(--color-navy-main);
}

.header__contact::before {
  content: "";
  display: block;
  background-color: var(--color-white);
  opacity: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
/* トップABOUT以降・下層ページ時 */
.header:has(.header__searchBar.is-visible) .header__contact::before,
.header:has(.header__mainItem--hasMega.is-mega-open) .header__contact::before,
.header.is-fixed .header__contact::before {
  background-color: var(--color-navy-main);
}

.header__contactArrow {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 20px;
  height: auto;
  aspect-ratio: 1;
  transition:
    transform 0.3s,
    background-color 0.3s;
  background-color: var(--color-white);
}
/* トップABOUT以降・下層ページ時 */
.header:has(.header__searchBar.is-visible) .header__contactArrow,
.header:has(.header__mainItem--hasMega.is-mega-open) .header__contactArrow,
.header.is-fixed .header__contactArrow {
  background-color: var(--color-navy-main);
}

.header__contactArrow::before {
  content: "";
  display: block;
  transition: transform 0.3s;
  width: 8px;
  height: auto;
  aspect-ratio: 1;
  mask-image: url(../../img/common/icon-arrow-navy.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  transition: background-color 0.3s;
  background-color: var(--color-navy-main);
}
/* トップABOUT以降・下層ページ時 */
.header:has(.header__searchBar.is-visible) .header__contactArrow::before,
.header:has(.header__mainItem--hasMega.is-mega-open)
  .header__contactArrow::before,
.header.is-fixed .header__contactArrow::before {
  background-color: var(--color-white);
}

.header__contact:hover::before {
  opacity: 0.2;
}

.header__contact:hover .header__contactArrow {
  transform: translateX(3px);
}

.header__searchBtn {
  background: transparent;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  padding: 0 16px;
  border: 1px solid var(--color-white);
  border-radius: 100px;
  height: 26px;
  transition: opacity 0.3s;
}
.header__searchBtn:hover {
  opacity: 0.7;
}
.header__searchIcon {
  width: 14px;
  height: auto;
  aspect-ratio: 1;
  mask-image: url(../../img/common/icon-search-white.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  background-color: var(--color-white);
  flex-shrink: 0;
}

.header__searchBar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--color-navy-main);
  z-index: var(--zindex-default);
  padding: 46px 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.header__searchBar.is-visible {
  opacity: 1;
  visibility: visible;
}
.header__searchInner {
  max-width: var(--size-frame-width);
  margin: 0 auto;
  padding: 0 126px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
}
.header__searchContainer {
  position: relative;
  max-width: 1030px;
  max-width: 940px;
  flex: 1;
}
.header__searchInput {
  width: 100%;
  padding: 18px 76px 18px 22px;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-zen-kaku-gothic-new);
  border: none;
  outline: none;
  border-radius: 0;
}
.header__searchInput::placeholder {
  color: var(--color-placeholder);
}
.header__searchButton {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  border: none;
  outline: none;
  padding: 8px;
  z-index: var(--zindex-upper);
  cursor: pointer;
}
.header__searchButtonIcon {
  display: block;
  width: 24px;
  height: auto;
  aspect-ratio: 1;
  mask-image: url(../../img/common/icon-search-white.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  background-color: var(--color-navy-main);
}
.header__searchClose {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-white);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.header__searchClose::before {
  content: "";
  display: block;
  width: 58px;
  height: auto;
  aspect-ratio: 58 / 25;
  mask-image: url(../../img/common/icon-close-white.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  background-color: var(--color-white);
}
.header__searchClose:hover {
  opacity: 0.7;
}

.header__mainList {
  grid-row: 2;
  grid-column: 1;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header__mainItem {
  position: relative;
  cursor: pointer;
}
.header__searchBar.is-visible ~ .header__mainList .header__mainItem--hasMega {
  pointer-events: none;
}
.header__mainItem--hasMega::before {
  content: "";
  display: block;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translateY(100%);
  height: var(--header-main-item-before-height);
}

.header__mainLinkRow {
  display: flex;
  align-items: center;
  transition: opacity 0.3s;
}
.header__mainLink {
  color: var(--color-white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.3s;
  pointer-events: none;
}
.header__mainLink:hover {
  opacity: 0.8;
}
.header__jaLabel {
  font-size: 17px;
  line-height: 1;
  font-weight: 500;
}

.header__accordionToggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0 0 0 5px;
  color: var(--color-white);
  flex-shrink: 0;
}
.header__accordionIcon {
  display: grid;
  align-items: center;
  justify-content: center;
  width: 11px;
  height: auto;
  aspect-ratio: 1;
  color: var(--color-navy-main);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s;
  pointer-events: none;
}
.header__accordionIcon::before,
.header__accordionIcon::after {
  content: "";
  display: block;
  width: 11px;
  height: 2px;
  background-color: var(--color-navy-main);
  grid-row: 1;
  grid-column: 1;
  transition:
    transform 0.3s,
    background-color 0.3s;
}
/* トップABOUT以降・下層ページ時 */
.header:has(.header__searchBar.is-visible) .header__accordionIcon::before,
.header:has(.header__searchBar.is-visible) .header__accordionIcon::after,
.header:has(.header__mainItem--hasMega.is-mega-open)
  .header__accordionIcon::before,
.header:has(.header__mainItem--hasMega.is-mega-open)
  .header__accordionIcon::after,
.header.is-fixed .header__accordionIcon::before,
.header.is-fixed .header__accordionIcon::after {
  background-color: var(--color-white);
}
.header__accordionIcon::after {
  transform: rotate(90deg);
}
.header__accordionToggle[aria-expanded="true"] .header__accordionIcon::after {
  transform: rotate(0);
}

.header__megaMenu {
  position: fixed;
  top: calc(var(--header-height, 120px) - 1px);
  left: 0;
  right: 0;
  width: 100%;
  background: var(--color-navy-main);
  padding: 38px 0 72px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  z-index: var(--zindex-default);
  pointer-events: none;
}
.header__megaMenu::before {
  content: "";
  display: block;
  width: calc(100% - 30px);
  height: 1px;
  background-color: var(--color-white);
  opacity: 0.1;
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.header__mainItem--hasMega.is-mega-open
  .header__accordionToggle
  .header__accordionIcon::after {
  transform: rotate(0);
}
.header__mainItem--hasMega.is-mega-open .header__mainLinkRow {
  opacity: 0.4;
}
.header__mainItem--hasMega.is-mega-open .header__megaMenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.header__megaInner {
  max-width: calc(880px + (var(--layout-margin-inside-pc) * 2));
  margin: 0 auto;
  padding: 0 var(--layout-margin-inside-pc);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.header__megaTitle {
  font-family: var(--font-marcellus);
  font-size: 29px;
  list-style: 1;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  text-transform: uppercase;
}
.header__megaLinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header__megaLinksItem {
  min-width: 26%;
}
.header__megaLinksItem:not(:nth-child(3n + 1)) {
  margin-left: 26px;
  position: relative;
}
.header__megaLinksItem:not(:nth-child(3n + 1))::before {
  content: "";
  display: block;
  height: 20px;
  width: 1px;
  background-color: var(--color-white);
  opacity: 0.4;
  position: absolute;
  left: -26px;
  top: 50%;
  transform: translateY(-50%);
}
.header__megaLink {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.header__megaLinkText {
  color: var(--color-white);
  font-size: 16px;
  line-height: 1;
  transition: opacity 0.3s;
}
.header__megaLinkArrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--color-white);
  margin-left: 11px;
  transition: transform 0.3s;
}
.header__megaLinkArrow::after {
  content: "";
  display: block;
  width: 8px;
  height: auto;
  aspect-ratio: 1;
  mask-image: url(../../img/common/icon-arrow-navy.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  background-color: var(--color-white);
}
.header__megaLink:hover .header__megaLinkText {
  opacity: 0.7;
}
.header__megaLink:hover .header__megaLinkArrow {
  transform: translateX(3px);
}

/* ============================================================
---- ヘッダー TAB styles (max-width: 1279px) ----
============================================================ */
@media screen and (max-width: 1279px) {
  .header__inner {
    padding-inline: 40px;
  }
  .header__logo,
  .header.is-fixed .header__logo {
    height: 40px;
  }
  .header__nav {
    gap: 8px 20px;
  }
  .header__jaLabel {
    font-size: 15px;
  }
}

/* ============================================================
---- ヘッダー SP styles (max-width: 1023px) ----
============================================================ */
@media screen and (max-width: 1023px) {
  .header {
    overflow-x: clip;
  }
  .header::before {
    display: none;
  }
  .header__inner {
    padding: 0 12px;
  }
  .header__inner::before {
    content: "";
    display: block;
    position: absolute;
    opacity: 0.5;
    inset: 0;
    background-image: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 1)
    );
    pointer-events: none;
  }
  .header.is-fixed .header__inner::before {
    background-image: var(--color-navy-main);
  }
  .header__logo,
  .header.is-fixed .header__logo {
    height: 28px;
  }

  .header__hamburger {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    order: 2;
    z-index: var(--zindex-upper);
    flex-shrink: 0;
    pointer-events: all;
    width: 44px;
    height: 44px;
  }
  .header__hamburgerLineWrap {
    margin-inline: auto;
    width: 28px;
    height: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition:
      width 0.35s ease,
      height 0.35s ease,
      transform 0.35s ease;
  }
  [data-status-header-nav="open"] .header__hamburgerLineWrap {
    width: 30px;
    height: 24px;
    transform: scale(1.4, 0.6);
  }
  .header__hamburgerLine {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition:
      transform 0.35s ease,
      height 0.35s ease,
      opacity 0.35s ease;
    transform-origin: center;
  }
  [data-status-header-nav="open"] .header__hamburgerLine:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
    height: 2.5px;
  }
  [data-status-header-nav="open"] .header__hamburgerLine:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  [data-status-header-nav="open"] .header__hamburgerLine:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
    height: 2.5px;
  }

  .header__navWrapper {
    display: contents;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--color-navy-main);
    z-index: var(--zindex-default);
    padding: calc(var(--header-height) + 12px) var(--layout-margin-outside-sp)
      48px;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    justify-content: flex-start;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .header__nav.is-open {
    transform: translateX(0);
  }

  .header__navSub {
    order: 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
    row-gap: 40px;
    column-gap: 32px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
  }
  .header__topList {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 12px;
  }
  .header__topList--main {
    grid-column: 1;
    grid-row: 1 / 3;
  }
  .header__topList--orbray {
    display: flex;
    grid-column: 2;
    grid-row: 1;
  }
  .header__topList--policy {
    display: flex;
    grid-column: 2;
    grid-row: 2;
  }
  .header__topLink {
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
  }

  .header__lang {
    position: fixed;
    right: 68px;
    top: 24px;
    z-index: var(--zindex-upper);
    height: 22px;
    gap: 10px;
    padding: 0 13px;
    background-color: transparent;
    border: 1px solid var(--color-white);
  }
  /*
  .header.is-fixed .header__lang {
    top: 17px;
  }
  */
  .header__langBtn {
    font-size: 13px;
    color: var(--color-white);
  }
  .header__langSeparator {
    background-color: var(--color-white);
    height: 14px;
  }

  .header__mainList {
    flex-direction: column;
    gap: 0;
    width: 100%;
    flex-shrink: 0;
    margin-top: 12px;
  }
  .header__mainItem {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .header__mainItem--hasMega::before {
    display: none;
  }
  .header__mainItem:first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .header__mainLinkRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 16px;
    width: 100%;
  }

  .header__mainLink {
    flex-direction: row;
    align-items: center;
    padding: 22px 2px;
    flex: 1;
    pointer-events: all;
  }
  .header__jaLabel {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.02em;
  }

  .header__accordionToggle {
    padding: 10px;
  }
  .header__accordionIcon {
    width: 18px;
    background: var(--color-white);
  }
  .header__accordionIcon::before,
  .header__accordionIcon::after {
    width: 8px;
    height: 1px;
  }
  .header.is-fixed .header__accordionIcon::before,
  .header.is-fixed .header__accordionIcon::after {
    background-color: var(--color-navy-main);
  }

  .header__megaMenu {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    background: transparent;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-top: none;
    pointer-events: auto;
    transition: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .header__megaMenu::before {
    display: none;
  }
  .header__megaMenu.is-open {
    max-height: 600px;
  }

  .header__megaInner {
    display: block;
    padding: 0;
  }
  .header__megaTitle {
    display: none;
  }

  .header__megaLinks {
    flex-direction: column;
    gap: 12px;
    padding: 0 0 28px 22px;
    align-items: flex-start;
  }
  .header__megaLinksItem {
    min-width: auto;
  }
  .header__megaLink {
    padding-block: 2px;
  }
  .header__megaLinkText {
    font-size: 14px;
    letter-spacing: -0.03em;
  }
  .header__megaLinksItem--parent {
    display: none;
  }
  .header__megaLinksItem:not(:nth-child(3n + 1)) {
    margin-left: 0;
  }
  .header__megaLinksItem:not(:nth-child(3n + 1))::before {
    content: none;
  }
  .header__megaLinkArrow {
    display: none;
  }

  .header__contact {
    background-color: var(--color-white);
    color: var(--color-navy-main);
    width: 100%;
    min-height: 64px;
    margin-top: 24px;
    justify-content: space-between;
    padding-inline: var(--layout-margin-inside-sp);
  }
  .header__contactArrow {
    background-color: var(--color-navy-main);
  }
  .header__contactArrow::before {
    background-color: var(--color-white);
  }
  .header__searchBtn {
    display: none;
  }
  .header__searchBar {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    padding: 0;
    border-top: none;
  }
  .header__searchInner {
    padding: 0 15px;
  }
  .header__searchInput {
    padding: 6px 42px 6px 13px;
    font-size: 16px;
    font-weight: 400;
  }
  .header__searchClose {
    display: none;
  }
  .header__searchButton {
    right: 2px;
  }
  .header__searchButtonIcon {
    width: 16px;
  }
}


.header__navInput,
.header__searchToggle,
.header__megaInput,
.opensubmenu {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

body:has(.header__navInput:checked) {
  overflow: hidden;
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  overflow: hidden;
  padding: 0;
  position: absolute;
  height: 1px;
  width: 1px;
  word-wrap: normal !important;
}

/* Local menu control overrides for the WordPress label/input markup. */
@media screen and (max-width: 1023px) {
  .header__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    order: 2;
    z-index: var(--zindex-upper);
    flex-shrink: 0;
    pointer-events: all;
    width: 44px;
    height: 44px;
  }

  .header__mainLinkRow {
    column-gap: 0;
  }

  .header__mainLink {
    flex: 0 0 auto;
    pointer-events: auto;
  }

  .header__accordionToggle {
    position: static;
    justify-content: flex-end;
    align-self: stretch;
    flex: 1;
    width: auto;
    height: auto;
    padding: 10px 2px 10px 10px;
    z-index: var(--zindex-upper);
  }
}

/* 管理バー表示時のヘッダー位置補正
   .header は position:absolute なので html{margin-top:32px/46px} で既に押し下げられており
   追加オフセットは不要。スクロール後に JS が付ける .is-fixed は position:fixed で
   viewport 基準になるため、その時だけ管理バーの高さぶん下げる。
   以前は body.home で分岐していたが、企業情報トップがフロントページではなく
   通常の固定ページ (/corporate/) になったため .is-fixed の有無で判定する。 */
@media screen and (min-width: 783px) {
  body.admin-bar .header {
    margin-top: 0px;
  }
  body.admin-bar .header.is-fixed {
    margin-top: 32px;
  }
}
@media screen and (max-width: 783px) {
  body.admin-bar .header,
  body.admin-bar .header__nav {
    height: calc(100vh - 32px);
    height: calc(100dvh - 32px);
  }
  /* .header__nav は position:fixed だが、.header が transform を持つため
     fixed の包含ブロックが .header になる。つまり .header のオフセットを
     既に継承しているので追加の margin-top は不要（入れると二重にずれる）。 */
  body.admin-bar .header,
  body.admin-bar .header__nav {
    margin-top: 0px;
  }
  body.admin-bar .header.is-fixed {
    margin-top: 46px;
  }
}

@media screen and (max-width: 782px) {
  body.admin-bar #wpadminbar {
    position: fixed;
    top: 0;
  }

  body.admin-bar .header,
  body.admin-bar .header__nav {
    height: calc(100vh - 46px);
    height: calc(100dvh - 46px);
  }
}
/* Input-state and fallback menu rules. Shared layout lives in common.css. */
.header:has(.header__searchToggle:checked)::before,
.header:has(.header__megaInput:checked)::before,
.header:has(.header__mainItem--hasMega:hover)::before,
.header:has(.header__mainItem--hasMega:focus-within)::before {
  background-color: var(--color-navy-main);
}

.header:has(.header__searchToggle:checked) .header__contact,
.header:has(.header__megaInput:checked) .header__contact,
.header:has(.header__mainItem--hasMega:hover) .header__contact,
.header:has(.header__mainItem--hasMega:focus-within) .header__contact {
  background-color: var(--color-white);
  color: var(--color-navy-main);
}

.header:has(.header__searchToggle:checked) .header__contact::before,
.header:has(.header__megaInput:checked) .header__contact::before,
.header:has(.header__mainItem--hasMega:hover) .header__contact::before,
.header:has(.header__mainItem--hasMega:focus-within) .header__contact::before {
  background-color: var(--color-navy-main);
}

.header:has(.header__searchToggle:checked) .header__contactArrow,
.header:has(.header__megaInput:checked) .header__contactArrow,
.header:has(.header__mainItem--hasMega:hover) .header__contactArrow,
.header:has(.header__mainItem--hasMega:focus-within) .header__contactArrow {
  background-color: var(--color-navy-main);
}

.header:has(.header__searchToggle:checked) .header__contactArrow::before,
.header:has(.header__megaInput:checked) .header__contactArrow::before,
.header:has(.header__mainItem--hasMega:hover) .header__contactArrow::before,
.header:has(.header__mainItem--hasMega:focus-within) .header__contactArrow::before {
  background-color: var(--color-white);
}

.header:has(.header__searchToggle:checked) .header__searchBar {
  opacity: 1;
  visibility: visible;
}

.header:has(.header__searchToggle:checked) .header__mainList .header__mainItem--hasMega {
  pointer-events: none;
}

.header:has(.header__searchToggle:checked) .header__accordionIcon::before,
.header:has(.header__searchToggle:checked) .header__accordionIcon::after {
  background-color: var(--color-white);
}
.header:has(.header__megaInput:checked) .header__accordionIcon::after,
.header:has(.header__megaInput:checked) .header__accordionIcon::before {
  background-color: var(--color-navy-main);
}
.header__megaInput:checked ~ .header__megaMenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media screen and (max-width: 1023px) {
  .header__navInput:checked + .header .header__hamburgerLineWrap {
    width: 30px;
    height: 24px;
    transform: scale(1.4, 0.6);
  }

  .header__navInput:checked
    + .header
    .header__hamburgerLine:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
    height: 2.5px;
  }

  .header__navInput:checked
    + .header
    .header__hamburgerLine:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .header__navInput:checked
    + .header
    .header__hamburgerLine:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
    height: 2.5px;
  }

  .header__navInput:checked + .header .header__nav {
    transform: translateX(0);
  }

  .header__megaInput:checked
    ~ .header__mainLinkRow
    .header__accordionToggle
    .header__accordionIcon::after {
    transform: rotate(0);
  }

  .header__megaInput:checked ~ .header__megaMenu {
    max-height: 600px;
  }
}

.header__megaSubLinks {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding-left: 15px;
}

.header__megaSubLink {
  text-decoration: none;
  display: flex;
  align-items: center;
  color: var(--color-white);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.8;
}

.header__megaSubLink::before {
  content: "";
  display: block;
  width: 6px;
  height: auto;
  aspect-ratio: 1;
  mask-image: url(../../img/common/icon-arrow-navy.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  background-color: var(--color-white);
  margin-right: 7px;
  flex-shrink: 0;
}

.header__megaSubLink span {
  transition: opacity 0.3s;
}

.header__megaSubLink:hover span {
  opacity: 0.7;
}

.header__topList--main > .header__topItem:has(> .menu-child) {
  display: flex;
  align-items: center;
  position: relative;
}

.header__topList--main > .header__topItem:has(> .menu-child) > .header__topLink {
  font-size: 14px;
  font-weight: 500;
}

.header__topList--main > .header__topItem:has(> .menu-child) > .header__topLink::after {
  display: none;
}

.header__topList--main > .header__topItem:has(> .menu-child) > label {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  margin-left: 5px;
  cursor: pointer;
}

.header__topList--main > .header__topItem:has(> .menu-child) > label span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.header__topList--main > .header__topItem:has(> .menu-child) > label .angletoggle {
  display: block;
  width: 11px;
  height: 11px;
  position: relative;
  color: var(--color-navy-main);
  opacity: 1;
}

.header__topList--main > .header__topItem:has(> .menu-child) > label .angletoggle::before,
.header__topList--main > .header__topItem:has(> .menu-child) > label .angletoggle::after {
  content: "";
  display: block;
  width: 11px;
  height: 2px;
  background-color: currentColor;
  position: absolute;
  left: 0;
  top: 50%;
  transition: transform 0.3s;
}

.header__topList--main > .header__topItem:has(> .menu-child) > label .angletoggle::after {
  transform: rotate(90deg);
}

.header__topList--main > .header__topItem:hover > label .angletoggle,
.header__topList--main > .header__topItem:focus-within > label .angletoggle,
.header__topList--main > .header__topItem > .opensubmenu:checked + label .angletoggle {
  color: var(--color-white);
}

.header__topList--main > .header__topItem:hover > label .angletoggle::after,
.header__topList--main > .header__topItem:focus-within > label .angletoggle::after,
.header__topList--main > .header__topItem > .opensubmenu:checked + label .angletoggle::after {
  transform: rotate(0);
}

.header__topList--main > .header__topItem > .menu-child {
  position: fixed;
  top: calc(var(--header-height, 120px) - 1px);
  left: 0;
  right: 0;
  width: 100%;
  background: var(--color-navy-main);
  padding: 38px max(var(--layout-margin-inside-pc), calc((100vw - 880px) / 2)) 72px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 26px;
  list-style: none;
  margin: 0;
  z-index: var(--zindex-default);
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.header__topList--main > .header__topItem > .menu-child::before {
  content: "";
  display: block;
  width: calc(100% - 30px);
  height: 1px;
  background-color: var(--color-white);
  opacity: 0.1;
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.header__topList--main > .header__topItem:hover > .menu-child,
.header__topList--main > .header__topItem:focus-within > .menu-child,
.header__topList--main > .header__topItem > .opensubmenu:checked ~ .menu-child {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header:has(.header__topList--main > .header__topItem:hover > .menu-child)::before,
.header:has(.header__topList--main > .header__topItem:focus-within > .menu-child)::before,
.header:has(.header__topList--main > .header__topItem > .opensubmenu:checked ~ .menu-child)::before {
  background-color: var(--color-navy-main);
}

.header__topList--main > .header__topItem:hover > .header__topLink,
.header__topList--main > .header__topItem:focus-within > .header__topLink,
.header__topList--main > .header__topItem:has(> .opensubmenu:checked) > .header__topLink {
  opacity: 0.4;
}

.header__topList--main > .header__topItem > .menu-child > .header__topItem {
  min-width: 26%;
}

.header__topList--main > .header__topItem > .menu-child > .header__topItem:not(:nth-child(3n + 1)) {
  margin-left: 26px;
  position: relative;
}

.header__topList--main > .header__topItem > .menu-child > .header__topItem:not(:nth-child(3n + 1))::before {
  content: "";
  display: block;
  height: 20px;
  width: 1px;
  background-color: var(--color-white);
  opacity: 0.4;
  position: absolute;
  left: -26px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.header__topList--main .menu-child .header__topLink {
  display: flex;
  align-items: center;
  color: var(--color-white);
  text-decoration: none;
  line-height: 1.5;
}

.header__topList--main > .header__topItem > .menu-child > .header__topItem > .header__topLink {
  font-size: 16px;
  font-weight: 400;
}

.header__topList--main .menu-child .header__topLink::after {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--color-white);
  margin-left: 11px;
  opacity: 1;
  mask-image: url(../../img/common/icon-arrow-navy.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 8px 8px;
  background-color: var(--color-white);
  transition: transform 0.3s;
}

.header__topList--main .menu-child .header__topLink:hover {
  opacity: 0.7;
}

.header__topList--main .menu-child .header__topLink:hover::after {
  transform: translateX(3px);
}

.header__topList--main .menu-child .menu-child {
  position: static;
  width: auto;
  background: transparent;
  padding: 10px 0 0 15px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 0;
  transition: none;
}

.header__topList--main .menu-child .menu-child::before {
  content: none;
}

.header__topList--main .menu-child .opensubmenu + label {
  display: none;
}

.header__topList--main .menu-child .menu-child .header__topItem {
  min-width: auto;
}

.header__topList--main .menu-child .menu-child .header__topLink {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.8;
}

.header__topList--main .menu-child .menu-child .header__topLink::before {
  content: "";
  display: block;
  width: 6px;
  height: auto;
  aspect-ratio: 1;
  mask-image: url(../../img/common/icon-arrow-navy.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  background-color: var(--color-white);
  margin-right: 7px;
  flex-shrink: 0;
}

.header__topList--main .menu-child .menu-child .header__topLink::after {
  display: none;
}

@media screen and (max-width: 1023px) {
  .header__topList--main > .header__topItem:has(> .menu-child) {
    display: block;
    width: 100%;
    position: relative;
  }

  .header__topList--main > .header__topItem:has(> .menu-child) > .header__topLink {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 400;
    min-height: 60px;
    padding-right: 42px;
    pointer-events: auto;
  }

  .header__topList--main > .header__topItem:has(> .menu-child) > label {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 42px;
    height: 60px;
    padding: 12px 0;
    margin-left: 0;
    background-color: transparent;
    border-radius: 0;
  }

  .header__topList--main > .header__topItem:has(> .menu-child) > label > span {
    width: 36px;
    height: 36px;
    margin-left: auto;
  }

  .header__topList--main > .header__topItem:has(> .menu-child) > label .angletoggle {
    display: block;
    width: 18px;
    height: 18px;
    padding: 0;
    background-color: var(--color-white);
    border-radius: 50%;
  }

  .header__topList--main > .header__topItem:has(> .menu-child) > label .angletoggle::before,
  .header__topList--main > .header__topItem:has(> .menu-child) > label .angletoggle::after {
    width: 8px;
    height: 1px;
    left: 5px;
    background-color: var(--color-navy-main);
  }

  .header__topList--main > .header__topItem > .menu-child {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    background: transparent;
    padding: 0 0 0 22px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease,
      padding-bottom 0.3s ease;
  }

  .header__topList--main > .header__topItem > .menu-child::before {
    content: none;
  }

  .header__topList--main > .header__topItem:hover > .menu-child,
  .header__topList--main > .header__topItem:focus-within > .menu-child {
    max-height: 0;
    padding-bottom: 0;
  }

  .header__topList--main > .header__topItem > .opensubmenu:checked ~ .menu-child {
    max-height: 760px;
    padding-bottom: 28px;
  }

  .header__topList--main > .header__topItem:hover > .header__topLink,
  .header__topList--main > .header__topItem:focus-within > .header__topLink {
    opacity: 1;
  }

  .header__topList--main > .header__topItem:has(> .opensubmenu:checked) > .header__topLink {
    opacity: 0.4;
  }

  .header__topList--main > .header__topItem > .menu-child > .header__topItem {
    width: 100%;
    min-width: auto;
  }

  .header__topList--main > .header__topItem > .menu-child > .header__topItem:not(:nth-child(3n + 1)) {
    margin-left: 0;
  }

  .header__topList--main > .header__topItem > .menu-child > .header__topItem:not(:nth-child(3n + 1))::before {
    content: none;
  }

  .header__topList--main > .header__topItem > .menu-child > .header__topItem > .header__topLink {
    font-size: 14px;
    min-height: 0;
    padding: 2px 0;
  }

  .header__topList--main .menu-child .header__topLink::after {
    display: none;
  }

  .header__topList--main .menu-child .menu-child {
    padding-left: 12px;
    margin-top: 6px;
  }

  .header__megaInput:checked ~ .header__megaMenu {
    max-height: 700px;
  }

  .header__mainItem--hasMega:hover .header__mainLinkRow,
  .header__mainItem--hasMega:focus-within .header__mainLinkRow {
    opacity: 1;
  }

  .header__megaSubLinks {
    padding-left: 12px;
    margin-top: 6px;
  }

  .header__megaSubLink {
    font-size: 13px;
  }
}

.header .header__mainList > .header__mainItem > .header__mainLink {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  vertical-align: middle;
  pointer-events: auto;
}

.header .header__mainList > .header__mainItem > label {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  margin-left: 5px;
  cursor: pointer;
  line-height: 0;
  vertical-align: middle;
}

.header .header__mainList > .header__mainItem > label span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.header .header__mainList > .header__mainItem > label .angletoggle {
  display: block;
  width: 11px;
  height: 11px;
  position: relative;
  color: var(--color-navy-main);
  opacity: 1;
}

.header .header__mainList > .header__mainItem > label .angletoggle::before,
.header .header__mainList > .header__mainItem > label .angletoggle::after {
  content: "";
  display: block;
  width: 11px;
  height: 2px;
  background-color: currentColor;
  position: absolute;
  left: 0;
  top: 50%;
  transition: transform 0.3s;
}

.header .header__mainList > .header__mainItem > label .angletoggle::after {
  transform: rotate(90deg);
}

.header .header__mainList > .header__mainItem:hover > label .angletoggle,
.header .header__mainList > .header__mainItem:focus-within > label .angletoggle,
.header .header__mainList > .header__mainItem > .opensubmenu:checked + label .angletoggle {
  color: var(--color-white);
  opacity: 1;
}

.header .header__mainList > .header__mainItem:hover > label .angletoggle::after,
.header .header__mainList > .header__mainItem:focus-within > label .angletoggle::after,
.header .header__mainList > .header__mainItem > .opensubmenu:checked + label .angletoggle::after {
  transform: rotate(0);
}

.header .header__mainList > .header__mainItem > .menu-child {
  position: fixed;
  top: calc(var(--header-height, 120px) - 1px);
  left: 0;
  right: 0;
  width: 100%;
  background: var(--color-navy-main);
  padding: 38px max(var(--layout-margin-inside-pc), calc((100vw - 880px) / 2)) 72px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 26px;
  list-style: none;
  margin: 0;
  z-index: var(--zindex-default);
  transition:
  opacity 0.3s,
  visibility 0.3s;
}

.header .header__mainList > .header__mainItem > .menu-child::before {
  content: "";
  display: block;
  width: calc(100% - 30px);
  height: 1px;
  background-color: var(--color-white);
  opacity: 0.1;
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.header .header__mainList > .header__mainItem > .menu-child > .header__mainItem {
  min-width: 26%;
}

.header .header__mainList > .header__mainItem > .menu-child .header__mainLink {
  color: var(--color-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 400;
  pointer-events: auto;
}

.header .header__topList--main > .header__topItem:hover > .menu-child,
.header .header__topList--main > .header__topItem:focus-within > .menu-child,
.header .header__topList--main > .header__topItem > .opensubmenu:checked ~ .menu-child,
.header .header__mainList > .header__mainItem:hover > .menu-child,
.header .header__mainList > .header__mainItem:focus-within > .menu-child,
.header .header__mainList > .header__mainItem > .opensubmenu:checked ~ .menu-child {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header .header__topList--main > .header__topItem:hover > .menu-child .menu-child,
.header .header__topList--main > .header__topItem:focus-within > .menu-child .menu-child,
.header .header__topList--main > .header__topItem > .opensubmenu:checked ~ .menu-child .menu-child,
.header .header__mainList > .header__mainItem:hover > .menu-child .menu-child,
.header .header__mainList > .header__mainItem:focus-within > .menu-child .menu-child,
.header .header__mainList > .header__mainItem > .opensubmenu:checked ~ .menu-child .menu-child {
  display: grid !important;
}

.header .header__mainList > .header__mainItem > .menu-child .menu-child .header__mainLink {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.8;
}

.header .header__mainItem--hasMega:hover > .header__megaMenu,
.header .header__mainItem--hasMega:focus-within > .header__megaMenu,
.header .header__mainItem--hasMega > .header__megaMenu.is-open,
.header .header__mainItem--hasMega > .header__megaInput:checked ~ .header__megaMenu {
  display: block !important;
}

@media screen and (max-width: 1023px) {
  .header .header__topList--main > .header__topItem:hover > .menu-child,
  .header .header__topList--main > .header__topItem:focus-within > .menu-child,
  .header .header__mainList > .header__mainItem:hover > .menu-child,
  .header .header__mainList > .header__mainItem:focus-within > .menu-child {
    display: none !important;
  }

  .header .header__mainList > .header__mainItem > label {
    width: 36px;
    height: 36px;
    margin-left: 0;
    background-color: var(--color-white);
    border-radius: 50%;
  }

  .header .header__mainList > .header__mainItem > label .angletoggle {
    width: 18px;
    height: 18px;
  }

  .header .header__mainList > .header__mainItem > label .angletoggle::before,
  .header .header__mainList > .header__mainItem > label .angletoggle::after {
    width: 8px;
    height: 1px;
    left: 5px;
    background-color: var(--color-navy-main);
  }

  .header .header__mainList > .header__mainItem > .menu-child {
    position: static;
    width: 100%;
    background: transparent;
    padding: 0 0 0 22px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    max-height: none;
    overflow: visible;
  }

  .header .header__mainList > .header__mainItem > .menu-child::before {
    content: none;
  }

  .header .header__topList--main > .header__topItem > .opensubmenu:checked ~ .menu-child,
  .header .header__mainList > .header__mainItem > .opensubmenu:checked ~ .menu-child {
    display: flex !important;
  }

  .header .header__mainItem--hasMega > .header__megaMenu.is-open,
  .header .header__mainItem--hasMega > .header__megaInput:checked ~ .header__megaMenu {
    display: block !important;
  }
}

.header__topList--main:has(> .header__topItem > .opensubmenu:checked)
  > .header__topItem:not(:has(> .opensubmenu:checked)):hover
  > label
  .angletoggle,
.header__topList--main:has(> .header__topItem > .opensubmenu:checked)
  > .header__topItem:not(:has(> .opensubmenu:checked)):focus-within
  > label
  .angletoggle,
.header .header__mainList:has(> .header__mainItem > .opensubmenu:checked)
  > .header__mainItem:not(:has(> .opensubmenu:checked)):hover
  > label
  .angletoggle,
.header .header__mainList:has(> .header__mainItem > .opensubmenu:checked)
  > .header__mainItem:not(:has(> .opensubmenu:checked)):focus-within
  > label
  .angletoggle {
  color: var(--color-navy-main);
  opacity: 1;
}

.header .header__mainList:has(> .header__mainItem > .opensubmenu:checked)
  > .header__mainItem:not(:has(> .opensubmenu:checked)):hover
  .header__accordionIcon::before,
.header .header__mainList:has(> .header__mainItem > .opensubmenu:checked)
  > .header__mainItem:not(:has(> .opensubmenu:checked)):hover
  .header__accordionIcon::after,
.header .header__mainList:has(> .header__mainItem > .opensubmenu:checked)
  > .header__mainItem:not(:has(> .opensubmenu:checked)):focus-within
  .header__accordionIcon::before,
.header .header__mainList:has(> .header__mainItem > .opensubmenu:checked)
  > .header__mainItem:not(:has(> .opensubmenu:checked)):focus-within
  .header__accordionIcon::after {
  background-color: var(--color-navy-main);
}

.header__topList--main:has(> .header__topItem > .opensubmenu:checked)
  > .header__topItem:not(:has(> .opensubmenu:checked)):hover
  > .header__topLink,
.header__topList--main:has(> .header__topItem > .opensubmenu:checked)
  > .header__topItem:not(:has(> .opensubmenu:checked)):focus-within
  > .header__topLink,
.header .header__mainList:has(> .header__mainItem > .opensubmenu:checked)
  > .header__mainItem:not(:has(> .opensubmenu:checked)):hover
  > .header__mainLink,
.header .header__mainList:has(> .header__mainItem > .opensubmenu:checked)
  > .header__mainItem:not(:has(> .opensubmenu:checked)):focus-within
  > .header__mainLink {
  opacity: 1;
}

.header .header__mainList:has(> .header__mainItem > .opensubmenu:checked)
  > .header__mainItem:not(:has(> .opensubmenu:checked)):hover
  > .header__mainLinkRow,
.header .header__mainList:has(> .header__mainItem > .opensubmenu:checked)
  > .header__mainItem:not(:has(> .opensubmenu:checked)):focus-within
  > .header__mainLinkRow {
  opacity: 1;
}
