@charset "UTF-8";
.header {
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.header__contents {
  align-items: center;
  background-color: #ffffff;
  display: flex;
  height: 65px;
}

.header__logo {
  align-items: center;
  color: #ffffff;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  margin-left: calc(10 / 375 * 100vw);
  margin-right: auto;
}
.header__logo > a {
  background-color: #163b85;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 55px;
  justify-content: center;
  padding-inline: 15px;
}
.header__logo p:nth-of-type(1) {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.4px;
}
.header__logo p:nth-of-type(2) {
  font-family: "Lato", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.16px;
}

.header__list {
  display: none;
}
.header__list p {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.7px;
  line-height: 1.4285714286;
}

.header__contact {
  aspect-ratio: 1/1;
  background: #163b85;
  border-radius: 10px;
  flex-shrink: 0;
  width: 55px;
}
.header__contact > a {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  justify-content: center;
  width: 100%;
}
.header__contact p {
  color: #ffffff;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.5;
}

.header__contact-img {
  aspect-ratio: 21/16.5;
  width: 21px;
}
.header__contact-img > img {
  -o-object-fit: contain;
     object-fit: contain;
}

.header-btn {
  align-items: center;
  aspect-ratio: 1/1;
  border: 1px solid #163b85;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: auto;
  justify-content: center;
  margin-left: 4px;
  margin-right: calc(10 / 375 * 100vw);
  transition: opacity 0.3s ease;
  width: 55px;
}
.header-btn:hover {
  opacity: 0.7;
}
.header-btn.is-open .header-btn__bar-line:nth-of-type(1) {
  top: 9px;
  transform: rotate(35deg);
}
.header-btn.is-open .header-btn__bar-line:nth-of-type(2) {
  display: none;
}
.header-btn.is-open .header-btn__bar-line:nth-of-type(3) {
  top: 9px;
  transform: rotate(-35deg);
}

.header-btn__bar {
  height: 20px;
  position: relative;
  width: 30px;
}

.header-btn__bar-line {
  background: #163b85;
  height: 1px;
  left: 0;
  position: absolute;
  transition: transform 0.3s ease-in, top 0.3s ease-in;
  width: 30px;
}
.header-btn__bar-line:nth-of-type(1) {
  top: 0;
}
.header-btn__bar-line:nth-of-type(2) {
  top: 10px;
}
.header-btn__bar-line:nth-of-type(3) {
  top: 20px;
}

.header-drawer {
  background-color: #ffffff;
  height: calc(100vh - 65px);
  min-width: 275px;
  overflow: auto;
  padding-top: 7vh;
  position: fixed;
  right: 0;
  top: 65px;
  transform: translateX(100%);
  transition: transform 0.6s ease;
  width: 50%;
  z-index: 98;
}
.header-drawer.is-checked {
  transform: translateX(0);
}
.header-drawer .header-link-head__sns {
  gap: 20px;
  justify-content: center;
  margin-top: 22px;
}

.header-drawer__list {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  max-width: 250px;
  width: 100%;
}
.header-drawer__list a {
  font-size: 15px;
  font-weight: 500;
  padding-block: 15px;
  text-align: center;
}
@media (min-width: 1024px) {
  .header__contents {
    background-color: transparent;
    height: 90px;
  }
  .header__logo {
    margin-bottom: 9px;
    margin-left: calc(20 / 1366 * 100vw);
    margin-top: 14px;
  }
  .header__logo > a {
    height: 67px;
    padding-inline: 23px 22px;
  }
  .header__logo p:nth-of-type(1) {
    font-size: 20px;
  }
  .header__logo p:nth-of-type(2) {
    font-size: 12px;
  }
  .header__list {
    align-items: center;
    display: flex;
    gap: 24.5px;
    height: 100%;
    justify-content: flex-end;
    padding-right: 30px;
    width: 100%;
  }
  .header__contact {
    border-bottom: solid 1px #fff;
    border-left: solid 1px #fff;
    border-radius: 0;
    width: 90px;
  }
  .header__contact p {
    font-size: 10px;
  }
  .header-btn {
    display: none;
  }
  .header-drawer {
    display: none;
    width: 30%;
  }
}