@charset "utf-8";

.header {
  background-color: #1B2870;
  font-weight: bold;
  color: #fff;
}
.header-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 30px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}
.header-logo {
  width: 230px;
  padding: 0 30px 0 0;
  line-height: 0;
  display: block;
}
.header-nav {
  width: calc(100% - 330px);
}
.header-nav-toggle {
  display: none;
}
.header-nav-container {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
}
.header-nav-item {
  padding: 0 20px 0 0;
}
.header-nav-item:last-child {
  padding: 0;
}
.header-nav-link {
  display: block;
  padding: 0 0 0 25px;
  line-height: 20px;
  background-image: url("../img/icon-arrow-circle-01.svg");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: all .2s ease-in-out;
}
.header-nav-link:hover {
  color: #ccc;
}
.header-language {
  padding: 0 0 0 30px;
  width: 100px;
  position: relative;
}
.header-language-mark {
  background-image: url("../img/icon-global-01.svg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 20px;
  cursor: pointer;
  padding: 22px 0 0;
  font-size: 11px;
  line-height: 17px;
  text-align: center;
}
.header-language-box {
  position: absolute;
  top: calc(100% + 20px);
  right: 0;
  width: 150px;
  display: none;}
.header-language-list {
  position: relative;
  z-index: 2;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.36);
}
.header-language-list:before {
  content: '';
  display: block;
  position: absolute;
  top: -8px;
  right: 24px;
  z-index: 1;
  width: 20px;
  height: 20px;
  transform: rotate(50deg) skewX(20deg) skewY(10deg);
  background-color: #F2F2F2;
  box-shadow: 3px 3px 3px 0px rgba(0,0,0,0.18);
  border-radius: 5px;
}
.header-language-list-item {
  position: relative;
  z-index: 2;
  border-bottom: 1px #ccc solid;
  background-color: #f2f2f2;
  transition: all .2s ease-in-out;
}
.header-language-list-item:first-child {
  border-radius: 6px 6px 0 0;
}
.header-language-list-item:last-child {
  border-radius: 0 0 6px 6px;
}
.header-language-list-item:hover {
  background-color: #fff;
}
.header-language-list-link {
  display: block;
  padding: 5px 30px;
  color: #222;
  text-align: center;
  font-weight: normal;
}
@media screen and (max-width: 1280px) {
  .header-container {
    padding: 20px;
    position: relative;
    height: 70px;
  }
  .header-logo {
    width: 150px;
    padding: 0;
  }
  .header-nav {
    width: auto;
    padding: 10px 10px 5px 10px;
    position: absolute;
    top: 10px;
    right: 10px;
  }
  .header-nav-toggle {
    display: block;
    width: 25px;
    padding-top: 20px;
    background-image: url("../img/icon-sp-menu-01.svg");
    background-position: center top 2px;
    background-repeat: no-repeat;
    background-size: auto 15px;
    cursor: pointer;
  }
  .header-nav-text {
    font-size: 10px;
    line-height: 1;
    white-space: normal;
    text-align: center;
    transform: scale(0.8);
    display: block;
    transform-origin: left;
  }
  .header-nav-toggle .header-nav-active {
    display: none;
  }
  .header-nav-toggle--active .header-nav-active {
    display: block;
  }
  .header-nav-toggle--active .header-nav-inactive {
    display: none;
  }
  .header-nav-screen {
    background-color: rgba(0,0,0,0.8);
    position: absolute;
    right: -10px;
    top: 60px;
    width: 100vw;
    height: calc(100vh - 70px);
    display: none;
  }
  .header-nav-container {
    position: absolute;
    right: -10px;
    top: 60px;
    width: 100vw;
    display: none;
    border-top: 1px #ccc solid;
  }
  .header-nav-item {
    padding: 0;
    background-color: #1B2870;
    border-bottom: 1px #ccc solid;
  }
  .header-nav-item:last-child {
    padding: 0;
  }
  .header-nav-link {
    display: block;
    padding: 10px 0 10px 45px;
    background-position: left 20px center;
    background-size: 20px;
    font-size: 15px;
  }
  .header-nav-link:hover {
    color: #fff;
  }
  .header-language {
    width: auto;
    position: static;
  }
  .header-language-mark {
    padding: 20px 0 5px;
    background-position: center top 2px;
    background-size: 16px;
    font-size: 0;
    position: absolute;
    top: 20px;
    right: 70px;
  }
  .header-language-text {
    font-size: 10px;
    line-height: 1;
    display: block;
    transform: scale(0.8);
  }
  .header-language-box {
    top: 100%;
    right: 62px;
  }
  .header-language-list-item:hover {
    background-color: #f2f2f2;
  }
}

