@charset "utf-8";

:root{
  --header-h: 68px;
  --menu: 49px;
  --hedaer-group: calc(var(--header-h) + var(--menu));
}

#header {
  position: fixed;
  width: 100%;
  background: #fff;
  z-index: 20;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .05);
  min-height: var(--header-h);
  display: grid;
  top: 0;
  z-index: 100;
}

#header a:active, #header a:link {
  color: #333;
  text-decoration: none
}

#header a:hover {
  color: #051f66;
  text-decoration: none
}

#header a:visited {
  color: #333;
  text-decoration: none
}

#header br {
  display: none
}

#header .cFix:after {
  /* content: "."; */
  display: block;
  clear: both;
  height: 0;
  visibility: hidden
}

#header .cFix {
  min-height: 1px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  padding-inline: 15px;
}

#header #head_inner {
  width: min(96%, 1160px);
  margin: 0 auto;
  display: grid;
  position: relative;
  grid-template-columns: auto 1fr;
  z-index: 100;
  gap: 12px;
}

#header #headLogo {
  width: 200px;
  transition: all .2s ease;
  align-self: center;
}

#header #headLogo img {
  width: 100%
}

#header #PC-GNAV {
  padding-right: 95px;
  align-self: stretch;
}

#header #PC-GNAV ul li {
  list-style-type: none;
  height: 100%;
  position: relative;  
}

#header #PC-GNAV > ul > li {
  display: grid;
  align-content: center;
}


#header #PC-GNAV ul li.arrow::after,
#header #PC-GNAV ul li.active::after{
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  translate: -50% 0;
  background-color: #051f66;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  width: 10px;
  height: 10px;
}

#header #PC-GNAV ul li a {
  position: relative;
  display: block;
  text-decoration: none
}

#header #PC-GNAV ul li a span {
  display: block;
  position: relative;
  color: #000;
  font-size: 1rem;
  line-height: 1;
  padding-block: 0.2em;
  display: flex;
  align-items: center;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease
}

#header #PC-GNAV ul li a span:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #051f66;
  opacity: 0;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease
}

#header #PC-GNAV ul li:hover a span {
  color: #051f66
}

#header #PC-GNAV ul li:hover a span:after {
  opacity: 1
}

#header #PC-GNAV ul li img {
  vertical-align: middle;
  margin-right: 10px;
  height: 30px
}
#header #PC-GNAV ul li a[href*="ma"] img{
    height: 23px;
}

#header #PC-GNAV ul li.active a.mmunu span:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: #051f66;
  opacity: 1
}

#header #PC-GNAV ul li.active a.mmunu span {
  color: #051f66
}

#header #PC-GNAV ul li.active.kakusu a.mmunu span:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0);
  opacity: 1;
  transition: .4s
}

#header #PC-GNAV ul li.active.kakusu a.mmunu {
  background-image: none;
  transition: .4s
}

#header #PC-GNAV .MegaDropMenu {
  display: none;
  position: fixed;
  left: 0;
  color: #fff;
  z-index: 10;
  box-shadow: 0 4px 4px rgba(0, 0, 0, .1);
  background: linear-gradient(to bottom, #051f66, rgba(5, 31, 102, .95) 100%);
  left: 0;
  width: 100%;
  top: calc(var(--header-h));
}

#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner {
  position: relative;
  display: table;
  margin: 0 auto;
  padding-block: 24px 60px;
  width: min(96%, 1200px);
}

#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner:after {
  content: '';
  display: block;
  height: 0;
  clear: both
}

#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner ul {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0;
  padding: .6rem 0;
}

#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner ul li {
  display: inline-block;
  vertical-align: top
}

#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner ul li a {
  display: inline-block;
  font-size: .8rem;
  color: #fff;
  margin: 0;
  padding: .2rem .4rem;
  width: 100%;
  box-sizing: border-box;
  transition: .2s;
  background-color: rgba(255, 255, 255, .1)
}
#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner ul:not(:has(ul.child a.active)) a.active {
  background-color: #fff;
  color: #051f66;
}
#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner ul:not(:has(ul.child a.active)) a.active:after {
  border-color: #051f66;
}

#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner ul li a:hover {
  text-decoration: none;
  background-color: #fff;
  color: #051f66;
  box-shadow: 0 4px 4px rgba(0, 0, 0, .1)
}

