header {
  position: fixed;
  width: 100%;
  z-index: 10;
}
header .header-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100px;
  padding: 10px 20px 0 20px;
}
header .header-logo {
  display: block;
  width: 100%;
  max-width: 132px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
header .header-logo:hover {
  opacity: 0.7;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
header .header-right {
  width: 100%;
  text-align: right;
}
header .header-tel {
  display: inline-block;
  font-size: 25px;
  color: #1a2e72;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 20px;
  position: relative;
}
header .header-tel::before {
  content: "";
  background-image: url(../img/header/header-phone.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 25px;
  height: 25px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: -30px;
}
header .header-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 25px;
}
header .header-nav-link {
  display: block;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  line-height: 1;
  letter-spacing: 0.05em;
}
header .header-nav-link:hover {
  opacity: 0.7;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
@media screen and (max-width: 1100px) {
  header .header-nav {
    gap: 20px;
  }
  header .header-nav-link {
    font-size: 16px;
    font-weight: 500;
  }
}
@media screen and (max-width: 767px) {
  header {
    position: relative;
  }
  header .header-flex {
    height: 80px;
    padding: 0 10px;
  }
  header .header-logo {
    max-width: 94px;
  }
  header .header-tel {
    font-size: 20px;
    margin-bottom: 0;
    margin-right: 40px;
  }
  header .header-tel::before {
    width: 25px;
    height: 25px;
    left: -30px;
  }
  header #g-nav {
    position: fixed;
    z-index: 5;
    top: 0;
    right: -120%;
    width: 80%;
    height: 100vh;
    background-color: #f7f8f6;
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
    overflow: scroll;
    border-left: 1px solid #1a2e72;
  }
  header .header-nav {
    display: block;
    position: relative;
    z-index: 6;
    margin-top: 60px;
    max-width: 100%;
  }
  header .header-nav-link {
    position: relative;
    display: block;
    font-size: 16px;
    line-height: 1.4;
    padding: 15px 20px;
  }
  header .header-nav-link:hover {
    opacity: unset;
  }
  header #g-nav.panelactive {
    right: 0;
  }
  header .link-item.current::after {
    display: none;
  }
  header .openbtn {
    position: absolute;
    width: 25px;
    height: 25px;
    z-index: 6;
    cursor: pointer;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 15px;
  }
  header .openbtn span {
    display: inline-block;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    position: absolute;
    right: 0;
    height: 2px;
    background-color: #1f2438;
  }
  header .openbtn.openbtn.active span {
    background-color: #1f2438;
  }
  header .openbtn span:nth-of-type(1) {
    top: -10px;
    bottom: 0;
    margin: auto;
    height: 2px;
    width: 24px;
  }
  header .openbtn span:nth-of-type(2) {
    top: 1px;
    bottom: -10px;
    margin: auto;
    width: 24px;
  }
  header .openbtn.active span:nth-of-type(1) {
    -webkit-transform: translateY(6px) rotate(-45deg);
            transform: translateY(6px) rotate(-45deg);
    width: 24px;
  }
  header .openbtn.active span:nth-of-type(2) {
    -webkit-transform: translateY(-4px) rotate(45deg);
            transform: translateY(-4px) rotate(45deg);
    width: 24px;
  }
}