/*===========================================================================
header
headerで使用するCSS
接頭辞【.l-】

【予測変換用 _base.css記述】
:root {
  --font-color-base: #000;
  --font-family-base: "Noto Sans JP", sans-serif;
  --back-color-base: #fff;
  --design-size-pc: 1400;
  --design-size-sp: 750;
}
===========================================================================*/
.l-hdr {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  background-color: #fff;
}
.l-hdr__inr {
  position: relative;
  max-width: 1200rem;
  height: var(--pc-hdr-height);
  margin: 0 auto;
  background-color: #fff;
  transition: height var(--hdr-transform);
}
.l-hdr__logo {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  transition: width var(--hdr-transform), top var(--hdr-transform);
}
.l-hdr__logoLnk {
  display: flex;
  align-items: center;
  width: calc((260 + 40) * 1rem);
  padding: 20rem;
}
.l-hdr__cts {
  position: relative;
  display: grid;
  grid-template-columns: 260rem auto;
}
.l-hdr__navList {
  display: flex;
  justify-content: end;
  grid-area: 2 / 1 / 3 / 3;
  gap: 0 28rem;
  margin: 0 -10rem;
  padding: 0 20rem;
}
.l-hdr__navLink {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 17rem 10rem 22rem;
  font-size: 16rem;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  transition: color 0.3s linear;
}
.l-hdr__sub {
  display: flex;
  justify-content: flex-end;
  grid-area: 1 / 2 / 2 / 3;
}
.l-grid:has(.l-hdr__subNavList) {
  padding-top: 5rem;
}
.l-hdr__subNavList {
  display: flex;
}
.l-hdr__subNavLink {
  display: block;
  padding: 6rem;
  font-size: 13rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.l-hdr__srhWrp {
  margin-left: calc((20 - 6) * 1rem);
}
.l-hdr__srh {
  position: relative;
  display: flex;
  gap: 0 4rem;
  width: 180rem;
  padding: 5rem 16rem 5rem 20rem;
  border-radius: 18rem;
  background-color: #f5f7fa;
}
.l-hdr__srhInp {
  flex: 1;
  width: 100%;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  font-size: 13rem;
  line-height: 1.5;
}
.l-hdr__srhInp:focus {
  outline: none;
  box-shadow: none;
}
.l-hdr__srhInp::-webkit-input-placeholder {
  color: #666;
}
.l-hdr__srhInp::-moz-placeholder {
  color: #666;
}
.l-hdr__srhInp:-ms-input-placeholder {
  color: #666;
}
.l-hdr__srhInp::-ms-input-placeholder {
  color: #666;
}
.l-hdr__srhInp::placeholder {
  color: #666;
}
.l-hdr__srhBtn {
  flex-shrink: 0;
  width: 26rem;
  height: 26rem;
  padding: 0;
  background: url(/common/images/icn_search.svg) no-repeat center / contain;
  cursor: pointer;
}
.l-hdr__lang {
  margin-right: -8rem;
  margin-left: calc((20 - 8) * 1rem);
}
.l-hdr__langList {
  display: flex;
}
.l-hdr__langItem:not(:last-child) {
  position: relative;
}
.l-hdr__langItem:not(:last-child)::after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 12rem;
  background-color: #ddd;
  transform: translateY(-50%);
}
.l-hdr__langInr {
  display: block;
  padding: 4rem 8rem;
  font-size: 13rem;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  transition: color 0.3s linear;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.l-hdr__langInr.is-active {
  color: #348be1;
  pointer-events: none;
}
.l-hdr__btnWrap {
  display: flex;
  margin-left: 24rem;
}
.l-hdr__btnInr {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 156rem;
  min-height: 52rem;
  padding: 10rem;
  border: 1px solid;
  color: #fff;
  font-size: 14rem;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s linear;
  transition-property: border-color, background-color, color;
}
.--type-recruit .l-hdr__btnInr {
  border-color: #80bcf1;
  background-color: #80bcf1;
}
.--type-download .l-hdr__btnInr {
  border-color: var(--back-color-main);
  background-color: var(--back-color-main);
}
@media (any-hover: hover) {
  .l-hdr__navLink:hover {
    color: #0074bf;
  }
  .l-hdr__navLink:hover::after {
    background-color: #0074bf;
  }
  .l-hdr__subNavLink:hover .txt {
    text-decoration: underline;
    text-underline-offset: 2rem;
  }
  .l-hdr__langInr:hover {
    color: #348be1;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .l-hdr__btnInr:hover {
    border-color: var(--back-color-main);
    background-color: #fff;
    color: var(--font-color-main);
  }
}
@media screen and (min-width: 1201px) {
  .l-hdr__logoLnk {
    margin-left: -20rem;
  }
  .l-hdr__navList {
    margin: 0 -30rem;
  }
}
/* PC
----------------------------------*/
@media screen and (min-width: 769px) {
  .l-hdr__navLink::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 10rem;
    width: calc(100% - 20rem);
    height: 3px;
    background-color: transparent;
    transition: background-color 0.3s linear;
  }
  .l-hdr__navLink.is-active,
  .l-hdr__navLink.is-current {
    color: #0074bf;
  }
  .l-hdr__navLink.is-active::after,
  .l-hdr__navLink.is-current::after {
    background-color: #0074bf;
  }
}
/* SP
----------------------------------*/
@media screen and (max-width: 768px) {
  .l-hdr {
    padding: 0;
  }
  .l-hdr__inr {
    display: flex;
    justify-content: space-between;
    max-width: initial;
    height: var(--sp-hdr-height);
  }
  .l-hdr__logo {
    position: static;
  }
  .l-hdr__logoLnk {
    width: calc((183 + 40) * 1rem);
    padding: 18rem 20rem;
  }
  .l-hdr__cts {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    display: flex;
    overflow-y: auto;
    flex-direction: column;
    width: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    padding: calc(var(--sp-hdr-height) + 40rem) 20rem 30rem;
    background-color: #f5f7fa;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  }
  .l-hdr__cts.is-open {
    opacity: 1;
    transform: translateY(0);
  }
  .l-hdr__navList {
    display: block;
    margin: calc((40 - 20) * 1rem) 0 0;
    padding: 0;
  }
  .l-hdr__navItem:not(:last-child) {
    border-bottom: 1px solid #e0eaf7;
  }
  .l-hdr__navLink {
    position: relative;
    display: block;
    padding: 18rem 50rem 17rem 0;
    font-size: 14rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: left;
  }
  .l-hdr__navLink.is-active,
  .l-hdr__navLink.is-current {
    text-decoration: none;
  }
  .l-hdr__navLink:not([data-js-flex-btn])::after {
    content: " ";
    position: absolute;
    top: 50%;
    right: 0;
    width: 18rem;
    height: 18rem;
    background-color: var(--back-color-main);
    mask: url(/common/images/icn_line_arw_wt.svg) no-repeat center / contain;
    transform: translateY(-50%);
    -webkit-mask: url(/common/images/icn_line_arw_wt.svg) no-repeat center / contain;
  }
  .l-hdr__navLink[data-js-flex-btn]::after,
  .l-hdr__navLink[data-js-flex-btn]::before {
    content: " ";
    position: absolute;
    top: 50%;
    right: 3rem;
    width: 12rem;
    height: 1px;
    background: var(--back-color-main);
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
  }
  .l-hdr__navLink[data-js-flex-btn]::before {
    transform: translateY(-50%) rotate(90deg);
  }
  .l-hdr__navItem.is-open .l-hdr__navLink[data-js-flex-btn]::before {
    transform: translateY(-50%) rotate(0);
  }
  .l-hdr__sub {
    display: contents;
  }
  .l-grid:has(.l-hdr__subNavList) {
    padding-top: 15rem;
  }
  .l-hdr__subNavList {
    margin: 0 -6rem;
  }
  .l-hdr__subNavItem {
    font-size: 0;
  }
  .l-hdr__subNavLink {
    display: inline-block;
    font-size: 12rem;
  }
  .l-hdr__srhWrp {
    margin: 0;
  }
  .l-hdr__srh {
    width: 100%;
    padding: 8rem 24rem;
    border-radius: 21rem;
    background-color: #fff;
  }

  .l-hdr__lang {
    margin-left: 0;
  }
  .l-grid-sp:has(.l-hdr__btnWrap) {
    flex-wrap: nowrap;
    order: -1;
    gap: 0;
  }
  .l-hdr__btnWrap {
    flex-direction: row-reverse;
    gap: 8rem;
    margin-left: 0;
  }
  .l-hdr__btnInr {
    min-width: 128rem;
    min-height: 38rem;
    font-size: 12rem;
    letter-spacing: initial;
  }
}



.l-hdr__ol {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 998;
  display: none;
  opacity: 1;
}
/* PC
----------------------------------*/
@media screen and (min-width: 769px) {
  .l-hdr__spBtnWrap {
    display: none;
  }
}
/* SP
----------------------------------*/
@media screen and (max-width: 768px) {
  .l-hdr__spBtnWrap {
    display: flex;
  }
  .l-hdr__spBtnWrap > button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55rem;
  }
  .l-hdr__spSearchBtn {
    background-color: #348be1;
  }
  .l-hdr__spSearchBtn::before {
    content: " ";
    display: block;
    width: 27rem;
    height: 27rem;
    background-color: #fff;
    mask: url(/common/images/icn_search.svg) no-repeat center / contain;
    -webkit-mask: url(/common/images/icn_search.svg) no-repeat center / contain;
  }
  .l-hdr__spSearchBtn .l-hdr__spBar {
    display: none;
    visibility: hidden;
    opacity: 0;
  }
  .l-hdr__spBar {
    position: relative;
    width: 24rem;
    height: 1px;
    background-color: var(--back-color-main);
    transition: all 0.3s ease-in-out;
  }
  .l-hdr__spBar::before,
  .l-hdr__spBar::after {
    content: " ";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--back-color-main);
    transition: all 0.3s ease-in-out;
  }
  .l-hdr__spBar::before {
    top: -8rem;
  }
  .l-hdr__spBar::after {
    bottom: -8rem;
  }
  .l-hdr__spBtnWrap > button.is-open .l-hdr__spBar {
    background-color: transparent;
  }
  .l-hdr__spBtnWrap > button.is-open .l-hdr__spBar::before {
    top: 0;
    transform: rotate(45deg);
  }
  .l-hdr__spBtnWrap > button.is-open .l-hdr__spBar::after {
    bottom: 0;
    transform: rotate(-45deg);
  }
  .l-hdr__spSearchBtn.is-open::before {
    display: none;
  }
  .l-hdr__spSearchBtn.is-open .l-hdr__spBar {
    display: block;
    visibility: visible;
    background-color: transparent;
    opacity: 1;
  }
  .l-hdr__spSearchBtn.is-open .l-hdr__spBar::before,
  .l-hdr__spSearchBtn.is-open .l-hdr__spBar::after {
    top: 0;
    background-color: #fff;
    transform: rotate(45deg);
  }
  .l-hdr__spSearchBtn.is-open .l-hdr__spBar::after {
    transform: rotate(-45deg);
  }
  .l-hdr__ol {
    background: rgba(63, 67, 93, 0.3);
  }
}



