@charset "utf-8";
.header {
      position: fixed;
    top: clamp(2.5rem, -0.833rem + 6.94vw, 7.5rem);
    left: clamp(1.25rem, -1.75rem + 6.25vw, 5.75rem);
}
.header__logo {
      width: clamp(9.375rem, 5.083rem + 8.94vw, 15.813rem);
    height: auto;
    object-fit: contain;
}
.header__items {
      margin-top: clamp(1.5rem, 0.833rem + 1.39vw, 2.5rem);
    display: flex;
    flex-direction: column;
    row-gap: clamp(0.625rem, 0.208rem + 0.87vw, 1.25rem);
}
.header__item {
      display: flex;
    column-gap: clamp(0.5rem, 0.333rem + 0.35vw, 0.75rem);
    align-items: center;
    padding-bottom: clamp(0.625rem, 0.208rem + 0.87vw, 1.25rem);
    border-bottom: 1.5px solid #2A60B6;
}
.header-item__icon {
      width: clamp(0.5rem, 0.417rem + 0.17vw, 0.625rem);
    height: clamp(0.5rem, 0.417rem + 0.17vw, 0.625rem);
    background-color: #2A60B6;
  transform: rotate(45deg);
}

.header-item__text {
      font-size: clamp(0.875rem, 0.625rem + 0.52vw, 1.25rem);
    font-weight: 500;
    transition: all 0.5s;
}
.header__item:hover .header-item__text {
  text-shadow:
  0.02em 0 currentColor,
  -0.02em 0 currentColor;
  color: #2A60B6;
}
.header__bottom {
    margin-top: clamp(0.625rem, 0.208rem + 0.87vw, 1.25rem);
    display: flex;
    flex-direction: column;
    row-gap: clamp(0.5rem, 0.208rem + 0.61vw, 0.938rem);
}
.header__contact {
      padding: 20px;
    text-align: center;
    background-color: #2A60B6;
  border: 1px solid #2A60B6;
    color: #fff;
    font-size: clamp(0.875rem, 0.625rem + 0.52vw, 1.25rem);
    font-weight: 500;
  border-radius: 5px;
    transition: all 0.5s;
}
.header__phone {
      padding: 20px;
    text-align: center;
    background-color: #2A60B6;
  border: 1px solid #2A60B6;
    color: #fff;
    font-size: clamp(1rem, 0.667rem + 0.69vw, 1.5rem);
    font-weight: 500;
  border-radius: 5px;
    transition: all 0.5s;
}
.header__phone strong {
      font-weight: 500;
    font-size: clamp(0.75rem, 0.667rem + 0.17vw, 0.875rem);
}
.header__contact:hover {
  background-color: #fff;
  color: #2A60B6;
}
.header__phone:hover {
  background-color: #fff;
  color: #2A60B6;
}

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

@media (max-width: 767px) {
  .header {
    display: none;
  }
  .header__sp {
    display: block;
    z-index: 9990;
        padding-top: 4px;
    position: fixed;
    height: clamp(2.563rem, 2.204rem + 1.53vw, 2.938rem);
    width: 100%;
  }
  .header-sp__inner {
        padding-left: 20px;
    padding-right: 40px;
  }
  .header-sp__container {
        display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .header__logo {
    width: clamp(9.375rem, 6.386rem + 12.76vw, 12.5rem);
  }
  .header__contact {
        padding: 10px 9px;
    font-size: clamp(0.625rem, 0.386rem + 1.02vw, 0.875rem);
  }
  
  .hamBtn {
    position: fixed;
    cursor: pointer;
    z-index: 9999;
        right: 10px;
    top: 14px;
    width: 21.5px;
    height: 16px;
    transition: all .7s;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hamBar {
        position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hamBar > div {
        position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: #2A60B6;
    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);
  }
  .hamBar.active>div:nth-child(2) {
    opacity: 0;
  }
  .hamBar.active>div:nth-child(3) {
    top: 5px;
    transform: rotate(30deg);
  }
  
  .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 20px 8px;
    display: flex;
    flex-direction: column;
  }
  .sp-menu__container {
        max-width: 315px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
  .sp__menu.active {
    transform: translateY(0%);
    visibility: visible;
    pointer-events: auto;
  }
  .sp-menu__items {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
  }
  .sp-menu__item {
      display: flex;
    align-items: center;
        padding-bottom: 20px;
    column-gap: 10px;
    border-bottom: 1.5px solid #2A60B6;
  }
  .header-item__icon {
        width: 10px;
    height: 10px;
  }
  .header-item__text {
    font-size: 16px;
  }
  .sp-menu__item:hover .header-item__text {
    text-shadow:
    0.02em 0 currentColor,
    -0.02em 0 currentColor;
    color: #2A60B6;
  }
  .header__bottom {
    margin-top: 42px;
  }
  .sp-menu__contact {
        max-width: 255px;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
    padding: 20px;
  }
  .header__phone {
        max-width: 255px;
    margin-left: auto;
    margin-right: auto;
    padding: 14px;
    font-size: 26px;
  }
  .header__phone strong {
        font-size: 14px;
    margin-right: 7px;
  }
}