@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;
    width: 100%;
    height: clamp(3.188rem, 2.229rem + 2vw, 4.625rem);
  background-color: #fff;
}
.header__inner {
      padding-left: clamp(1.25rem, -1.917rem + 6.6vw, 6rem);
    height: inherit;
}
.header__container {
      height: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 20px;
}
.header__logo {
      width: clamp(7rem, -1.458rem + 17.62vw, 19.688rem);
    object-fit: contain;
    height: auto;
}
.header__right {
      display: flex;
    align-items: center;
    height: inherit;
    column-gap: clamp(1.25rem, -0.208rem + 3.04vw, 3.438rem);
}
.header__items {
      display: flex;
    height: inherit;
    align-items: center;
    column-gap: clamp(1.25rem, -0.75rem + 4.17vw, 4.25rem);
}
.header__link,
.header__link--entry {
  height: inherit;
}
.header__item {
      height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.75rem, 0.5rem + 0.52vw, 1.125rem);
    font-weight: 400;
    transition: all 0.5s;
}
.header__entry {
      height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(0.875rem, -0.833rem + 3.56vw, 3.438rem);
    background-color: #9F2018;
    color: #fff;
    font-size: clamp(0.75rem, 0.417rem + 0.69vw, 1.25rem);
    font-weight: 600;
    transition: all 0.5s;
}
.header__item:hover {
  color: #9F2018;
}
.header__entry:hover {
  background-color: #000;
}

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


@media (max-width: 767px) {
  .header__inner {
    padding-right: 44px;
  }
  .header__items {
    display: none;
  }
  .hamBtn {
    position: fixed;
    cursor: pointer;
    z-index: 9999;
    right: 0;
    top: 0;
    width: 44px;
    height: 51px;
    background-color: #fff;
    transition: all .7s;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hamBar {
        position: relative;
    height: 17px;
    width: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hamBar > div {
        position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: #9F2018;
    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(-30deg);
    border-radius: unset;
    background: #fff;
  }
  .hamBar.active>div:nth-child(2) {
    opacity: 0;
  }
  .hamBar.active>div:nth-child(3) {
    top: 5px;
    transform: rotate(30deg);
    border-radius: unset;
    background: #fff;
  }
  .hamBtn.active {
    background-color: #9F2018;
  }
  
  .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-color: #fff;
  }
  .sp-menu__inner {
        width: 100%;
    padding: 72px 0 8px;
    display: flex;
    flex-direction: column;
  }
  .sp__menu.active {
    transform: translateY(0%);
    visibility: visible;
    pointer-events: auto;
  }
  .sp-menu__top {
        display: flex;
    flex-direction: column;
    row-gap: 40px;
    padding-bottom: 42px;
    padding-left: clamp(2.5rem, -7.845rem + 42.44vw, 12.5rem);
    padding-right: clamp(2.5rem, -7.845rem + 42.44vw, 12.5rem);
  }
  .sp-menu__item {
        display: flex;
    column-gap: 8px;
    align-items: center;
  }
  .sp-menu-item__icon {
        width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #9F2018;
  }
  .sp-menu-item__text {
        font-size: 16px;
    font-weight: 400;
    transition: all 0.5s;
  }
  .sp-menu-entry__text {
        padding: 20px 45px;
    width: fit-content;
    background-color: #9F2018;
    color: #fff;
    font-family: "IBM Plex Sans JP", sans-serif;
    font-size: 17px;
    font-weight: 400;
    transition: all 0.5s;
  }
  .sp-menu__item:hover .sp-menu-item__text {
    color: #9F2018;
  }
  .sp-menu-entry__text:hover {
    background-color: #000;
  }
  
  .sp-menu__bottom {
        border-top: 1px solid #ADADAD;
    padding-top: 34px;
    padding-left: clamp(2.5rem, -7.845rem + 42.44vw, 12.5rem);
    padding-right: clamp(2.5rem, -7.845rem + 42.44vw, 12.5rem);
  }
  .sp-menu-bottom__text {
        font-size: 12px;
    font-weight: 400;
    color: #9F2018;
  }
  .sp-menu-bottom__tel {
        margin-top: 6px;
    font-weight: 400;
    font-size: 20px;
    font-family: "IBM Plex Sans JP", sans-serif;
  }
  .sp-menu-bottom__time {
        margin-top: 6px;
    font-weight: 400;
    font-size: 10px;
    font-family: "IBM Plex Sans JP", sans-serif;
  }
  .sp-menu__logo {
        width: 295px;
    height: auto;
    margin-top: 20px;
    object-fit: contain;
  }
  .sp-menu__copyright {
        text-align: center;
    margin-top: 36px;
    font-weight: 400;
    font-size: 10px;
    font-family: "IBM Plex Sans JP", sans-serif;
  }
}