header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 100000;
}
header .header-pc {
  display: block;
}
header .header-sp {
  display: none;
}
header .logo {
  position: absolute;
  top: 3px;
  left: 6%;
  width: 18%;
  z-index: 10;
}
header .his-w {
  position: absolute;
  top: 4px;
  right: 5%;
  width: 5.5%;
}
header h1 {
  color: #FFF;
  font-size: 0.9rem;
  position: absolute;
  left: 28%;
  top: 10px;
}
header .ups {
  background-color: #0d36ff;
  position: relative;
  height: 35px;
}
header .downs {
  background-color: #FFF;
  position: relative;
  height: 50px;
  box-shadow: 0 2px 2px 1px #ccc;
}
header nav {
  position: absolute;
  left: 27%;
  top: 12px;
}
header nav li.first {
  font-size: 1rem;
  float: left;
  padding: 5px 15px;
  border-right: #666 1px solid;
  position: relative;
  display: inline;
}
header nav li.first h2 a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
  color: #333;
  font-size: 0.9rem;
}
header nav li.first h2 a::before {
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: hidden;
  max-width: 0;
  border-bottom: 2px solid #0F8BFF;
  padding-bottom: 5px;
  color: #0F8BFF;
  content: attr(data-hover);
  transition: max-width 0.3s;
}
header nav li.first h2 a:hover::before,
header nav li.first h2 a:focus::before {
  max-width: 100%;
}
header .lang {
  position: absolute;
  right: 4%;
  bottom: 12%;
  width: 7%;
}
header .lang ul {
  display: table;
  width: 100%;
}
header .lang li {
  display: table-cell;
  width: 50%;
  vertical-align: middle;
  padding: 0 2px;
  box-sizing: border-box;
  padding-top: 4px;
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
}
header .lang li:hover {
  padding-top: 0px;
}
header .lang figure {
  border: 2px solid #FFF;
  box-sizing: border-box;
  background-color: #FFF;
}

header nav li.first ul {
  position: absolute;
  top: 25px;
  left: 0;
}
header nav li.first li.list {
  height: 0;
  overflow: hidden;
  width: 220px;
  background-color: #FFF;
  position: relative;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
}
header nav li.first .list a {
  border-bottom: 3px solid #156AFF;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0px;
  text-align: left;
  padding-top: 18px;
  padding-left: 20px;
  opacity: 0;
  font-size: 0.9rem;
  color: #333;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
}
header nav li.first:hover ul {
  opacity: 1;
  -moz-opacity: 1;
  top: 26px;
  z-index: 10001;
}
header nav li.first:hover li.list {
  height: 50px;
  overflow: visible;
}
header nav li.first:hover li.list a {
  opacity: 1;
  height: 50px;
}
header nav li.first:hover li.list a:hover {
  color: #1C91FF;
}
header nav li.first:hover li.list:last-child {
  border-bottom: #1C91FF 1px solid;
}

header,
header .ups,
header .logo,
header .ups,
header .lang {
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}

header.head_fix {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 100000;
}
header.head_fix .logo {
  position: absolute;
  top: 0;
  left: 7%;
  width: 10%;
  z-index: 10;
}
header.head_fix .his-w {
  display: none;
}
header.head_fix h1 {
  display: none;
}
header.head_fix .ups {
  height: 0px;
}
header.head_fix .downs {
  background-color: #FFF;
  position: relative;
  box-shadow: 0 1px 1px 1px #ccc;
  height: 45px;
}
header.head_fix nav {
  top: 10px;
}
header.head_fix nav li {
  font-size: 1rem;
  float: left;
  padding: 5px 15px;
  border-right: #666 1px solid;
  position: relative;
  display: inline;
}
header.head_fix nav li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
  color: #333;
}
header.head_fix nav li a::before {
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: hidden;
  max-width: 0;
  border-bottom: 2px solid #0F8BFF;
  padding-bottom: 5px;
  color: #0F8BFF;
  content: attr(data-hover);
  transition: max-width 0.3s;
}
header.head_fix nav li a:hover::before,
header.head_fix nav li a:focus::before {
  max-width: 100%;
}
header.head_fix .lang {
  bottom: 15%;
}

