@charset "utf-8";
/* ======================
header
====================== */
#root {
  position: relative;
  padding-top: 101px;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}
.header__inner {
  padding: 37px clamp(1rem, -2.333rem + 6.944vw, 6rem) 0;
}
.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 16px;
  background-color: rgba(255, 255, 255, 0);
  border-radius: 8px;
  box-shadow: 0 3px 16px rgba(17, 79, 161, 0.08);
  -webkit-backdrop-filter: blur(16px) brightness(1.16);
  backdrop-filter: blur(16px) brightness(1.16);
}
.header__container > a {
  display: block;
  flex-shrink: 0;
}
.header__logo {
  width: auto;
  height: clamp(1.938rem, 1.354rem + 1.22vw, 2.813rem);
}
.header__right {
  display: flex;
  align-items: center;
  height: 100%;
  column-gap: clamp(0.5rem, -0.167rem + 1.389vw, 1.5rem);
}
.header__items {
  display: flex;
  align-items: center;
  height: 100%;
}
.header__items > a,
.header__toggle {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}
.header__items > * + *::before {
  content: "";
  align-self: center;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-right: clamp(0.5rem, -0.167rem + 1.389vw, 1.5rem);
  margin-left: clamp(0.5rem, -0.167rem + 1.389vw, 1.5rem);
  background-color: #0087CD;
  border-radius: 50%;
}
.header__item,
.header-toggle__text {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
  font-size: clamp(0.875rem, 0.792rem + 0.17vw, 1rem);
  font-weight: 400;
  line-height: 1.5;
  color: #0F1419;
  white-space: nowrap;
}
.header-toggle__text {
  cursor: pointer;
}
.header__items > a:hover {
  color: #0F1419;
}
.header__item::after,
.header-toggle__text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: #0087CD;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
  pointer-events: none;
}
.header__items > a:hover .header__item::after,
.header__toggle:hover .header-toggle__text::after {
  transform: scaleX(1);
}
.header__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: calc(6px + 2 * clamp(0.5rem, -0.167rem + 1.389vw, 1.5rem));
  z-index: 5;
  width: 240px;
  padding: 24px;
  background-color: #fff;
  border: 1px solid #707070;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.header__dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 12px;
}
.header__toggle:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.header__dropdown a {
  display: block;
}
.header__dropdown a + a {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #E6E6E6;
}
.header-dropdown__text {
  display: flex;
  align-items: center;
  column-gap: 16px;
  font-size: clamp(0.875rem, 0.792rem + 0.17vw, 1rem);
  font-weight: 400;
  line-height: 1.5;
  color: #0F1419;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.header-dropdown__text::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-top: 2px solid #0087CD;
  border-right: 2px solid #0087CD;
  transform: rotate(45deg);
}
.header__dropdown a:hover .header-dropdown__text {
  font-weight: 500;
  color: #114FA1;
}
.header__right > a {
  display: flex;
  flex-shrink: 0;
}
.header__right > a:hover {
  color: #fff;
}
.header__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: clamp(8.75rem, 7.583rem + 2.43vw, 10.5rem);
  height: 44px;
  padding: 0 16px 0 16px;
  background-color: #D0EBFF;
  border-radius: 4px;
  font-size: clamp(0.875rem, 0.792rem + 0.17vw, 1rem);
  font-weight: 500;
  line-height: 1.5;
  color: #114FA1;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.header__contact::after {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Crect width='16' height='16' rx='2' fill='%23fff'/%3E%3Crect x='5' y='5' width='6' height='6' rx='2' fill='%230087CD'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.header__right > a:hover .header__contact {
  background-color: #114FA1;
  color: #fff;
}
.hamBtn,
.sp__menu {
  display: none;
}
@media (max-width: 767px) {
  #root {
    padding-top: 57px;
  }
  .header__inner {
    padding: 8px 8px 0;
  }
  .header__container {
    height: 49px;
  }
  .header__right {
    display: none;
  }
  .hamBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 12px;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 30;
    width: 108px;
    height: 33px;
    background: linear-gradient(180deg, #0387CD 0%, #114FA1 100%);
    border-radius: 4px;
    cursor: pointer;
  }
  .hamBtn__text,
  .hamBtn__text--close {
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
  }
  .hamBtn__text--close {
    display: none;
  }
  .hamBtn.active .hamBtn__text {
    display: none;
  }
  .hamBtn.active .hamBtn__text--close {
    display: block;
  }
  .hamBar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 12px;
  }
  .hamBar div {
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .hamBtn.active .hamBar div:nth-child(1) {
    transform: translateY(5px) rotate(28deg);
  }
  .hamBtn.active .hamBar div:nth-child(2) {
    opacity: 0;
  }
  .hamBtn.active .hamBar div:nth-child(3) {
    transform: translateY(-5px) rotate(-28deg);
  }
  .sp__menu {
    display: block;
    position: fixed;
    top: 66px;
    right: 8px;
    left: 8px;
    z-index: 25;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .sp__menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .sp__menu.is-closing {
    visibility: visible;
  }
  .sp-menu__container {
    padding: 48px 24px;
    background: linear-gradient(180deg, #0387CD 0%, #114FA1 100%);
    border-radius: 16px;
  }
  .sp-menu__container > a {
    display: block;
  }
  .sp-menu__container > a + a,
  .sp-menu__container > a + .sp-menu__box,
  .sp-menu__container > .sp-menu__box + a {
    margin-top: 16px;
  }
  .sp__menu a:hover {
    color: #fff;
    opacity: 0.7;
  }
  .sp-menu__item,
  .sp-menu-box__main {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
  }
  .sp-menu__item {
    padding-bottom: 8px;
    border-bottom: 0.5px solid #fff;
  }
  .sp-menu__box {
    padding-bottom: 16px;
    border-bottom: 0.5px solid #fff;
  }
  .sp-menu__contents {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    column-gap: 12px;
    row-gap: 8px;
    margin-top: 16px;
    max-width: 500px;
  }
  .sp-menu__content {
    display: flex;
    align-items: center;
    column-gap: 8px;
  }
  .sp-menu-content__icon {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid #D0EBFF;
    border-right: 1.5px solid #D0EBFF;
    transform: rotate(45deg);
  }
  .sp-menu-box__sub {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #fff;
    white-space: nowrap;
  }
}

@media (max-width: 389px) {
  .sp-menu-box__sub {
    font-size: 12px;
  }
}
