header {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 90px;
  background: #fff;
  z-index: 9;
  transition: 0.4s ease-in-out;
}

header.bg {
  position: sticky;
  background: rgb(255, 255, 255, .8);
  box-shadow: 0 .2rem 0.25rem 0 rgb(4 0 0 / 15%);
}

@media (max-width: 1280px) {
  header:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 2;
  }
}

@media (max-width: 1024px) {
  header {
    height: 60px;
    background: rgb(255, 255, 255, 0.6);
  }
}

header .content {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 0 0 0 2.8vw;
  height: 100%;
  margin: 0 auto;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

header .logo {
  width: 100%;
  max-width: 203px;
  transition: all 0.3s;
  z-index: 3;
  flex: 4;
}

header .logo img {
  width: 100%;
  max-width: 203px;
}

header .right-link {
  display: inline-flex;
  justify-content: flex-end;
  z-index: 10;
  flex: 2;
}

header .right-link a {
  display: flex;
  align-items: center;
  justify-content: center;
}

header .right-link a img {
  width: auto;
  height: 30px;
  margin-left: 10px;
}

header .right-link a img:hover {
  animation: parent-tab-image 0.5s linear;
}

header .right-link a:first-child img {
  margin-left: 0vw;
}

header #memu_mask {
  position: fixed;
  display: none;
  top: 100px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
}

header #menu {
  display: flex;
  height: 100%;
  align-items: center;
  flex: 14;
}

header ul.menu {
  flex: 1;
  display: flex;
  width: auto;
  height: 100%;
  font-size: 1rem;
  justify-content: flex-end;
}

@media (max-width: 1280px) {
  header ul.menu {
    flex: none;
    font-size: 1rem !important;
    display: block;
    width: 100%;
  }

  header ul.menu>li::after {
    display: none;
  }
}

@media (max-width: 767px) {
  header ul.menu {
    font-size: 1rem !important;
  }
}

header ul.menu>li {
  position: relative;
  flex: none;
  text-align: center;
}

header ul.menu>li:last-child::after {
  display: none;
}

@media (max-width: 1280px) {
  header ul.menu>li {
    display: block;
    padding: 0;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
  }

  header ul.menu>li:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }
}

header ul.menu>li>a {
  display: flex;
  cursor: pointer;
  height: 100%;
  align-items: center;
  transition: color 0.3s;
  font-weight: normal;
  opacity: .8;
  color: #212227;
  transition: 0.3s;
  padding: 0px 20px;
}

header ul.menu>li.contact a {
  margin-left: 20px;
  background: #4A3162;
  color: #fff;
  opacity: 1;
  padding: 13px 18px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1280px) {
  header ul.menu>li>a {
    display: block;
    padding: 10px 0;
  }
}

header ul.menu>li>a:hover,
header ul.menu>li.active>a {
  background: #80708d;
  color: #ffffff;
  opacity: 1;
}

header ul.menu>li.active>a {
  font-weight: bold;
}

header ul.menu>li>span {
  display: flex;
  cursor: pointer;
  height: 100%;
  align-items: center;
  transition: color 0.3s;
}

@media (max-width: 1280px) {
  header ul.menu>li>span {
    display: block;
    margin: 12px 0;
  }
}

@media (max-width: 1280px) {
  header #menu {
    position: fixed;
    width: 100%;
    height: calc(100vh - 90px);
    max-height: calc(100vh - 90px);
    top: 90px;
    left: 0;
    right: 0;
    padding: 0;
    background: rgb(245, 245, 245, 1);
    border-top: 1px solid #727272;
    flex-direction: column-reverse;
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.3s, -webkit-transform 0.3s;
  }

  header .logo {
    margin-left: 12px;
  }

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

  header .right-link a img {
    margin-left: 5px;
  }

  header ul.menu>li:last-child a {
    margin: 0;
    justify-content: center;
    color: #fff;
  }

  header ul.menu>li:last-child a img {
    width: 100%;
    max-width: 32px;
  }
}

@media (max-width: 767px) {
  header #menu {
    top: 60px;
  }
}

header ul.menu>li>span:hover,
header ul.menu>li>span.on {
  color: #000;
}

header ul.menu>li>span:hover ol.sub {
  display: block;
}

@media (max-width: 1280px) {
  header ul.menu>li>span:hover ol.sub {
    display: none;
  }
}

header ul.menu>li>span>label {
  position: relative;
  display: block;
  cursor: pointer;
  font-weight: 500;
}

@media (max-width: 1280px) {
  header ul.menu>li>span>label:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 2rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.5rem 0.5rem 0 0.5rem;
    border-color: #787878 transparent transparent transparent;
    transform: translateY(-50%) rotate(0deg);
    transition: all 0.3s;
  }
}

header ul.menu>li>span input {
  display: none;
}

@media (max-width: 1280px) {
  header ul.menu>li>span input:checked~ol.sub {
    display: flex !important;
  }
}

@media (max-width: 1280px) {
  header ul.menu>li>span input:checked~label:after {
    transform: translateY(-50%) rotate(180deg);
  }
}