/* PC
----------------------------------*/
@media screen and (min-width: 769px) {
  .l-hdr__navChild {
    display: none !important;
  }
}
/* SP
----------------------------------*/
@media screen and (max-width: 768px) {
  .l-hdr__navChild {
    display: none;
    height: 0;
    min-height: 0;
    transition: transform 0s 0s ease-in-out;
  }
  .l-hdr__navChildInr {
    margin-top: -4rem;
    padding: 0 8rem 17rem;
  }
  .l-hdr__navChildItem {
    font-size: 0;
  }
  .l-hdr__navChildItem:not(:first-child) {
    margin-top: 4rem;
  }
  .l-hdr__navChildItem a {
    display: inline-block;
    font-size: 12rem;
    line-height: 1.5;
    text-decoration: none;
  }
}


.l-hdr__drp {
  position: fixed;
  top: calc(var(--pc-hdr-height) - 1px);
  left: 0;
  z-index: 998;
  overflow: hidden;
  width: 100%;
  height: 0;
  background-color: #fff;
  container-type: inline-size;
}
.l-hdr__drp.is-hover {
  z-index: 999;
}
.l-hdr__drpInr {
  max-width: 1200rem;
  margin: 0 auto;
}
.l-hdr__drpCts {
  display: flex;
  min-height: 372rem;
}
.l-hdr__drpTtlCol {
  position: relative;
  z-index: 0;
  flex: 1 1 675rem;
  margin-left: var(--negative-margin);
  padding: 40rem 40rem 40rem abs(var(--negative-margin));
  color: #fff;
}
.l-hdr__drpTtlCol::before,
.l-hdr__drpTtlCol::after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.l-hdr__drpTtlCol::after {
  background: linear-gradient(109deg, #094186 33.43%, #095686 100%);
  opacity: 0.88;
}
.l-hdr__drpTtlCol::before {
  background: no-repeat top right / cover;
}
[data-js-hdr-child-name="future"] .l-hdr__drpTtlCol::before {
  background-image: url(/common/images/nav_future_bg.jpg);
}
[data-js-hdr-child-name="business"] .l-hdr__drpTtlCol::before {
  background-image: url(/common/images/nav_business_bg.jpg);
}
[data-js-hdr-child-name="company"] .l-hdr__drpTtlCol::before {
  background-image: url(/common/images/nav_company_bg.jpg);
}
[data-js-hdr-child-name="ir"] .l-hdr__drpTtlCol::before {
  background-image: url(/common/images/nav_ir_bg.jpg);
}
.l-hdr__drpTtl {
  display: flex;
  align-items: center;
  gap: 8rem;
}
.l-hdr__drpTtlJp {
  font-family: var(--font-family-serif);
  font-size: 24rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
}
.l-hdr__drpTtlEn {
  font-family: var(--font-family-red-hat-text);
  font-size: 12rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
}
.l-hdr__drpTtl + * {
  margin-top: 40rem;
}
.l-hdr__drpItemInr {
  display: block;
  color: inherit;
  text-decoration: none;
}
.l-hdr__drpItemTxt {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  margin-top: 14rem;
  font-size: 14rem;
  font-weight: 500;
  line-height: 1.6;
  transition: all 0.3s linear;
  transition-property: color, opacity;
}
.l-hdr__drpItemTxt::after {
  content: " ";
  position: relative;
  right: 0;
  display: block;
  width: 18rem;
  height: 18rem;
  background-color: currentColor;
  mask: url(/common/images/icn_line_arw_wt.svg) no-repeat center / contain;
  transition: right 0.3s linear;
  -webkit-mask: url(/common/images/icn_line_arw_wt.svg) no-repeat center / contain;
}
.l-hdr__drpDtlCol {
  display: flex;
  flex: 1 1 1244rem;
  flex-direction: column;
  margin-right: var(--negative-margin);
  padding: 56rem calc(40rem + abs(var(--negative-margin))) 15rem 40rem;
  background-color: #f5f7fa;
}
.l-hdr__drpTopLink a {
  position: relative;
  display: inline-flex;
  gap: 24rem;
  color: var(--font-color-main);
  font-size: 16rem;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 2px;
}
.l-hdr__drpTopLink a::after {
  content: "";
  position: relative;
  right: 0;
  display: block;
  width: 18rem;
  height: 18rem;
  background-color: var(--back-color-main);
  mask: url(/common/images/icn_line_arw_wt.svg) no-repeat center / contain;
  transition: right 0.3s linear;
  -webkit-mask: url(/common/images/icn_line_arw_wt.svg) no-repeat center / contain;
}
.l-hdr__drpDtlCts {
  margin: auto 0;
}
.l-hdr__drpImgGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24rem;
}
.l-hdr__drpImgGrid.--col-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.l-hdr__drpLinkList {
  display: grid;
  align-items: end;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 30rem;
}
.l-hdr__drpLinkItem {
  display: flex;
  align-items: end;
}
.l-hdr__drpLinkItem a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16rem 0;
  border-bottom: 1px solid #dbe6ee;
  font-size: 14rem;
  font-weight: 500;
  line-height: 1.43;
  text-decoration: none;
  transition: color 0.3s linear;
}
.l-hdr__drpLinkItem a::after {
  content: "";
  position: relative;
  right: 0;
  display: block;
  width: 18rem;
  height: 18rem;
  background-color: var(--back-color-main);
  mask: url(/common/images/icn_line_arw_wt.svg) no-repeat center / contain;
  transition: right 0.3s linear;
  -webkit-mask: url(/common/images/icn_line_arw_wt.svg) no-repeat center / contain;
}

