@charset "UTF-8";

.header {
  background-color: #fff;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.header__contents {
  display: grid;
  grid-template-columns: auto 180px;
}

.header-logo {
  align-items: center;
  background-color: #163c72;
  display: flex;
  height: 100%;
  padding-inline: 10px;
  width: 100%;
}

.header-logo__link {
  position: relative;
  z-index: 5;
}
.header-logo__link img {
  aspect-ratio: 167/33;
  height: 33px;
  -o-object-fit: contain;
     object-fit: contain;
  position: relative;
  width: 167px;
  z-index: 2;
}

.header-nuv__item {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.header-nuv__list--menu {
  border-bottom: solid 1px #e2e2e2;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 77px;
}
.header-nuv__list--menu .header-nuv__item {
  background-color: #e5eaf5;
}
.header-nuv__list--menu .header-nuv__item:not(:last-child) {
  border-right: solid 1px #e2e2e2;
}
.header-nuv__list--menu .header-nuv__item p:nth-of-type(1) {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: calc(20 / 14);
}
.header-nuv__list--menu .header-nuv__item p:nth-of-type(2) {
  font-size: 9px;
  letter-spacing: 0.05em;
  line-height: calc(14 / 9);
}

.header-nuv__list--btn {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 60px;
}
.header-nuv__list--btn .header-nuv__item {
  color: #fff;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: calc(17 / 12);
}
.header-nuv__list--btn .header-nuv__item p {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}
.header-nuv__list--btn .header-nuv__item p::after {
  background-image: url(../images/arrow_pink.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: block;
  height: 18px;
  width: 18px;
}
.header-nuv__list--btn .header-nuv__item:nth-of-type(1) {
  background-color: #1d57aa;
}
.header-nuv__list--btn .header-nuv__item:nth-of-type(2) {
  background-color: #163c72;
}

.header-search-vender {
  background-color: #163c72;
  overflow: hidden;
  transition: opacity 0.3s ease;
}
.header-search-vender:hover {
  opacity: 0.7;
}
.header-search-vender .webgene-search-form {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  justify-content: center;
  position: relative;
}
.header-search-vender .webgene-search-form::after {
  background-image: url(../images/arrow_pink.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 18px;
  content: "";
  height: 18px;
  position: absolute;
  width: 18px;
}
.header-search-vender input[type=submit] {
  background-color: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  font-weight: 500;
  height: 100%;
  letter-spacing: 0.06em;
  line-height: calc(17 / 12);
  margin: 0;
  padding: 0 0 23px 0;
  position: relative;
  width: 100%;
  z-index: 5;
}

.header-search {
  grid-column: span 2;
}
.header-search .search-title-wrapper {
  display: none;
}
.header-search .webgene-search-form {
  display: grid;
  grid-template-columns: auto 60px;
  grid-template-rows: 60px;
  overflow: hidden;
}
.header-search .search-area-wrapper,
.header-search .search-contents-wrapper {
  height: 100%;
}
.header-search input[type=text] {
  background-color: #fafafa;
  border: none;
  font-size: 11px;
  font-weight: 500;
  height: 100%;
  letter-spacing: 0.05em;
  line-height: calc(19 / 13);
  padding: 20px 15px;
  width: 100%;
}
.header-search input[type=text]::-moz-placeholder {
  color: #a8a8a8;
}
.header-search input[type=text]::placeholder {
  color: #a8a8a8;
}
.header-search .search-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.46;
}

.header-search__freeword-input {
  position: relative;
}
.header-search__freeword-input::before {
  background-image: url(../images/icon_glass.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 13px;
  left: 50%;
  position: absolute;
  top: 15px;
  transform: translateX(-50%);
  width: 13px;
  z-index: 6;
}
.header-search__freeword-input input[type=submit] {
  align-items: center;
  background-color: #403836;
  border: none;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  cursor: pointer;
  display: inline-flex;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  font-weight: 500;
  gap: 5px;
  height: 100%;
  justify-content: center;
  letter-spacing: 0.06em;
  line-height: calc(20 / 14);
  padding-inline: 0;
  padding-top: 20px;
  position: relative;
  transition: opacity 0.3s ease;
  width: 100%;
  z-index: 5;
}
.header-search__freeword-input input[type=submit]:hover {
  opacity: 0.7;
}

.header-btn {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 100%;
  justify-content: center;
  transition: opacity 0.3s ease;
  width: 100%;
}
.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: #163C72;
  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: #163C72;
  height: calc(100vh - 75px);
  min-width: 275px;
  overflow: auto;
  padding-inline: 40px;
  padding-top: 7vh;
  position: fixed;
  right: 0;
  top: 120px;
  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__item {
  border-bottom: 2px dashed #fff;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding-block: 15px;
  text-align: center;
  width: 100%;
}
.header-drawer__item:hover {
  color: #fff;
}
@media (min-width: 1024px) {
  .header__contents {
    grid-template-columns: 213px auto;
  }
  .header-logo {
    grid-row: span 2;
    justify-content: center;
  }
  .header-nuv {
    display: grid;
    grid-template-columns: auto 154px;
  }
  .header-nuv__list--menu {
    display: grid;
  }
  .header-nuv__list--menu .header-nuv__item p:nth-of-type(1) {
    font-size: 12px;
  }
  .header-nuv__list--btn {
    grid-template-columns: 50% 50%;
    height: auto;
    width: auto;
  }
  .header-search {
    grid-column: auto;
  }
  .header-search .webgene-search-form {
    grid-template-columns: auto 154px;
    grid-template-rows: 75px;
  }
  .header-search input[type=text] {
    font-size: 13px;
    padding: 20px 37px;
  }
  .header-search__freeword-input::before {
    left: 39px;
    top: 50%;
    transform: translateY(-50%);
  }
  .header-search__freeword-input input[type=submit] {
    font-size: 14px;
    padding-inline: 18px 0;
    padding-top: 0;
  }
  .header-btn {
    display: none;
  }
  .header-drawer {
    display: none;
    width: 30%;
  }
}
@media (min-width: 1366px) {
  .header-nuv__list--menu .header-nuv__item p:nth-of-type(1) {
    font-size: 14px;
  }
}