.header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  padding-inline: 14px;
  border-bottom: 1px solid var(--line);
}

.header .logo {
  height: 30px;
}

.header .logo img {
  width: auto;
  height: 100%;
}

.header .block {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
}

@media (min-width: 768px) {
  .header {
    height: 75px;
    padding-inline: 24px;
    gap: 24px;
  }

  .header .logo {
    height: 40px;
  }

  .header .block {
    width: 100%;
    justify-content: space-between;
  }
}

/* *********************************** */

.header__jpx {
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__jpx img {
  width: 30px;
}

@media (min-width: 768px) {
  .header__jpx {
    width: 45px;
  }

  .header__jpx img {
    width: inherit;
  }
}

/* *********************************** */

.header__company {
  width: 50px;
}

.header__company .link {
  width: 100%;
  height: 100%;
  display: flex block;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  justify-content: center;
  color: var(--mainText);
}

.header__company .icon {
  width: 20px;
}

.header__company .text {
  font-size: 8px;
  line-height: 1;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .header__company {
    width: unset;
    height: 44px;
  }

  .header__company .link {
    color: var(--subTextA);
    padding-inline: 28px;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: center;
    border: solid 1px var(--subTextB);
    border-radius: 4px;
    transition: .3s opacity;
  }

  .header__company .link:hover {
    opacity: .6;
  }

  .header__company .icon {
    width: 24px;
  }

  .header__company .text {
    font-size: 14px;
    font-weight: 500;
  }
}
