@charset "UTF-8";

.header {
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}
.header.is-scroll .header-logo__link {
  background-color: rgba(255, 255, 255, 0.7);
}

.header__contents {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.header-logo {
  flex-shrink: 0;
  margin-left: 10px;
  margin-top: 55px;
}
.header-logo__link {
  background: transparent;
  border-radius: 5px;
  overflow: hidden;
  padding: 10px 10px 5px;
  transition: background 0.5s ease;
  width: 135px;
}
.header-logo__link img {
  aspect-ratio: 214/43;
  -o-object-fit: contain;
     object-fit: contain;
}

.header-box {
  background: #05a44f;
  color: #fff;
  display: grid;
  grid-template-columns: 70px;
  grid-template-rows: 51px 50px;
}
.header-box a {
  color: #fff;
}

.header-box-head {
  background: #05a44f;
  display: flex;
  flex-wrap: wrap;
  gap: 3px 20px;
  height: 50px;
  left: 0;
  padding-block: 3px;
  padding-inline: 10px 80px;
  position: absolute;
  top: 0;
  width: 100%;
  width: 100%;
  z-index: 80;
}

.header-box-head__item {
  align-items: center;
  display: flex;
}
.header-box-head__item p {
  font-size: 12px;
  font-weight: 700;
}
.header-box-head__item p a {
  color: #fff;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 500;
}
.header-box-head__item p:nth-of-type(1) {
  background: #fff;
  border-radius: 5px;
  color: #05A44F;
  font-size: 10px;
  line-height: calc(17 / 12);
  padding: 2px 4px;
}
.header-box-head__item p:nth-of-type(2) {
  margin-left: 5px;
}
.header-box-head__item p:nth-of-type(3) {
  margin-left: 5px;
}

.header-box-nuv {
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  display: none;
  gap: 20px;
  grid-row: 2;
  padding-inline: 31px 23px;
  width: 100%;
}

.header-box-nuv__list {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: space-between;
}

.header-box-nuv__item {
  font-size: 13px;
  font-weight: 700;
}

.header-box-contact {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 81;
}

.header-box-contact__link {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 100%;
  justify-content: center;
  width: 100%;
}
.header-box-contact__link img {
  aspect-ratio: 28/21;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  width: 20px;
}
.header-box-contact__link p {
  font-size: 10px;
  font-weight: 700;
}

.header-btn {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 100%;
  justify-content: center;
  position: relative;
  transition: opacity 0.3s ease;
  width: 100%;
  z-index: 81;
}
.header-btn:hover {
  opacity: 0.7;
}
.header-btn.is-open .header-btn__bar-line:nth-of-type(1) {
  top: 9px;
  transform: rotate(35deg);
}
.header-btn.is-open .header-btn__bar-line:nth-of-type(2) {
  display: none;
}
.header-btn.is-open .header-btn__bar-line:nth-of-type(3) {
  top: 9px;
  transform: rotate(-35deg);
}

.header-btn__bar {
  height: 20px;
  position: relative;
  width: 30px;
}

.header-btn__bar-line {
  background: #fff;
  height: 1px;
  left: 0;
  position: absolute;
  transition: transform 0.3s ease-in, top 0.3s ease-in;
  width: 30px;
}
.header-btn__bar-line:nth-of-type(1) {
  top: 0;
}
.header-btn__bar-line:nth-of-type(2) {
  top: 10px;
}
.header-btn__bar-line:nth-of-type(3) {
  top: 20px;
}

.header-drawer {
  background-color: #FFFFFF;
  height: calc(100vh - 50px);
  min-width: 275px;
  overflow: auto;
  padding-inline: 40px;
  padding-top: 80px;
  position: fixed;
  right: 0;
  top: 50px;
  transform: translateX(100%);
  transition: transform 0.6s ease;
  width: 50%;
  z-index: 98;
}
.header-drawer.is-checked {
  transform: translateX(0);
}

.header-drawer__list {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  max-width: 250px;
  width: 100%;
}

a.header-drawer__item {
  color: #05A44F;
  font-size: 15px;
  font-weight: 500;
  padding-block: 15px;
  text-align: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .header-logo {
    margin-left: 20px;
    margin-top: 20px;
  }
  .header-box {
    grid-template-columns: 1fr 117px;
    grid-template-rows: 44px 56px;
    max-width: 770px;
    width: 100%;
  }
  .header-box-head {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    height: auto;
    justify-content: space-between;
    padding-block: 0;
    padding-inline: 20px;
    position: relative;
  }
  .header-box-head__item p a {
    font-size: 15px;
  }
  .header-box-head__item p {
    font-size: 13px;
  }
  .header-box-head__item p:nth-of-type(1) {
    font-size: 12px;
    padding: 2px 6px;
  }
  .header-box-head__item p:nth-of-type(2) {
    margin-left: 10px;
  }
  .header-box-head__item p:nth-of-type(3) {
    margin-left: 10px;
  }
  .header-box-nuv {
    display: block;
  }
  .header-box-nuv__list {
    gap: 20px;
  }
  .header-box-contact {
    border-bottom: none;
    grid-row: span 2;
  }
  .header-box-contact__link {
    gap: 8px;
  }
  .header-box-contact__link img {
    width: 28px;
  }
  .header-box-contact__link p {
    font-size: 13px;
  }
  .header-btn {
    display: none;
  }
  .header-drawer {
    display: none;
    width: 30%;
  }
}

@media (min-width: 1024px) and (min-width: 1024px) {
  .header-box-head {
    padding-inline: 33px 16px;
  }
}

@media (min-width: 1366px) {
  .header-logo__link {
    width: 234px;
  }
  .header-box-nuv__list {
    gap: 40px;
  }
}