@media only screen and (max-width: 1024px) {
  header .logo {
    position: absolute;
    left: 1%;
    width: 22%;
    z-index: 10;
  }
  header .his-w {
    position: absolute;
    top: 4px;
    right: 2%;
    width: 9%;
  }
  header h1 {
    font-size: 0.85rem;
    position: absolute;
    left: 25%;
    top: 10px;
  }
  header .ups {
    background-color: #0d36ff;
    position: relative;
    height: 35px;
  }
  header .downs {
    height: 40px;
  }
  header nav {
    position: absolute;
    left: 24.5%;
    top: 10px;
  }
  header nav li {
    font-size: 0.85rem;
    float: left;
    padding: 4px 5px;
  }
  header .lang {
    position: absolute;
    right: 1%;
    bottom: 8%;
    width: 12%;
  }
  header .lang li {
    padding: 0 3px;
    padding-top: 3px;
  }
  header,
  header .ups,
  header .logo,
  header .ups {
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
  }
  header.head_fix .logo {
    left: 2%;
    width: 21%;
    z-index: 10;
  }
  header.head_fix .downs {
    height: 40px;
  }
  header.head_fix nav {
    position: absolute;
    left: 24.5%;
    top: 10px;
  }
  header.head_fix nav li {
    font-size: 0.85rem;
    float: left;
    padding: 4px 5px;
  }
  header.head_fix .lang {
    right: 1%;
    bottom: 8%;
    width: 12%;
  }
}
@media only screen and (max-width: 680px) {
  header {
    width: 100%;
    position: relative;
    top: 0;
    z-index: 100000;
    height: auto;
    /* Toggle Button */
  }
  header .header-pc {
    display: none;
  }
  header .header-sp {
    display: block;
    position: relative;
    height: auto;
  }
  header .ups {
    background-color: #0A509F;
    position: relative;
    height: 64px;
  }
  header h1 {
    display: none;
  }
  header .his-w {
    position: absolute;
    top: 9px;
    right: auto;
    width: 32%;
    left: 5%;
  }
  header .downs {
    background-color: #FFF;
    position: relative;
    height: auto;
    box-shadow: 0 1px 1px 1px #ccc;
    padding: 5px 0;
  }
  header .downs figure {
    width: 80%;
    margin: 0 auto;
  }
  header #header-toggle-sp {
    display: block;
    position: fixed;
    right: 10px;
    top: 8px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 100001;
    background-color: #ffffff;
    border-radius: 25px;
  }
  header #header-toggle-sp div {
    position: relative;
  }
  header #header-toggle-sp span {
    display: block;
    position: absolute;
    height: 5px;
    width: 25px;
    background: #0A509F;
    left: 11.5px;
    transition: 0.35s ease-in-out;
  }
  header #header-toggle-sp span:nth-child(1) {
    top: 12px;
  }
  header #header-toggle-sp span:nth-child(2) {
    top: 22px;
  }
  header #header-toggle-sp span:nth-child(3) {
    top: 32px;
  }
  header .lang {
    position: absolute;
    right: 18%;
    bottom: 68%;
    width: 32%;
  }
  header .lang li {
    padding: 0 5px;
    padding-top: 3px;
  }
  header .lang figure {
    border: 3px solid #FFF;
  }
  .open #header-toggle-sp span:nth-child(1) {
    top: 20px;
    transform: rotate(315deg);
  }
  .open #header-toggle-sp span:nth-child(2) {
    width: 0;
    display: none;
    left: 50%;
  }
  .open #header-toggle-sp span:nth-child(3) {
    top: 20px;
    transform: rotate(-315deg);
  }
  .open #global-nav-sp {
    /* #global-nav-sp top + #mobile-head height */
    transform: translateX(700px);
    opacity: 1;
  }
  .box-sp {
    position: fixed;
    top: 0px;
    z-index: 100000;
    width: 100%;
  }
  #global-nav-sp {
    position: absolute;
    top: 0px;
    left: -700px;
    background: white;
    width: 100%;
    transition: 0.6s ease-in-out;
    padding: 50px 20px;
    box-sizing: border-box;
    height: 1000px;
    overflow-y: scroll;
    opacity: 0;
  }
  #global-nav-sp .titles {
    width: 90%;
    margin: 0px auto 30px;
  }
  #global-nav-sp li {
    width: 100%;
    border-bottom: 1px #888 solid;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
  #global-nav-sp .wrap {
    display: table;
    width: 100%;
  }
  #global-nav-sp .wrap figure {
    display: table-cell;
    width: 36%;
    vertical-align: top;
  }
  #global-nav-sp .box {
    display: table-cell;
    width: 64%;
    vertical-align: top;
    padding-left: 15px;
    padding-top: 15px;
  }
  #global-nav-sp h2 {
    color: #0A509F;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
  }
  #global-nav-sp p {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 10px;
    background-color: #FF103E;
    color: #FFF;
    font-size: 1.1rem;
    margin: 0 20%;
    text-align: center;
    width: 60%;
  }
  header.head_fix {
    width: 100%;
    position: relative;
    top: 0;
    z-index: 100000;
  }
  header.head_fix .ups {
    background-color: #0A509F;
    position: relative;
    height: 64px;
  }
  header.head_fix h1 {
    display: none;
  }
  header.head_fix .his-w {
    position: absolute;
    top: 9px;
    right: auto;
    width: 32%;
    left: 5%;
    display: block;
  }
  header.head_fix .downs {
    background-color: #FFF;
    position: relative;
    height: auto;
    box-shadow: 0 1px 1px 1px #ccc;
    padding: 5px 0;
  }
  header.head_fix .downs figure {
    width: 80%;
    margin: 0 auto;
  }
  header.head_fix .lang {
    position: absolute;
    right: 18%;
    bottom: 68%;
    width: 32%;
  }
}
@media only screen and (max-width: 390px) {
  header {
    /* Toggle Button */
  }
  header .ups {
    background-color: #0A509F;
    position: relative;
    height: 60px;
  }
  header .his-w {
    position: absolute;
    top: 9px;
    right: auto;
    width: 32%;
    left: 5%;
  }
  header .downs {
    background-color: #FFF;
    position: relative;
    height: auto;
    box-shadow: 0 1px 1px 1px #ccc;
    padding: 10px 0;
  }
  header .downs figure {
    width: 75%;
    margin: 0 auto;
  }
  header #header-toggle-sp {
    display: block;
    position: fixed;
    right: 10px;
    top: 8px;
    width: 45px;
    height: 45px;
    border-radius: 23px;
  }
  header #header-toggle-sp span {
    display: block;
    position: absolute;
    height: 5px;
    width: 23px;
    background: #0A509F;
    left: 11px;
  }
  header #header-toggle-sp span:nth-child(1) {
    top: 10px;
  }
  header #header-toggle-sp span:nth-child(2) {
    top: 20px;
  }
  header #header-toggle-sp span:nth-child(3) {
    top: 30px;
  }
  header .lang {
    right: 18%;
    bottom: 67%;
    width: 32%;
  }
  header .lang li {
    padding: 0 4px;
    padding-top: 3px;
  }
  header .lang figure {
    border: 2px solid #FFF;
  }
  #global-nav-sp {
    height: 1000px;
  }
  #global-nav-sp .titles {
    width: 85%;
    margin: 0px auto 30px;
  }
  #global-nav-sp ul {
    height: 470px;
    overflow-y: scroll;
  }
  #global-nav-sp .wrap figure {
    width: 38%;
    vertical-align: top;
  }
  #global-nav-sp .box {
    width: 62%;
    vertical-align: top;
    padding-left: 15px;
    padding-top: 15px;
  }
  #global-nav-sp h2 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }
  #global-nav-sp p {
    display: inline-block;
    padding: 8px 15px;
    font-size: 1rem;
    margin: 0 15%;
    width: 70%;
  }
  header.head_fix .ups {
    height: 60px;
  }
  header.head_fix .his-w {
    position: absolute;
    top: 9px;
    right: auto;
    width: 32%;
    left: 5%;
    display: block;
  }
  header.head_fix .downs figure {
    width: 75%;
    margin: 0 auto;
  }
  header.head_fix .lang {
    position: absolute;
    right: 18%;
    bottom: 67%;
    width: 32%;
  }
}/*# sourceMappingURL=header.css.map */