.header {
  padding: 5px 0 0 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .header {
    height: 60px;
    padding: 0;
  }
}

.header__text {
  font-size: 12px;
  margin: 0 0 0 20px;
}

.header__logo {
  margin: 0 0 -30px 20px;
}
.header__logo .header__logo__img {
  display: flex;
  align-items: end;
  margin: 25px 0 0 0;
}
.header__logo .header__logo__img img {
  width: 200px;
}
.header__logo .header__logo__text {
  color: var(--color_0101);
  margin: 0 0 0 10px;
}
.header__logo .header__logo__text span {
  font-size: 1.5em;
  margin: 0 0 0 3px;
}

.header__button__mail {
  background: var(--color_0101);
  position: absolute;
  right: 60px;
  top: 0;
  width: 60px;
  height: 60px;
  z-index: 10;
  transition: all 1000ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
.header__button__mail:hover {
  background: var(--color_0102);
}
.header__button__mail a {
  text-align: center;
  display: block;
  height: 100%;
}
.header__button__mail img {
  width: 70%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
header.fixed.fixed .nav_menu,
header.fixed.fixed .header__button__mail {
  position: fixed;
  transform: translateY(-60px);
  transition: none;
}
header.fixed.fixed .header__logo__img a {
  position: fixed;
  top: -40px;
  left: 20px;
  z-index: 10;
}
header.fixed.fixed .header__logo__img a img {
  width: 140px;
}
header.fixed.fixed-deep .nav_menu,
header.fixed.fixed-deep .header__button__mail {
  transform: translateY(-60px);
  transition: all 1000ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
header.fixed.fixed-deeper .nav_menu,
header.fixed.fixed-deeper .header__button__mail {
  transform: translateY(0);
}
header.fixed.fixed-deeper .header__logo__img a {
  top: 15px;
}

.header__tel {
  position: absolute;
  right: 130px;
  top: 0;
  text-align: right;
  line-height: 1;
}
.header__tel .header__tel__number {
  color: var(--color_0101);
  font-weight: bold;
  letter-spacing: var(--spacing);
  margin: 15px 0 0 0;
}
.header__tel .header__tel__number span {
  font-weight: bold;
  font-size: 2.3em;
  margin: 0 0 0 5px;
}
@media (max-width: 768px) {
  .header__tel {
    display: none;
  }
}

.header__button__english {
  position: absolute;
  right: 420px;
  top: 0;
}
.header__button__english a {
  position: relative;
  background: #eee;
  display: block;
  padding: 8px 15px;
  font-size: 0.9em;
}
.header__button__english a:before {
  content: "";
  background: url(../img/icon_language.svg) no-repeat scroll center center/cover;
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: -2px;
  margin: 0 5px 0 0;
}
.header__button__english a:hover {
  background: #ddd;
}
@media (max-width: 768px) {
  .header__button__english {
    display: none;
  }
}

@media (max-width: 768px) {
  .hamburger-demo-menubox {
    display: none;
  }
}

.header__nav__links {
  display: flex;
  justify-content: right;
  margin: 0 20px 0 0;
}
.header__nav__links a {
  padding: 10px 20px 20px;
  display: block;
  position: relative;
  letter-spacing: var(--spacing);
}
.header__nav__links a:before {
  content: "";
  background: var(--color_0101);
  width: 100%;
  height: 5px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(1, 0);
  transition: all 500ms cubic-bezier(0.215, 0.61, 0.355, 1);
  transform-origin: bottom;
}
.header__nav__links a:hover {
  color: var(--color_0101);
}
.header__nav__links a:hover:before {
  transform: translateX(-50%) scale(1, 1);
}

.sp_menu_li {
  display: none;
}

.menu {
  position: relative;
  width: 100%;
  height: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.header nav ul.menu li > a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 15px;
}

.menu > li > a {
  display: block;
  color: #fff;
  border-bottom: #fff solid 5px;
}
.menu > li a:hover {
  color: #999;
  border-bottom: #b59175 solid 5px;
}

li.menu__mega .menu__second-level {
  width: 1000px;
  margin: 0 auto;
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
}
li.menu__mega .menu__second-level a {
  padding: 10px 0;
  text-align: center;
  color: #fff;
  border: 1px solid #c5c5c5;
  font-size: 0.9em;
}
li.menu__mega .menu__second-level a:hover {
  background: var(--color_0102);
}
li.menu__mega .menu__second-level a:before {
  content: none;
}
li.menu__mega .menu__mega__inner {
  visibility: hidden;
  opacity: 0;
  z-index: 10000000000;
  position: absolute;
  top: 138px;
  left: 0;
  right: 0;
  width: 100%;
  background-color: rgba(39, 77, 134, 0.9);
  transition: all 0.2s ease;
}
li.menu__mega:hover div {
  top: 138px;
  visibility: visible;
  opacity: 1;
  padding: 20px 0;
}

.main-nav [class*="--active"] a:before {
  transform: translateX(-50%) scale(1, 1) !important;
}

@media (max-width: 1100px) {
  .header__text {
    width: 45%;
    line-height: 1.6;
    font-size: 0.8em;
  }
  .header__tel {
    font-size: 0.8em;
  }
  .header__button__english {
    right: 370px;
  }
  .header__logo .header__logo__img {
    margin: 15px 0 0 0;
  }
  .header__logo .header__logo__img img {
    width: 160px;
  }
  .header__logo .header__logo__text {
    font-size: 0.7em;
    margin: 0 0 2px 5px;
  }
  .header__nav__links a {
    padding: 5px 15px 10px;
    font-size: 0.9em;
  }
  li.menu__mega:hover .menu__mega__inner {
    top: 119px;
  }
}
@media (max-width: 768px) {
  .header__text {
    font-size: 8px;
    padding: 3px 0 0 5px;
    margin: 0;
    width: 65%;
    line-height: 1.3;
  }
  .header__logo {
    margin: 0 0 0 5px;
  }
  .header__logo .header__logo__img {
    margin: 3px 0 0 0;
  }
  .header__logo .header__logo__img img {
    width: 100px;
  }
  .header__logo .header__logo__text {
    font-size: 0.5em;
    transform: translateY(-4px);
  }
}/*# sourceMappingURL=header.css.map */