@charset "UTF-8";

/* header
========================================================================== */
.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
}

.is-fixed.header-wrapper {
  background-color: rgba(255, 255, 255, .8);
}

.header-wrapper {
  display: block;
  transition: opacity 1s ease 1s, visibility 1s ease 1s;
  background-color: #fff;
  height: 80px;
  padding: 0 20px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 90%;
  padding: 0;
  margin: 0 auto;
}

.header-inner ul {
  display: flex;
  align-items: center;
  list-style: none;
  line-height: 1;
  margin: 0 auto;
}

.header-inner .logo-header {
  position: absolute;
  top: 30px;
  left: 0;
  display: flex;
  align-items: center;
  line-height: 1;
}

.header-inner .logo-header span {
  display: block;
  font-family: "Helvetica";
  position: absolute;
  top: 5px;
  left: 200px;
  white-space: nowrap;
  color: #004EA8;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.01em;
}

.header-inner .list-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 400px;
  line-height: 1;
  margin: 0 auto;
}

.header-inner .list-nav ul {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  letter-spacing: 0.04em;
  font-weight: 500;
  width: 90%;
  height: 100%;
  margin: 0 auto;
}

.header-inner .list-nav ul li a {
  position: relative;
  display: inline-block;
  align-items: center;
  letter-spacing: 0.15em;
  transition: .3s;
  padding: 33px 0 10px;
}

.header-inner .list-nav ul li:hover a {
  opacity: 1;
  position: relative;
}

.header-inner .list-nav ul li a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 0;
  height: 3px;
  background-color: #003384;
  transition: .3s;
}

.header-inner .list-nav ul li.is-current a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 3px;
  background-color: #003384;
  transition: .3s;
}

.header-inner .list-nav ul li a:hover::after {
  width: 100%;
}

.header-inner .list-nav ul li {
  position: relative;
  height: 100%;
}

/* メガメニュー */
.mega-menu {
  display: none;
  background-color: red;
  position: absolute;
  z-index: 9999;
  transition: all 0.3s ease-out 0s;
  height: 220px;
  width: 100vw;
}

.li-company .mega-menu {
  margin: 0 calc(561% - 50vw);
}

.li-commitment .mega-menu {
  margin: 0 calc(251% - 50vw);
}

.li-business .mega-menu {
  margin: 0 calc(141% - 50vw);
}

.mega-menu ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  height: 100%;
}

.mega-menu ul li {
  background-size: cover;
  background-color: #003384;
  width: 100%;
}

.header-inner .list-nav ul li .mega-menu ul li a {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  color: #fff;
  letter-spacing: 0.04em;
  width: 100%;
  height: 100%;
  padding: 40px;
}

.header-inner .list-nav ul li:hover .mega-menu {
  display: block;
}

.header-inner .list-sns {
  position: absolute;
  right: 0;
  top: 32px;
}

.header-inner .list-sns li+li {
  margin-left: 18px;
}

@media screen and (max-width: 1200px) {
  .header-inner {
  display: flex;
    max-width: inherit;
  }
}