.l-hdr__drpChildList {
  margin-top: 10rem;
}
.l-hdr__drpChildItem:not(:first-child) {
  margin-top: 6rem;
}
.l-hdr__drpChildItem a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0 8rem;
  padding-left: 16rem;
  font-size: 12rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.3s linear;
}
.l-hdr__drpChildItem a::before,
.l-hdr__drpChildItem a::after {
  content: "";
}
.l-hdr__drpChildItem a::before {
  position: absolute;
  top: 6rem;
  left: 0;
  width: 8rem;
  height: 8rem;
  border-radius: 0.6rem;
  background-color: var(--back-color-main);
}
.l-hdr__drpChildItem a::after {
  position: relative;
  right: 0;
  display: block;
  width: 12rem;
  height: 12rem;
  background-color: var(--back-color-main);
  mask: url(/common/images/icn_line_arw_wt.svg) no-repeat center / contain;
  transition: right 0.3s linear;
  -webkit-mask: url(/common/images/icn_line_arw_wt.svg) no-repeat center / contain;
}
@media (any-hover: hover) {
  .l-hdr__drpTtlCol .l-hdr__drpItemInr:hover .l-hdr__drpItemTxt {
    opacity: 0.7;
  }
  .l-hdr__drpDtlCol .l-hdr__drpItemInr:hover .l-hdr__drpItemTxt {
    color: var(--font-color-main);
  }
  .l-hdr__drpItemInr:hover .l-hdr__drpItemTxt::after {
    right: -6rem;
  }
  .l-hdr__drpTopLink a:hover {
    text-decoration: underline;
  }
  .l-hdr__drpTopLink a:hover::after {
    right: -6rem;
  }
  .l-hdr__drpLinkItem a:hover {
    color: var(--font-color-main);
  }
  .l-hdr__drpLinkItem a:hover::after {
    right: -6rem;
  }
  .l-hdr__drpChildItem a:hover {
    color: var(--font-color-main);
  }
  .l-hdr__drpChildItem a:hover::after {
    right: -6rem;
  }
}