header ul.menu>li>span ol.sub {
  display: none;
  position: absolute;
  min-width: 110px;
  top: 100%;
  left: 50%;
  text-align: center;
  padding: 0px;
  font-size: 1rem;
  line-height: 1.2;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
  border-radius: 0 0 10px 10px;
}

@media (max-width: 1280px) {
  header ul.menu>li>span ol.sub {
    position: relative;
    padding: 0;
    background: none;
    font-size: 1rem;
    margin-top: 20px;
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  header ul.menu>li>span ol.sub {
    font-size: 1.2rem;
  }
}

header ul.menu>li>span ol.sub li {
  display: block;
  margin-bottom: 3px;
}

@media (max-width: 1280px) {
  header ul.menu>li>span ol.sub li {
    position: relative;
    flex: none;
    width: 33%;
  }

  header ul.menu>li>span ol.sub li:after {
    content: "";
    position: absolute;
    right: 0;
    top: 30%;
    height: 40%;
    border-left: 1px solid #666;
  }

  header ul.menu>li>span ol.sub li:nth-of-type(3n):after,
  header ul.menu>li>span ol.sub li:last-of-type:after {
    display: none;
  }
}

header ul.menu>li>span ol.sub li.on>a {
  color: #fff;
  background: #000;
}

header ul.menu>li>span ol.sub li>a {
  display: block;
  padding: 10px 0px;
  white-space: nowrap;
  color: #000000;
}

@media (max-width: 1280px) {
  header ul.menu>li>span ol.sub li>a {
    width: 80%;
    margin: 0 auto;
    padding: 10px 0;
    white-space: normal;
  }
}

header ul.menu>li>span ol.sub li>a:hover {
  color: #fff;
  background: #000;
}

header #menu-ck {
  display: none;
}

header #menu-ck:checked~#memu_mask {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1280px) {
  header #menu-ck:checked~#menu {

    display: flex;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }
}

header #menu-ck:checked~label i,
header #menu-ck:checked~label o,
header #menu-ck:checked~label u {
  -webkit-transition: top 0.2s, opacity 0.1s 0.2s, -webkit-transform 0.2s 0.2s;
  transition: top 0.2s, opacity 0.1s 0.2s, -webkit-transform 0.2s 0.2s;
  -o-transition: top 0.2s, opacity 0.1s 0.2s, -o-transform 0.2s 0.2s;
  -moz-transition: top 0.2s, opacity 0.1s 0.2s, transform 0.2s 0.2s, -moz-transform 0.2s 0.2s;
  transition: top 0.2s, opacity 0.1s 0.2s, transform 0.2s 0.2s;
  transition: top 0.2s, opacity 0.1s 0.2s, transform 0.2s 0.2s, -webkit-transform 0.2s 0.2s, -moz-transform 0.2s 0.2s, -o-transform 0.2s 0.2s;
}

header #menu-ck:checked~label i {
  top: 15px;
  opacity: 1;
  transform: rotate(45deg);
}

header #menu-ck:checked~label o {
  top: 15px;
  opacity: 0;
}

header #menu-ck:checked~label u {
  top: 15px;
  opacity: 1;
  transform: rotate(-45deg);
}

header #menu-ck~label {
  display: none;
  position: relative;
  width: 25px;
  height: 25px;
  right: 0;
  z-index: 3;
  cursor: pointer;
}

header #menu-ck~label i,
header #menu-ck~label o,
header #menu-ck~label u {
  position: absolute;
  width: 25px;
  height: 1px;
  background: #000;
  opacity: 1;
  transform: rotate(0deg);
  -webkit-transition: top 0.2s 0.2s, opacity 0.1s 0.2s, -webkit-transform 0.2s;
  transition: top 0.2s 0.2s, opacity 0.1s 0.2s, -webkit-transform 0.2s;
  -o-transition: top 0.2s 0.2s, opacity 0.1s 0.2s, -o-transform 0.2s;
  -moz-transition: top 0.2s 0.2s, opacity 0.1s 0.2s, transform 0.2s, -moz-transform 0.2s;
  transition: top 0.2s 0.2s, opacity 0.1s 0.2s, transform 0.2s;
  transition: top 0.2s 0.2s, opacity 0.1s 0.2s, transform 0.2s, -webkit-transform 0.2s, -moz-transform 0.2s, -o-transform 0.2s;
}

header #menu-ck~label i {
  top: 2px;
}

header #menu-ck~label o {
  top: 12px;
}

header #menu-ck~label u {
  top: 22px;
}

@media (max-width: 1280px) {
  header #menu-ck~label {
    display: block;
  }
}

header ul.menu>li:last-child a {
  position: relative;
}

header .foot {
  display: none;
  align-items: center;
  justify-content: flex-end;
  z-index: 10;
  flex: 2;
  padding-right: 16px;
}

header .follw-us,
header .box {
  display: flex;
  gap: 4px;
}

header .follw-us span {
  font-size: .75rem;
  white-space: nowrap;
}

header .box a {
  display: flex;
  gap: 8px;
  width: 28px;
  height: 28px;
}

@media (max-width: 1280px) {
  header .foot {
    display: flex;
  }
}