#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner ul li ul.child {
  margin: 0 0 15px 0;
  padding: 0;
  border-top: 1px solid #fff
}

#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner ul li ul.child li {
  display: block;
  margin: 2px 0 0 0;
  padding: 0;
  background-color: rgba(255, 255, 255, .1);
  text-align: center
}

#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner ul li ul.child li a {
  margin: 0;
  padding: .3rem .1rem;
  font-size: 12px;
  width: 100%;
  box-sizing: border-box;
  transition: .2s
}

#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner ul li ul.child li a.active {
  background-color: #fff;
  color: #051f66;
}
#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner ul li ul.child li a.active::before {
  background-color: #051f66;
}

#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner .MegaDropMenu__ul {
  margin-top: 24px;
  display: grid;
  gap: 46px 20px;
  grid-template-columns: var(--columns, repeat(3, 1fr));
  text-align: left;
  padding: 0;

  li {
    height: auto;
  }

  >li {
    >a {
      font-size: 0.875rem;
      border-bottom: 1px solid #fff;
      position: relative;
      padding-inline: 6px 1em;
    }

    >a::after {
      content: "";
      position: absolute;
      top: 0.5lh;
      right: 5px;
      width: calc((5 / 14) * 1em);
      aspect-ratio: 1/1;
      display: block;
      border: 0 solid #fff;
      border-top-width: 1px;
      border-right-width: 1px;
      rotate: 45deg;
      transition: border-color 0.2s;
    }

    >a:hover::after {
      border-color: #051f66;
    }
  }

  a {
    background-color: #fff0;
  }

  ul.child {
    border-top: none;
    margin-block: 0.5rem 0;

    li {
      background-color: #fff0;
      text-align: left;
      margin: 0;
    }

    a {
      font-size: 0.75rem;
      position: relative;
      padding-inline: calc((12 / 12) * 1em) 0.5em;
      padding-block: calc((4 / 12) * 1em);
      line-height: 1.2;

      br {
        display: none;
      }
    }

    a::before {
      content: "";
      position: absolute;
      top: calc(0.5lh + 0.15em);
      left: 4px;
      width: calc((5 / 12) * 1em);
      aspect-ratio: 0.8/1;
      display: block;
      background-color: #fff;
      clip-path: polygon(0 0, 0% 100%, 100% 50%);
      transition: background-color 0.2s;
    }

    a:hover::before {
      background-color: #051f66;
    }
  }
}

#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner .MegaDropMenu__ul.--group {
  --columns: repeat(4, auto);
}
#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner .MegaDropMenu__ul.--ir {
  --columns: repeat(6, 1fr);
}
#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner .MegaDropMenu__ul.--ma,
#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner .MegaDropMenu__ul.--sustainability {
  --columns: repeat(4, 1fr);
}

#header #PC-GNAV .MegaDropMenu__title {
  display: flex;
  align-items: center;
  color: #fff;
  transition: opacity 0.2s;

  img {
    filter: brightness(0) invert(1);
  }

  .__arrow {
    background-color: currentColor;
    color: inherit;
    width: 1.125rem;
    height: 1.125rem;
    display: inline-block;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    position: relative;
    top: 0.0125em;
    mask-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2018%2018%22%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22m8%2012%203-3-3-3%22%2F%3E%3Ccircle%20cx%3D%229%22%20cy%3D%229%22%20r%3D%228.5%22%20stroke%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E');
    margin-left: 1em;
  }

  .__text {
    color: inherit;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    padding-block: 0 0.2em;
  }
}
#header #PC-GNAV .MegaDropMenu__title:hover {
  opacity: 0.8;
  img {
    opacity: 1;
  }
}

#header .Snav {
  background-color: #051f66;
  color: #fff;
  padding: 0;
  box-shadow: 0 4px 4px rgba(0, 0, 0, .1);
  position: fixed;
  left: 0;
  width: 100%;
  top: var(--header-h);
  border-bottom: 1px solid #fff;
}

#header .Snav .inner {
  /* max-width: 1200px; */
  /* width: 100%; */
  width: min(96%, 1200px);
  margin: 0 auto
}

#header .Snav .inner ul {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: .6rem 0;
  display: flex;
  justify-content: center;
  gap: 3px;
  list-style-type: none;
}
@media screen and (min-width: 1100.1px) {
  #header .Snav .inner ul.ir-list-margin {
    a {
      padding-inline: clamp(0.625rem, -3.5rem + 6vw, 1rem);
    }
  }
}

