@charset "utf-8";

/* ======================
footer
====================== */
.footer {
  background-color: #446974;
}
.footer__container {
  display: flex;
  flex-direction: column;
}
.footer__container > a:first-child {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  border-bottom: 1px solid #fff;
}
.pg-top__btn {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pg-top-btn__text {
  font-family: "Elms Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
}
.pg-top-btn__icon {
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(-45deg);
  margin-top: 4px;
}
.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: clamp(2rem, 0.333rem + 3.472vw, 4.5rem);
  row-gap: 40px;
  padding-top: clamp(2rem, 1.625rem + 0.781vw, 2.5625rem);
  padding-right: clamp(1.25rem, -1.896rem + 6.554vw, 5.969rem);
  padding-bottom: 0;
  padding-left: clamp(1.25rem, -1.896rem + 6.554vw, 5.969rem);
}
.footer__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  white-space: nowrap;
}
.footer__left > a {
  display: block;
  width: fit-content;
}
.footer__logo {
  width: clamp(17.1875rem, 13.812rem + 7.031vw, 22.25rem);
  height: auto;
}
.footer__access {
  margin-top: 20px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1rem);
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
}
.footer__access + a {
  display: block;
  width: fit-content;
  margin-top: 20px;
}
.footer__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 40px;
  border: 1px solid #fff;
  border-radius: 4px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  background-color: transparent;
  transition: all 0.3s;
}
.footer__contact:hover {
  background-color: #fff;
  color: #446974;
}
.footer__right {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  column-gap: clamp(1.5rem, -0.167rem + 3.472vw, 4rem);
  row-gap: 24px;
  margin-top: clamp(1.5rem, 0.25rem + 2.604vw, 3.375rem);
}
.footer__items {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(1.5rem, -0.167rem + 3.472vw, 4rem);
}
.footer__items > a {
  color: #fff;
}
.footer__item {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1rem, 0.917rem + 0.174vw, 1.125rem);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.footer__copyright {
  margin-top: 8px;
  padding-right: clamp(1.25rem, -1.896rem + 6.554vw, 5.969rem);
  padding-bottom: clamp(2.5rem, 2rem + 1.042vw, 3.25rem);
  padding-left: clamp(1.25rem, -1.896rem + 6.554vw, 5.969rem);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: right;
  color: #fff;
}

.sns__content {
      margin-top: 16px;
    display: flex;
    align-items: center;
    column-gap: 16px;
}
.insta__icon,
.threads__icon {
      height: 32px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 767px) {
  .footer__content {
    flex-direction: column;
    align-items: center;
    row-gap: 32px;
    padding-top: 40px;
    padding-right: 39px;
    padding-left: 39px;
  }
  .footer__left {
    align-items: center;
  }
  .footer__logo {
    width: 275px;
  }
  .footer__access {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
  }
  .footer__access + a {
    width: 100%;
  }
  .footer__contact {
    width: 100%;
    max-width: 297px;
    margin-inline: auto;
  }
  .footer__right {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    row-gap: 24px;
    margin-top: 0;
  }
  .footer__items {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 24px;
  }
  .footer__item {
    font-size: 16px;
  }
  .footer__copyright {
    margin-top: 64px;
    padding-right: 39px;
    padding-bottom: 40px;
    padding-left: 39px;
    text-align: center;
  }
}

@media (max-width: 374px) {
  .footer__content {
    padding-right: 20px;
    padding-left: 20px;
  }
  .footer__contact {
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer__copyright {
    padding-right: 20px;
    padding-left: 20px;
  }
}
