@charset "UTF-8";

@charset "UTF-8";
.header {
  background-color: #ffffff;
  color: #393939;
  left: 0;
  padding-bottom: 3px;
  padding-top: 3px;
  position: fixed;
  top: 0;
  width: 100%;
  width: 100%;
  z-index: 999;
}

.header__contents {
  display: flex;
}

.header-logo {
  padding-left: 10px;
  padding-top: 10px;
}

.header-logo__link {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.header-logo__img {
  overflow: hidden;
}
.header-logo__img > img {
  -o-object-fit: contain;
     object-fit: contain;
}
.header-logo__img:nth-of-type(1) {
  aspect-ratio: 211/58;
  width: 120px;
}
.header-logo__img:nth-of-type(2) {
  aspect-ratio: 185/45;
  width: 110px;
}

.header-link {
  align-items: flex-end;
  display: none;
  flex-direction: column;
  gap: 19px;
  margin-left: auto;
  padding-top: 13px;
}

.header-link-head {
  align-items: center;
  display: flex;
  gap: 13px;
  padding-right: 22px;
}

.header-link-head__list {
  align-items: center;
  display: flex;
}

.header-link-head__arrow {
  gap: 13px;
}
.header-link-head__arrow .header-link-head__item-link {
  align-items: center;
  display: inline-flex;
  gap: 4px;
}
.header-link-head__arrow .header-link-head__item-link::before {
  background-color: #1a9f6a;
  border-radius: 3px;
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
  content: "";
  height: 9px;
  width: 8px;
}
.header-link-head__arrow .header-link-head__item-link p {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.65px;
  line-height: 1.46;
}

.header-link-head__sns {
  gap: 6px;
}
.header-link-head__sns .header-link-head__item {
  aspect-ratio: 1/1;
  height: 26px;
  width: 26px;
}
.header-link-head__sns .header-link-head__item-link img {
  -o-object-fit: contain;
     object-fit: contain;
}

.header-link-body {
  align-items: center;
  display: flex;
  padding-right: calc(25 / 1366 * 100vw);
}

.header-link-body__list {
  align-items: center;
  -moz-column-gap: calc(20 / 1366 * 100vw);
       column-gap: calc(20 / 1366 * 100vw);
  display: flex;
}
.header-link-body__list .header-link-body__item {
  cursor: pointer;
  position: relative;
  text-decoration: none;
}
.header-link-body__list .header-link-body__item::before {
  background-color: #ede99c;
  bottom: -5px;
  content: "";
  height: 2px; /* 下線の太さを調整 */
  left: 50%;
  opacity: 0;
  position: absolute;
  transform: translateY(-6px) translateX(-50%);
  transition: transform 0.3s ease, opacity 0.3s ease; /* アニメーションの遷移を設定 */
  width: 50px;
}
.header-link-body__list .header-link-body__item:hover a {
  opacity: 1;
}
.header-link-body__list .header-link-body__item:hover::before {
  opacity: 1;
  transform: translateY(0px) translateX(-50%);
}
.header-link-body__list .header-link-body__link {
  align-items: center;
  display: flex;
  gap: 3px;
}

.header-link-body__icon {
  align-items: center;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  max-width: 13px;
  width: calc(13 / 1366 * 100vw);
}
.header-link-body__icon img {
  -o-object-fit: contain;
     object-fit: contain;
}

.header-link-body__text {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.8px;
  line-height: 1.5;
}

.header-recruit {
  background-color: #ede99c;
  border-radius: 10px;
  flex-shrink: 0;
  margin-left: auto;
  overflow: hidden;
  position: relative;
  width: 75px;
}

.header-recruit__link {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
}

.header-recruit__bg {
  display: none;
}
.header-recruit__bg img {
  aspect-ratio: 1/1;
}

.header-recruit__contents {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.header-recruit__icon {
  aspect-ratio: 1/1;
  width: 25px;
}
.header-recruit__icon img {
  -o-object-fit: contain;
     object-fit: contain;
}

.header-recruit__text {
  align-items: center;
  display: flex;
  flex-direction: column;
}
.header-recruit__text p {
  flex-shrink: 0;
}
.header-recruit__text p:nth-of-type(1) {
  font-size: 14px;
  font-weight: 500;
}
.header-recruit__text p:nth-of-type(2) {
  color: #1a9f6a;
  font-family: "Lato", sans-serif;
  font-size: 10px;
}

.header-btn {
  align-items: center;
  background: #ede99c;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: auto;
  justify-content: center;
  margin-left: 4px;
  transition: opacity 0.3s ease;
  width: 70px;
}
.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: #1a9f6a;
  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 - 75px);
  min-width: 275px;
  overflow: auto;
  padding-inline: 40px;
  padding-top: 3vh;
  position: fixed;
  right: 0;
  top: 75px;
  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: 3px solid #ede99c;
  font-size: 15px;
  font-weight: 500;
  padding-block: 12px;
  text-align: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .header {
    background-color: transparent;
    padding: 0;
  }
  .header-logo {
    background-color: #fff;
    border-radius: 10px;
    margin: 20px 9px 1px 27px;
    padding: 10px;
  }
  .header-logo__link {
    gap: 10px;
  }
  .header-logo__img:nth-of-type(1) {
    width: 211px;
  }
  .header-logo__img:nth-of-type(2) {
    width: 187px;
  }
  .header-link {
    display: flex;
    height: -moz-fit-content;
    height: fit-content;
    padding-bottom: 13px;
    padding-right: calc(170 / 1366 * 100vw);
    width: 100%;
  }
  .header-recruit {
    background-color: transparent;
    border-radius: 0;
    max-width: 183px;
    position: absolute;
    right: -11px;
    top: 0;
    width: calc(183 / 1366 * 100vw);
  }
  .header-recruit > a:hover {
    opacity: 1;
  }
  .header-recruit > a:hover .header-recruit__contents {
    opacity: 0.7;
  }
  .header-recruit__bg {
    display: block;
    width: 100%;
  }
  .header-recruit__contents {
    gap: 4px;
    position: absolute;
    right: 31%;
    top: 16%;
    transition: opacity 0.3s ease;
    width: auto;
  }
  .header-recruit__icon {
    max-width: 61px;
    width: calc(61 / 1366 * 100vw);
  }
  .header-recruit__text p:nth-of-type(1) {
    font-size: 16px;
    letter-spacing: 0.8px;
    line-height: 1.5;
  }
  .header-recruit__text p:nth-of-type(2) {
    letter-spacing: 2.1px;
  }
  .header-btn {
    display: none;
  }
  .header-drawer {
    display: none;
    width: 30%;
  }
}

@media (min-width: 1366px) {
  .header-link {
    padding-right: 170px;
  }
  .header-link-body__list {
    -moz-column-gap: calc(31 / 1366 * 100vw);
         column-gap: calc(31 / 1366 * 100vw);
  }
}