#header .Snav .inner a {
  font-size: .8rem;
  color: #fff;
  box-sizing: border-box;
  display: grid;
  place-content: center;
  padding-block: 4px 5px;
  padding-inline: 2em;
  line-height: 1.3;
  height: 100%;
  br {
    display: none;
  }
}

#header .Snav .inner a:hover {
  text-decoration: none;
  background-color: #fff;
  color: #051f66;
  box-shadow: 0 4px 4px rgba(0, 0, 0, .1)
}

#header .Snav .inner a.active {
  text-decoration: none;
  background-color: #fff;
  color: #051f66;
  box-shadow: 0 4px 4px rgba(0, 0, 0, .1)
}

/* 企業情報 */
#header #PC-GNAV .gnav02 .MegaDropMenu .MegaDropMenuInner:before {
  left: 359px
}
/* 事業紹介 */
#header #PC-GNAV .gnav03 .MegaDropMenu .MegaDropMenuInner:before {
  left: 507px
}
/* IR情報 */
#header #PC-GNAV .gnav01 .MegaDropMenu .MegaDropMenuInner:before {
  left: 646px;
}
/* サステナビリティ */
#header #PC-GNAV .gnav04 .MegaDropMenu .MegaDropMenuInner:before {
  left: 816px
}
/* 採用情報 */
#header #PC-GNAV .gnav05 .MegaDropMenu .MegaDropMenuInner:before {
  left: 995px
}


#header #lang-area {
  font-size: 1rem;
  transition: all .2s ease;
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
}

#header #lang-area ul.lang-menu {
  position: relative;
  z-index: 9999;
  width: 90px
}

#header #lang-area ul.lang-menu {
  text-align: center;
  list-style-type: none;
  margin: 0 auto;
  padding: 0
}

#header #lang-area ul.lang-menu li {
  display: block;
  max-width: 120px;
  position: relative;
  padding: 0;
  cursor: pointer
}

ul.lang-menu>li {
  display: inline;
  border-bottom: 1px solid #000;
  background-image: url("../img/svg/icn_arw_tgl_b.svg"), url("../img/svg/icn_global.svg");
  background-position: center right, center left;
  background-repeat: no-repeat, no-repeat
}

#header #lang-area ul.lang-menu li ul.lang-child {
  width: 100%;
  display: none;
  position: absolute;
  margin-left: 0;
  margin-top: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #000;
  box-shadow: 0 4px 4px rgba(0, 0, 0, .1)
}

#header #lang-area ul.lang-menu li ul.lang-child li {
  width: 100%;
  border-bottom: 1px solid #000
}

#header #lang-area ul.lang-menu li ul.lang-child li:last-child {
  border-bottom: none
}

#header #lang-area ul.lang-menu li ul.lang-child li a {
  padding: 0 0;
  margin: 0;
  display: block;
  color: #333
}

#header #lang-area ul.lang-menu li ul.lang-child li a:hover {
  background: #1e1e1e;
  color: #fff
}

#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner ul.pc-gnav-child{
  display: grid;
  padding: 0;
  padding-top: 2px;
  border-top: 1px solid #fff;
  align-items: flex-start;
  gap: 2px;
}
#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner ul.pc-gnav-child li{
  background-color: rgba(255,255,255,0.1);
  border: none;
}
#header #PC-GNAV .MegaDropMenu .MegaDropMenuInner ul.pc-gnav-child li a{
  border: none;
}

#Sp-Header .Sp-Navi-list .memu-area ul li img.is-img-ma {
    height: 30px;
    padding-block: 7px 3px;
}

#Sp-Header .Sp-Navi-list .navi-area h2 img.is-img-ma {
    height: 28px;
}

/* 2026年4月 Gナビレイアウト変更 */

@media screen and (max-width:1200px) {
  #header #PC-GNAV {
    .MegaDropMenu .MegaDropMenuInner {
      .MegaDropMenu__ul.--ir {
        --columns: repeat(6, auto);
      }
      .MegaDropMenu__ul.--ma {
        --columns: repeat(4, auto);
      }
    }
  }
}
@media screen and (max-width:1000px) {
  #header #PC-GNAV {
    .MegaDropMenu .MegaDropMenuInner {
      .MegaDropMenu__ul.--ir {
        --columns: repeat(5, auto);
      }
    }
  }
}