@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 {
      position: fixed;
  z-index: 9990;
    top: clamp(0.625rem, -0.375rem + 1.56vw, 1.5rem);
    width: 100%;
    height: clamp(5rem, -0.714rem + 8.93vw, 10rem);
    transition: all 0.5s;
}
.header.transform {
  height: clamp(3.75rem, 0.893rem + 4.46vw, 6.25rem);
}
.header__inner {
      padding: 0 clamp(0.625rem, -2.958rem + 7.47vw, 6rem);
    height: inherit;
}
.header__container {
      border: clamp(0.125rem, -0.125rem + 0.52vw, 0.5rem) solid #005196;
    height: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
  background-color: #Fff;
  position: relative;
}
.header__left,
.header__right {
       height: 100%;
    width: auto;
    object-fit: contain;
   position: absolute;
}
.header__left {
        position: absolute;
    left: 0;
}
.header__right {
        position: absolute;
    right: 0;
}
.header__items {
      display: flex;
    align-items: center;
    column-gap: clamp(1.25rem, -0.179rem + 2.23vw, 2.5rem);
  height: inherit;
}
.header__item {
      display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
}
.header-item__text {
        font-size: clamp(0.875rem, 0.589rem + 0.45vw, 1.125rem);
    font-weight: 700;
    transition: all 0.5s;
}
.header-item__icon {
      position: absolute;
    width: clamp(2.5rem, 1.583rem + 1.91vw, 3.875rem);
    opacity: 0;
    transition: all 0.5s;
}
.header-logo {
  height: inherit;
}
.header__logo {
   height: inherit;
  width: auto;
  object-fit: contain;
}
.header__logo.transform {
  width: clamp(2.813rem, 0.741rem + 3.24vw, 4.625rem);
}
.header__item:hover .header-item__icon {
  opacity: 1;
}
.red-line {
      height: clamp(0.125rem, -0.125rem + 0.52vw, 0.5rem);
    width: 100%;
    background-color: #D80839;
}

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

@media (max-width: 1023px) {
  .header {
    height: clamp(3.5rem, -1.018rem + 9.41vw, 5rem);
  }
  .header.transform {
    height: clamp(3.125rem, -0.64rem + 7.84vw, 4.375rem);
  }
  .header__items {
    column-gap: 16px;
  }
}

@media (max-width: 767px) {
  .header {
    height: 50px;
  }
  .header.transform {
    height: 50px;
  }
  .header__left {
        bottom: 0;
    height: 80%;
  }
  .header__item {
    display: none;
  }
  .header__right {
    display: none;
  }
  .hamBtn {
        position: fixed;
    right: 32px;
    top: 30px;
    width: 24px;
    height: 8px;
    cursor: pointer;
    z-index: 9999;
    transition: all .7s;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hamBar {
        position: relative;
    width: 24px;
    height: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hamBar > div {
        position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000;
    transition: .7s;
  }
  .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: 5px;
    transform: rotate(-10deg);
    border-radius: unset;
  }
  .hamBar.active>div:nth-child(2) {
    opacity: 0;
  }
  .hamBar.active>div:nth-child(3) {
    top: 5px;
    transform: rotate(10deg);
    border-radius: unset;
  }
  
  .sp__menu {
        position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 100%;
    height: 100svh;
    transition: .5s;
    z-index: 9995;
    display: flex;
    flex-direction: column;
    align-items: center;
    visibility: hidden;
    overflow: scroll;
        background-image: url(https://shinei-mei.com/system_panel/uploads/images/bg.png);
    background-size: cover;
  }
  .sp-menu__inner {
    width: 100%;
    padding: 10px;
  }
  .sp-menu__container {
        display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 32px;
    background-color: #fff;
    padding: 16px 0 0;
    border: 2px solid #005196;
  }
  .sp__menu.active {
    transform: translateY(0%);
    visibility: visible;
    pointer-events: auto;
  }
  .sp-menu__container {
        display: flex;
    flex-direction: column;
    row-gap: 34px;
  }
  .sp-menu-logo {
    width: 70px;
  }
  .sp-menu__text {
        font-size: 16px;
    font-weight: 500;
    transition: all 0.5s;
  }
  .sp-menu__text:hover {
    color: #A03435;
  }
  .sp-menu-insta {
    width: 32px;
  }
  .sp-menu__img {
        width: 50%;
    margin-right: auto;
  }
  .sp-menu__line {
        background-color: #D80839;
    height: 4px;
  }
}