@charset "utf-8";
.header {
      width: 100%;
    position: fixed;
    z-index: 9980;
    padding: 8px 0;
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(29px);
    -webkit-backdrop-filter: blur(29px);
  filter: brightness(1.09);
}
.header__inner {
      padding-left: clamp(1.25rem, -9.917rem + 23.26vw, 18rem);
    padding-right: clamp(1.25rem, -5.917rem + 14.93vw, 12rem);
}
.header__container {
      display: flex;
    justify-content: space-between;
    column-gap: 20px;
    align-items: center;
}
.header__logo {
      width: clamp(3rem, 1.75rem + 2.6vw, 4.875rem);
    object-fit: contain;
}
.header__items {
      display: flex;
    column-gap: clamp(1.25rem, -0.417rem + 3.47vw, 3.75rem);
    align-items: center;
}
.header__item {
      font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    font-size: clamp(0.75rem, 0.417rem + 0.69vw, 1.25rem);
    transition: all 0.5s;
}
.header__right {
      display: flex;
    align-items: center;
    column-gap: clamp(1rem, 2.08vw, 2.5rem);
}
.header__phone {
      display: flex;
    flex-direction: column;
    align-items: end;
}
.header-phone__top {
      display: flex;
    column-gap: 5px;
    align-items: center;
}
.header-phone__icon {
      width: clamp(0.625rem, 0.292rem + 0.69vw, 1.125rem);
    object-fit: contain;
}
.header-phone__number {
      font-family: "Zen Old Mincho", serif;
    font-weight: 900;
    font-size: clamp(1.125rem, 0.542rem + 1.22vw, 2rem);
    color: #C50909;
    line-height: 1;
}
.header-phone__text {
      font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    color: #C50909;
    font-size: clamp(0.75rem, 0.667rem + 0.17vw, 0.875rem);
}
.header__contact {
      font-size: clamp(0.75rem, 0.25rem + 1.04vw, 1.5rem);
    font-weight: 400;
    font-family: "Zen Old Mincho", serif;
    color: #fff;
    background-color: #C60808;
    padding: clamp(0.625rem, 0.417rem + 0.43vw, 0.938rem) clamp(1rem, -0.208rem + 2.52vw, 2.813rem);
    border-radius: 10px;
  box-shadow: 5px 3px 10px rgba(0,0,0,0.16);
  transition: all 0.5s;
}
.header__contact:hover {
  transform: scale(1.1,1.1);
}

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



@media (max-width: 767px) {
  .hamBtn {
        display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    cursor: pointer;
    transition: all .7s;
    position: fixed;
    z-index: 9999;
        top: 28px;
    right: clamp(2.5rem, 1.207rem + 5.31vw, 3.75rem);
    height: 20px;
  }
  .hamBar {
        position: relative;
    width: 25px;
    height: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hamBar > div {
        position: absolute;
    right: 0;
    width: 100%;
    height: 2px;
    background: #143064;
    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: 10px;
    transform: rotate(-45deg);
  }
  .hamBar.active>div:nth-child(2) {
    opacity: 0;
  }
  .hamBar.active>div:nth-child(3) {
    top: 10px;
    transform: rotate(45deg);
  }
  .sp__menu {
    background-color: #C9C8CC;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 100%;
    height: 100vh;
    transition: 1s;
    z-index: 9990;
    display: block;
    visibility: hidden;
    overflow: scroll;
    left: 0;
  }
  .sp__menu.active {
    transform: translateY(0%);
    visibility: visible;
    pointer-events: auto;
  }
  .sp-menu__inner {
    height: 100%;
    width: 100%;
        display: flex;
    justify-content: center;
    align-items: flex-start;
  }
  .sp-menu__container {
        display: flex;
    flex-direction: column;
    margin-top: 7px;
    margin-left: 20px;
    margin-right: 20px;
    row-gap: 40px;
    width: 100%;
    padding: 32px 56px 64px 16px;
    background-color: rgba(255,255,255,0.24);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    filter: brightness(1.14);
  }
  .sp-menu__item {
        font-size: 16px;
    font-weight: 900;
    font-family: "Zen Old Mincho", serif;
        padding-bottom: 10px;
    border-bottom: 1px dashed #143064;
  }
  .sp-menu__box {
      display: flex;
    flex-direction: column;
    row-gap: 20px;
        padding-bottom: 10px;
    border-bottom: 1px dashed #143064;
  }
  .sp-menu__item--sub {
        font-size: 14px;
    font-weight: 500;
    font-family: "Zen Old Mincho", serif;
  }
  
  .header {
        margin-top: 7px;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
  }
  .header__inner {
        padding-left: 18px;
    padding-right: 62px;
  }
  .header__items {
    display: none;
  }
  .header__phone {
    display: none;
  }
  .header__contact {
        border-radius: 3px;
    font-size: 16px;
    padding: 7px clamp(1.25rem, -0.366rem + 6.63vw, 2.813rem);
  }
}