@media screen and (max-width: 767px) {
  .header-wrapper {
    display: block;
    background-color: #fff;
    height: 60px;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
  }

  .header-inner .list-nav,
  .header-inner ul {
    display: none;
  }

  .header-inner .logo-header {
    position: absolute;
    z-index: 10000;
    top: 22px;
    left: 0;
  }

  .header-inner .logo-header span {
    top: 2px;
    left: 140px;
  }

  .header-inner .logo-header img {
    max-width: 122px;
  }

  .btn-hamburger,
  .btn-hamburgerr span {
    display: inline-block;
    box-sizing: border-box;
  }

  .btn-hamburger {
    position: absolute;
    z-index: 999999;
    top: 21px;
    right: 0;
    width: 24px;
    height: 17px;
  }

  .btn-hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #004EA8;
  }

  .btn-hamburger span:nth-of-type(1) {
    top: 0;
  }

  .btn-hamburger span:nth-of-type(2) {
    top: 8px;
  }

  .btn-hamburger span:nth-of-type(3) {
    bottom: 0;
  }

  .btn-hamburger.active {
    z-index: 999999;
    top: 0;
  }

  .btn-hamburger.active span {
    background-color: #004EA8;
    right: 20px;
  }

  .btn-hamburger.active span:nth-of-type(1) {
    top: 29px;
    transform: rotate(45deg);
  }

  .btn-hamburger.active span:nth-of-type(2) {
    display: none;
  }

  .btn-hamburger.active span:nth-of-type(3) {
    bottom: -13px;
    transform: rotate(135deg);
  }

  .btn-hamburger.active span:nth-of-type(3)::after {
    display: none;
  }

  .nav-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #fff;
    width: 100vw;
    height: 100vh;
    padding: 60px 0 0;
  }

  .nav-header.active {
    display: block;
  }

  .nav-header .list-nav-sp a {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 15px 0;
  }

  .nav-header .list-nav-sp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
  }

  .nav-header .list-nav-sp li {
    border-bottom: solid 1px #EDEDED;
    text-align: center;
    width: 100%;
  }

  .nav-header .list-nav-sp li+li {
    margin-left: 0;
  }

  .nav-inner-sp {
    position: absolute;
    bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    margin: 0 20px;
  }

  .nav-inner-sp ul {
    display: block;
  }

  .nav-inner-sp .btn-wrap {
    display: block;
    width: 100%;
    margin: 0 0 30px;
  }

  .nav-inner-sp .btn-wrap .list-enrty {
    display: block;
    width: 100%;
  }

  .nav-inner-sp .btn-wrap .list-enrty li a,
  .nav-inner-sp .btn-wrap .list-enrty li.new .btn-entry {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #fff;
    color: #004EA8;
    height: 62px;
  }

/* 20230322更新ここから */
  .nav-inner-sp .btn-wrap .list-enrty li.new .btn-entry {
    height: auto;
  }
  .nav-inner-sp .btn-wrap .list-enrty li {
    border: 1px solid #ccc;
  }
  .nav-inner-sp .btn-wrap .list-enrty li.new {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #fff;
    color: #004EA8;
    border: 1px solid #ccc;
    padding: 16px 14px 14px;
  }
  .nav-inner-sp .btn-wrap .list-enrty li.new a {
    height: auto;
  }
  .nav-inner-sp .btn-wrap .list-enrty li.new .logo{
    margin-top: 10px;
    display: flex;
    width: 100%;
  }
  .nav-inner-sp .btn-wrap .list-enrty li.new .logo a {
    width: 50%;
  }
  .nav-inner-sp .btn-wrap .list-enrty li.new .logo a:first-child {
    border-right: 1px solid #004EA8;
    padding-right: 12px;
  }
  .nav-inner-sp .btn-wrap .list-enrty li.new .logo a:nth-child(2) {
    padding-left: 12px;
  }
/* 20230322更新ここまで */

  .nav-inner-sp .btn-wrap .list-enrty li+li {
    display: block;
    width: 100%;
    margin-top: 10px;
  }

  .nav-inner-sp .btn-wrap .list-enrty .txt-en {
    font-size: 18px;
    letter-spacing: 0.1em;
    font-weight: 700;
    padding-right: 13px;
  }

  .nav-inner-sp .btn-wrap .list-enrty .txt-jp {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .nav-inner-sp .left {
    display: block;
    width: 72%;
  }

  .nav-inner-sp .right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: 28%;
    height: 80px;
  }

  .nav-inner-sp .right ul.list-sns-nav {
    display: flex;
    justify-content: flex-end;
    margin: 0;
  }

  .nav-inner-sp .right ul.list-sns-nav li+li {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 0 20px;
  }
}
