header{
  width:100%;
  height:12rem;
  position:fixed;
  top:0;
  left:0;
  z-index:9999;
  background-color:white;
}
.header__nav-list {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.header__nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  line-height: 1.4;
  text-align: center;
}

.header__nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header__nav-item:nth-child(1):hover .header__nav-link {
  color: #ECBB4B;
}

.header__nav-item:nth-child(2):hover .header__nav-link {
  color: #E53F30;
}

.header__nav-item:nth-child(3):hover .header__nav-link {
  color: #4D5E9C;
}

.header__nav-item:nth-child(4):hover .header__nav-link {
  color: #DE6F80;
}

.header__nav-item:nth-child(5):hover .header__nav-link {
  color: #84BC59;
}

.header__nav-item:nth-child(6):hover .header__nav-link {
  color: #2381B6;
}

.header__nav-icon {
  width:auto;
  height: 4rem;
  object-fit: contain;
}

.header__nav-item--contact {
  width: 14rem;
  height: 5rem;
  justify-content: center;
  border-radius: 2.5rem;
  background-color: #F6AD3C;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.header__nav-item--contact:hover {
  background-color: #FF7602;
}

.header__logo{
  font-size:3.5rem;
  font-weight:500;
  color:#ff7600;
  width:33rem;
}
.header__logo a{
  display: flex;
  align-items: center;
  gap:0.5rem;
}
.header__logo span{
  font-size:1.6rem;
  margin-left:1.5rem;
  display:inline-block;
}
.header__inner{
  display:flex;
  gap:9.5rem;
  justify-content:center;
  align-items:center;
  height:100%;
}

.header__hamburger {
  display: none;
}

.header__page-top {
  position: fixed;
  top: 72rem;
  right: 7rem;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border: 0.1rem solid var(--header-page-color, #ECBB4B);
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
}

.header__page-top span {
  display: block;
  width: 0.9rem;
  height: 0.9rem;
  border-top: 0.15rem solid var(--header-page-color, #ECBB4B);
  border-left: 0.15rem solid var(--header-page-color, #ECBB4B);
  transform: translateY(0.2rem) rotate(45deg);
}

@media screen and (max-width:699.98px) {
  header{
    height: 6rem;
  }

  .header__page-top {
    top: auto;
    right: 0.5rem;
    bottom: 3rem;
  }

  .header__inner{
    justify-content: space-between;
    padding-inline: 1.5rem;
    gap: 0;
  }

  .header__logo{
    width: auto;
    font-size: 2rem;
  }

  .header__logo span{
    font-size: 1rem;
    margin-left: 0;
    margin-right: 0.8rem;
  }

  .header__hamburger {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border: none;
    border-radius: 50%;
    background-color: #F6AD3C;
    cursor: pointer;
  }

  .header__hamburger span {
    position: absolute;
    width: 2.2rem;
    height: 0.2rem;
    border-radius: 999px;
    background-color: #fff;
    transition: transform 0.3s ease;
  }

  .header__hamburger span:nth-child(1) {
    transform: translateY(-0.6rem);
  }

  .header__hamburger span:nth-child(2) {
    transform: translateY(0);
  }

  .header__hamburger span:nth-child(3) {
    transform: translateY(0.6rem);
  }

  .header__hamburger.is-open span:nth-child(1) {
    transform: rotate(28deg);
  }

  .header__hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .header__hamburger.is-open span:nth-child(3) {
    transform: rotate(-28deg);
  }

  .header__nav {
    position: fixed;
    top: 1.8rem;
    left: 50%;
    z-index: 1000;
    width: calc(100% - 4rem);
    max-width: 33.5rem;
    padding: 3.6rem 1.8rem 2rem;
    border: 0.3rem solid #F6AD3C;
    border-radius: 3rem;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -1rem);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }

  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .header__nav-item {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    min-height: 6.2rem;
    border-bottom: 0.2rem dotted #c9c9c9;
    font-size: 1.7rem;
    line-height: 1;
    text-align: left;
  }

  .header__nav-link {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    width: 100%;
  }

  .header__nav-icon {
    width: 4rem;
    height: 4rem;
  }

  .header__nav-item--contact {
    width: 14rem;
    height: 5rem;
    min-height: 5rem;
    margin: 1.4rem auto 0;
    border-bottom: none;
    border-radius: 2.5rem;
    justify-content: center;
    background-color: #F6AD3C;
    color: #fff;
    font-size: 1.6rem;
    text-align: center;
  }

  .header__nav-item--contact .header__nav-link {
    justify-content: center;
    gap: 0;
  }
  .header__logo{
    font-size:2.8rem;
  }
  .header__logo span{
    font-size:1.3rem;
  }

}
