@charset "utf-8";
.header.UpMove{
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}
.header.DownMove{
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.header {
  width: 100%;
  height: 120px;
  position: fixed;
    z-index: 9999;
    background-color: #fff;
}
.header__top {
  background-color: #FDDAE6;
}
.header-top__text {
      font-size: clamp(0.75rem, 0.667rem + 0.17vw, 0.875rem);
    padding: 4px clamp(1.25rem, 0.083rem + 2.43vw, 3rem);
    color: #fff;
    font-weight: 500;
    max-width: 1920px;
    margin: auto;
}
.header__inner {
  padding: 0 clamp(1.25rem, 0.083rem + 2.43vw, 3rem);
}
.header__container {
      display: flex;
    align-items: center;
    column-gap: 10px;
    justify-content: space-between;
}
.header__logo {
      width: 216px;
    min-width: 160px;
}
.header__items {
      display: flex;
    column-gap: clamp(0.625rem, -1.518rem + 3.35vw, 2.5rem);
      flex-wrap: wrap;
    row-gap: 10px;
    justify-content: flex-end;
}
.header__items a:not(:last-child) {
        padding-right: clamp(0.625rem, -1.518rem + 3.35vw, 2.5rem);
    border-right: 1px dashed #000;
}
.header__item {
  display: flex;
      align-items: center;
    column-gap: 8px;
  transition: all 0.5s;
}
.header-item__icon {
        height: clamp(1.125rem, 0.792rem + 0.69vw, 1.625rem);
    object-fit: contain;
}
.header-item__text {
      white-space: nowrap;
    color: #000;
    font-size: clamp(0.75rem, 0.321rem + 0.67vw, 1.125rem);
    font-weight: 400;
}
.header__item:hover {
  opacity: 0.5;
}

.header__fixed {
      position: fixed;
    top: 120px;
    right: 0;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    z-index: 9999;
}
.header-fixed__btn {
      writing-mode: vertical-lr;
    text-orientation: upright;
    width: clamp(2.438rem, 1.396rem + 2.17vw, 4rem);
    height: clamp(8.063rem, 3.938rem + 8.59vw, 14.25rem);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: clamp(0.313rem, -0.313rem + 1.3vw, 1.25rem) 0 0 clamp(0.313rem, -0.313rem + 1.3vw, 1.25rem);
}
.header-fixed__btn--pink {
  background-color: #FF6363;
  transition: all 0.5s;
}
.header-fixed__btn--green {
  background-color: #87C74A;
  transition: all 0.5s;
}
.header-fixed-btn__text {
      color: #fff;
    font-size: clamp(0.75rem, 0.5rem + 0.52vw, 1.125rem);
    font-weight: 700;
}
.header-fixed__btn--pink:hover,
.header-fixed__btn--green:hover {
  opacity: 0.7;
}

.sp__menu {
  display: none;
}
.hamBtn {
  display: none;
}

@media (max-width: 1023px) {
.header {
  height: 77px;
  }
  .header__logo {
        width: 120px;
    min-width: unset;
  }
  .header__items {
    display: none;
  }
  
  .hamBtn {
        right: 0;
    top: 0;
    background-color: #fff;
    width: 39px;
    height: 37px;
    border: 1px solid #FF9191;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    cursor: pointer;
    z-index: 9999;
    transition: all .5s;
  }
  .hamBar {
        position: relative;
        height: 18px;
    width: 28px;
  }
  .hamBar > div {
        position: absolute;
    right: 0;
    width: 100%;
    height: 2px;
    background: #FF9191;
    transition: .5s;
  }
  .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: 9px;
    transform: rotate(-45deg);
  }
  .hamBar.active>div:nth-child(2) {
    opacity: 0;
  }
  .hamBar.active>div:nth-child(3) {
    top: 9px;
    transform: rotate(45deg);
  }
  
  .sp__menu {
    background-color: #fff;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 100%;
    height: 100svh;
    transition: .5s;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    align-items: center;
    visibility: hidden;
    padding-top: 100px;
    padding-bottom: 35px;
    overflow: scroll;
  }
  .sp__menu.active {
    transform: translateY(0%);
    visibility: visible;
    pointer-events: auto;
  }
  .sp-menu__container {
    width: 100%;
  }
  .sp-menu__items {
    width: 100%;
    row-gap: 34px;
    display: flex;
    flex-direction: column;
    padding: 0 clamp(4.875rem, -10.56rem + 32.16vw, 10rem) 0 clamp(2.5rem, -20.088rem + 47.06vw, 10rem);
  }
  .sp-menu__item {
        padding-bottom: 16px;
    border-bottom: 1px dashed #000;
  }
  .header__item {
     width: fit-content;
  }
  
  .header__fixed {
    top:46px;
  }
}