@charset "utf-8";

.header.change-color{
  background:#FCF7EC;
}


.header{
  position: fixed;
  z-index:9999;
  top: 0.5rem;
  right: 2.5%;
  width: fit-content;
  padding: 1rem 3rem;
  background-color: transparent;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
  border-radius: 3rem;
}


.header_right{
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.header_menu{
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
  font-weight:bold;
  text-align:center;
}

.header_menu a{
  position:relative;
  z-index:0;
}

.header_menu a::before{
  position:absolute;
  content:"";
  left:0;
  bottom:0;
  width:0;
  height:1px;
  background:#FF9640;
  transition:0.3s;
  z-index:-1;
}

.header_menu a p{
  transition:0.3s;
}

.header_menu a p:first-child{
  color:#FF9640;
  font-size:14px;
  margin-bottom:4px;
}

.header_menu a p:last-child{
  color:#505050;
  font-size:18px;
}

.header_menu a:hover p{
  transform: translateY(-6px);
}

.header_menu a:hover::before{
  width:100%;
}

.hamBtn {
  cursor: pointer;
  z-index: 9999;
  transition: all .5s;
  width: 48px;
  height: 48px;
  display:none;
  background-color: #fff;
  border-radius: 999vh;
}

.hamBar {
  position: relative;
  width: 24px;
  height: 1rem;
}

.hamBar>div {
  position: absolute;
  right: 0;
  width: 100%;
  transition: .5s;
  height:1px;
  background:#1F1F1F;
}

.hamBar>div:nth-child(2) {
  top:7.5px;
}

.hamBar>div:nth-child(3) {
  bottom:0px;
}

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

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

.hamBar.active>div:nth-child(3) {
  bottom:7px;
  transform: rotate(30deg);
}

@media (max-width: 767px) {
  .hamBar>div {
    height: 1px;
  }
}


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

.sp__menu .hamBtn{
  position:fixed;
  top: 0.5rem;
  right: 2.5%;
}

body:has(.header.change-color) .sp__menu .hamBtn{
  top:22px;
}

.sp__menu-wrap{
  padding:0 calc(5% + 20px);
  width: 100%;
}

.sp__menu > a{
  position:fixed;
  left:calc(5% + 20px);
  top:55px;
}

body:has(.header.change-color) .sp__menu > a{
  top:22px;
}

.ham-list{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sp__menu  a{
  color:#fff;
}

.sp__menu  a strong{
  font-weight:bold;
  font-size:2.5rem;
  font-family: "Cantarell", sans-serif;
  letter-spacing: -2px;
}

.ham-list  div{
  margin-bottom:1rem;
}

.ham-list  div a{
  margin-bottom:1rem;
  font-size: clamp(1rem, 0.955rem + 0.15vw, 1.125rem);
  padding-left: 1rem;
  position: relative;
}

.ham-list  div a::before {
  content: "-";
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

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

.ham-insta{
  width:2rem;
  margin: 2.5rem auto 0;
}

.sp__menu > img{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

@media (max-width: 1279px) {
  .header_menu{
    gap: 1rem;
  }
}

@media (max-width: 1200px) {
  .header-right{
    display: none;  
  }
  .hamBtn{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .header{
    padding:0;
  }
  .header_menu{
    flex-direction: column;
    gap: 2.5rem;
  }
  .lower-fv::before{
    bottom: 3rem;
  }
}
@media (max-width: 1024px) {
  .lower-fv::before{
    bottom: 2rem;
  }
  .sp__menu{
    overflow: scroll;
    min-height: 600px;
    padding: 2rem 0 5rem;
    justify-content: flex-start;
    height: 100%;
  }
  @media (min-height: 900px) {
    .sp__menu {
      justify-content: center;
    }
  }
  @media (max-height: 700px) {
    .sp__menu > img{
      bottom: -5rem;
    }
  }
}
@media (max-width: 767px) {
  .sp__menu {
    width:100%;
    padding: 4rem 0 2rem;
  }
  .sp__menu-wrap {
    padding: 0 5%;
  }
  .header-logo {
    width: 160px;
  }
  .sp__menu .hamBtn{
    top:1.5rem;
    right:5%;
  }
  body:has(.header.change-color) .sp__menu .hamBtn {
    top: 8px;
  }
  .sp__menu > a {
    left: 5%;
    top: 26px;
  }
  body:has(.header.change-color) .sp__menu > a {
    top: 10px;
  }
  .ham-list {
    gap: 1rem;
  }
  .ham-list > a{
    font-size:12px;
  }
  .ham-list div {
    margin-bottom: 0rem;
  }
  .ham-list div a{
    font-size:14px;
    margin-bottom: 0.5rem;
  }
}
