@charset "utf-8";

@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: 9999;
    width: 100%;
    height: clamp(7.5rem, 5.833rem + 3.47vw, 10rem);
}
.header__inner {
       padding: 0 clamp(1.25rem, 0.083rem + 2.43vw, 3rem);
    height: inherit;
    padding-top: 20px;
      background-image: url(https://my-revolution.com/system_panel/uploads/images/header-bg.png);
    background-size: cover;
    background-position: right;
}
.header__container {
       display: flex;
    column-gap: clamp(1.25rem, 0.417rem + 1.74vw, 2.5rem);
    justify-content: flex-end;
    height: inherit;
}
.header__items {
        display: flex;
    column-gap: clamp(1.25rem, 0.417rem + 1.74vw, 2.5rem);
        height: fit-content;
    align-items: center;
}
.header__item {
      color: #fff;
    font-family: "遊ゴシック",sans-serif;
    font-weight: 700;
    padding: 10px 0;
    white-space: nowrap;
    transition: .5s;
}
.header__item:hover {
  opacity: 0.7;
}
.header__toggle {
      position: relative;
    height: clamp(1.875rem, 0.625rem + 2.6vw, 3.75rem);
    display: flex;
    align-items: center;
  transition: .5s;
}
.header-toggle__box {
      visibility: hidden;
  opacity: 0;
    position: absolute;
    top: clamp(1.875rem, 0.625rem + 2.6vw, 3.75rem);
    left: -10px;
  transition: .5s;
}
.header__toggle:hover .header-toggle__box {
     visibility: visible;
  opacity: 1;
    background-color: rgba(193,27,100,0.7);
    padding: 14px 24px 14px 14px;
    border-radius: 10px;
}
.header__item--sub {
        color: #fff;
    font-family: "遊ゴシック",sans-serif;
    font-weight: 700;
    padding: 10px 0;
    white-space: nowrap;
    transition: .5s;
}
.header__item--sub:hover {
  opacity: 0.7;
}
.header-contact__btn {
        display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    background-color: #C11B64;
    border-radius: 10px;
    color: #fff;
  font-family: "遊ゴシック",sans-serif;
    padding: clamp(0.75rem, 0.25rem + 1.04vw, 1.5rem) clamp(0.625rem, 0.125rem + 1.04vw, 1.375rem);
    transition: .5s;
}
.header-contact__btn:hover {
  background-color: rgba(193,27,100,0.5);
}

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

@media (max-width: 767px) {
  .header {
    display: none;
  }
  
  .hamBtn {
        position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    cursor: pointer;
    z-index: 9999;
    transition: all .7s;
    color: #FAFBFF;
    background-color: #DE5E85;
    border-radius: 0 0 0 10px;
    max-width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
  }
  .hamBar {
        position: relative;
    width: 6px;
    height: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hamBar > div {
        position: absolute;
    left: 0;
    width: 100%;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    transition: .7s;
  }
  .hamBar>div:nth-child(1) {
    top: 0; 
  }
  .hamBar>div:nth-child(2) {
    top: 45%;
  }
  .hamBar>div:nth-child(3) {
    top: 100%;
  }
  .hamBar.active>div:nth-child(1) {
    top: 15px;
    left: -15px;
    transform: rotate(-45deg);
    width: 30px;
    height: 2px;
    border-radius: unset;
  }
  .hamBar.active>div:nth-child(2) {
    opacity: 0;
  }
  .hamBar.active>div:nth-child(3) {
    top: 15px;
    left: -15px;
    transform: rotate(45deg);
    width: 30px;
    height: 2px;
    border-radius: unset;
  }
  
  .sp__menu {
    background-color: #DE5E85;
    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: clamp(3.75rem, 2.457rem + 5.31vw, 5rem) 0;
    overflow: scroll;
  }
  .sp-menu__inner {
    padding: 0 50px;
  }
  .sp__menu.active {
    transform: translateY(0%);
    visibility: visible;
    pointer-events: auto;
  }
  .sp-menu__items {
        display: flex;
    flex-direction: column;
    row-gap: clamp(1.875rem, 1.228rem + 2.65vw, 2.5rem);
  }
  .sp-menu__logo {
    width: 60px;
  }
  .sp__box {
        display: flex;
    flex-direction: column;
    row-gap: clamp(0.625rem, -0.022rem + 2.65vw, 1.25rem);
  }
  .sp__item {
    font-family: "遊ゴシック",sans-serif;
        font-size: clamp(1rem, 0.871rem + 0.53vw, 1.125rem);
    font-weight: 700;
    color: #FFF;
  }
  .sp-item__sub {
    font-family: "遊ゴシック",sans-serif;
    font-weight: 500;
    color: #FFF;
  }
}