@charset "utf-8";

.header{
  position: absolute;
  z-index:10;
  top: 0;
  left: 0;
  padding: 0 0 0 5%;
  background-color: transparent;
  transition: 0.3s;
}

.header_left{
  width:220px;
}

.header_left p{
  font-size:12px;
  margin-bottom:1rem;
}


.header_right{
  position: fixed;
  z-index:9999;
  top: 0;
  right: 5%;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding-top:1.5rem;
}

.header_right a{
  color:#1F1D1B;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 1);
}

.header_right a:hover{
  color:#FAC562;
}

.header_menu{
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: center
}

.header-contact{
  border:1px solid #FAC562;
  color:#FAC562 !important;
  padding: 12px 2rem;
  display:flex;
  gap: 12px;
  align-items: flex-end;
  transition:0.6s;
  text-shadow: none !important;
}

.header-contact:hover{
  background:rgba(255,255,255,0.6);
}

.header-contact img{
  width:14px;
}

.header-logo{
  width:210px;
}

@media (max-width: 1600px) {
  .header-logo{
    width:150px;
  }
}

@media (max-width: 1024px) {
  .header-logo{
    width:120px;
  }
}

.hamBtn {
  cursor: pointer;
  z-index: 9999;
  transition: all .5s;
  position: fixed;
  display:none;
  right: 5%;
  top: 1.8rem;
  width: 40px;
  height: 24px;
  background-color: transparent;
}

@media (max-width: 1024px) {
  .hamBtn {
    display:block;
  }
}

.hamBar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.hamBar>div {
  position: absolute;
  right: 0;
  width: 100%;
  height: 2px;
  background: #1F1D1B;
  transition: .5s;
  box-shadow: 1px 1px 4px rgba(255, 255, 255, 1);
}

@media (max-width: 767px) {
  .hamBtn{
    width:32px;  
    top:1.1rem;
    height: 20px;
  }
}


.hamBar>div:nth-child(1) {
  top: 0; 
}

.hamBar>div:nth-child(2) {
  top: 50%;
}

.hamBar>div:nth-child(3) {
  top: 100%;
}

.hamBar.active>div:nth-child(1) {
  top: 16px;
  transform: rotate(-30deg);
  background: #fff;
}

.hamBar.active>div:nth-child(2) {
  opacity: 0;
}

.hamBar.active>div:nth-child(3) {
  top: 16px;
  transform: rotate(30deg);
  background: #fff;
}


.sp__menu {
  background:#1F1D1B;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100vh;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items:center;
  color: #DFB971;
  transition: 1s;
  z-index: 8000;
  z-index:-100;
}

.sp__menu  a{
  color: #DFB971;
}

.sp__menu-wrap{
  max-width:500px;
  margin:1.5rem auto;
  width: 90%;
}

.sp__menu-wrap div{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


.sp__menu.active {
  opacity: 1;
  visibility: visible;
  z-index:100000;
}


@media (max-width: 1279px) {
  .header_menu{
    gap: 1rem;
  }
  .header_right a{
    font-size: 13px;
  }
  .sp__menu{
    overflow: scroll;
    min-height: 600px;
    padding: 3rem 0 6rem;
    height: 100%;
  }
  .header-contact{
    padding: 8px 1rem;
  }
}

@media (max-width: 1024px) {
  .header_menu{
    display: none;  
  }
}

@media (max-width: 767px) {
  .header{
    padding: 0.5rem 5% 0 0;
  }
  .header_left {
    width: 100px;
  }
  .header_left p{
    font-size: 8px;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    text-align: center;
  }
  .sp__menu {
    width:100%;
    padding:8rem 0 1rem;
  }
  .header-logo {
    width: 70px;
            margin: 0 auto;
  }
}

.sp__menu .copyright{
  color:#4D4A47;
}

.ham-bottom{
  margin: 2rem 0 0;
}

.ham-bottom a{
  margin: 0 auto 1rem;
}

.ham-box{
  background:rgba(223, 185, 113, 0.1);
  padding:2rem 5% 1rem;
}

.ham-box > p{
  color:#fff;
  margin:0 0 10px;
  font-size: 14px;
}

.ham-box .header-contact{
  margin:0 0 20px;
  width: fit-content;
  padding: 14px 1.5rem;
}

@media (max-width: 767px) {
  .ham-box{
      width: 90%;
  padding:1rem 5% 0rem;
  }
  .ham-box > p {
    font-size: 10px;
  }
  .ham-box .header-contact{
    margin: 0 0 10px;
    width: fit-content;
    padding: 10px 1.5rem;
  }
 .sp__menu  .header-logo{
        width: 110px;
  }
}
