/*==================================================
custom header (scoped)
===================================*/
.custom-header {
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;
    background: #fff;
    transition: 0.3s;
  }
  
  .custom-header .header__inner {
    display: flex;
    position: relative;
    justify-content: space-between;
    height: inherit;
    padding-left: 16px;
  }
  
  .custom-header .header__title a {
    height: 100%;
    display: flex;
    align-items: center;
  }
  
  .custom-header .header__logo {
    display: flex;
    align-items: center;
    height: 100%;
  }
  
  .custom-header .header__logo img {
    width: 135px;
    height: auto;
    display: block;
  }
  
  .custom-header .header__text {
    margin-left: 8px;
    margin-right: 8px;
    color: #898989;
    font-size: 12px;
    line-height: 1.625;
  }
  
  .custom-header .header__nav {
    display: none;
  }
  
  .custom-header .header__nav-items {
    display: flex;
    align-items: center;
  }
  
  .custom-header .header__nav-item {
    padding: 4px 20px;
    letter-spacing: 1.3px;
    transition: 0.3s;
  }
  
  .custom-header .header__nav-item > a {
    font-size: 18px;
    padding-bottom: 8px;
    border-bottom: solid 1px #fff;
    color: #16364F; 
  }
  
  .custom-header .header__nav-item .menu__btn > a {
    font-size: 22px;
  }
  
  .custom-header .header__nav-item > a:hover {
    color: #ff7600;
    opacity: 1;
    border-bottom: solid 1px #ff7600;
  }
  
  .custom-header .header__links {
    display: flex;
    height: 100%;
  }
  
  /* ==== Tablet up ==== */
  @media screen and (min-width: 768px) {
    .custom-header {
      height: 78px;
    }
  
    .custom-header .header__inner {
      padding-left: 48px;
    }
  
    .custom-header .header__logo {
      width: 135px;
    }
  }
  
  /* ==== Desktop large ==== */
  @media screen and (min-width: 1320px) {
    .custom-header .header__nav,
    .custom-header .header__contact {
      display: flex;
      align-items: flex-end;
      padding-bottom: 20px;
    }
  
    .custom-header .header__nav-item > a {
      display: inline-block;
      line-height: 1.2;
    }
  
    .custom-header .header__contact a {
      position: relative;
      padding-top: 20px;
    }
  
    .custom-header .header__nav {
      display: flex;
      height: inherit;
      margin-left: auto;
    }
  
    .custom-header .header__nav-item {
      font-size: 13px;
      padding: 4px 16px;
      position: relative;
    }
  
    .custom-header .header__nav-item:last-of-type {
      padding-right: 4;
    }
  
    .custom-header .header__nav-item:nth-of-type(3)::after {
      content: "";
      position: absolute;
      background-image: url(../img/menu_arrow.png);
      background-size: contain;
      background-repeat: no-repeat;
      width: 10px;
      height: 5px;
      top: calc(50% + 2px);
      right: 8px;
      transform: translateY(-50%);
    }
  }
  
  .custom-header .header__contact {
    display: none;
  }
  
  @media screen and (min-width: 1320px) {
    .custom-header .header__contact {
      display: block;
      width: 312px;
      height: 100%;
      background: #005293;
      color: #ffffff;
      font-weight: 500;
      font-size: 26px;
      letter-spacing: 1.3px;
      transition: 0.3s;
      clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
    }
  
    .custom-header .header__contact a {
      display: grid;
      place-items: center;
      width: 100%;
      height: 100%;
      font-weight: 700;
      color: #fff;  
    }
  
    .custom-header .header__contact span {
      position: relative;
      padding-left: 19px;
    }
  }
  
  .custom-header .header__tel {
    display: none;
    text-align: center;
  }
  
  .custom-header .header__tel span {
    display: block;
    font-size: 16px;
    letter-spacing: 0.08em;
  }
  
  @media screen and (min-width: 768px) {
    .custom-header .header__tel {
      background: linear-gradient(to right, #ea4a1a, #f7771f);
      height: 100%;
      padding: 0 27px;
      display: table;
      text-align: center;
    }
  
    .custom-header .header__tel a {
      color: #ffffff;
      font-family: "Oswald";
      font-size: 30px;
      font-weight: 400;
      letter-spacing: 0.05rem;
      display: table-cell;
      vertical-align: middle;
    }
  
    .custom-header .header__tel a > span {
      font-family: initial;
      font-size: 16px;
      font-weight: 500;
      display: block;
    }
  }
  
  /* hamburger */
  .custom-header .hamburger {
    z-index: 10000;
    position: relative;
    width: 80px;
    height: 80px;
    background: #005293;
    cursor: pointer;
    display: block;
  }
  
  .custom-header .hamburger span {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 1px;
    transform: translate(-50%, -50%);
    background: #fff;
    transition: all 0.4s;
  }
  
  .custom-header .hamburger span:nth-of-type(1) {
    top: 37%;
  }
  
  .custom-header .hamburger span:nth-of-type(2) {
    top: 50%;
  }
  
  .custom-header .hamburger span:nth-of-type(3) {
    top: 63%;
  }
  
  @media screen and (min-width: 1320px) {
    .custom-header .hamburger {
      display: none;
    }
  }
  
  /* =======================
     Header Size Adjustments
     ======================= */
  .custom-header .header__nav-item > a {
    font-size: 14px;
    padding-bottom: 0.3rem;
    color: #16364F;
  }
  
  .custom-header .header__contact {
    width: 13rem;
  }
  .custom-header .header__contact a {
    font-size: 0.97rem;
  }
  
  @media screen and (max-width: 599px) {
    .custom-header {
      height: 55px;
    }
  
    .custom-header .header__logo {
      width: 90px;
    }
  
    .custom-header .hamburger {
      width: 55px;
      height: 55px;
    }
    .custom-header .hamburger span {
      width: 20px;
    }
  }
  
  body {
    padding-top: 78px;
  }
  
  @media screen and (max-width: 599px) {
    body {
      padding-top: 55px;
    }
  }
  
  /*==================================================
  custom header END
  ===================================*/
  