@charset "utf-8";

/* ======================
footer
====================== */
.footer {
  padding-bottom: clamp(1.5rem, -0.167rem + 3.472vw, 4rem);
}
.footer__inner {
  padding-right: clamp(0.5rem, -2.5rem + 6.25vw, 5rem);
  padding-left: clamp(0.5rem, -2.5rem + 6.25vw, 5rem);
}
.footer__container {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, -0.167rem + 3.472vw, 4rem) clamp(1rem, -1.667rem + 5.556vw, 5rem);
  background-color: #114FA1;
  border-radius: clamp(1.5rem, 1.167rem + 0.694vw, 2rem);
}
.footer__content {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
}
.footer__left {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
}
.footer__left > a {
  display: block;
  max-width: 100%;
}
.footer__left > a:hover {
  color: #fff;
}
.footer__logo {
  width: auto;
  height: clamp(2.688rem, 2.062rem + 1.302vw, 3.625rem);
}
.footer__title {
  margin-top: clamp(1.5rem, 0.833rem + 1.389vw, 2.5rem);
  margin-bottom: 48px;
  font-size: clamp(2rem, 1rem + 2.083vw, 3.5rem);
  font-weight: 500;
  line-height: clamp(3rem, 2rem + 2.083vw, 4.5rem);
  color: #fff;
}
.footer__contact {
  display: flex;
  align-items: center;
  column-gap: clamp(1rem, 0.333rem + 1.389vw, 2rem);
}
.footer-contact__left {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  width: clamp(5.812rem, 5.021rem + 1.649vw, 7rem);
  height: clamp(5.812rem, 5.021rem + 1.649vw, 7rem);
  background-color: #fff;
  border-radius: 16px;
}
.footer-contact__left::before,
.footer-contact__left::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://sit-10288022.sibloo.com/system_panel/uploads/images/20261119111400564350.png") center / clamp(2.594rem, 2.24rem + 0.737vw, 3.125rem) auto no-repeat;
  transition: transform 0.6s cubic-bezier(0.17, 0.84, 0.44, 1);
}
.footer-contact__left::before {
  transform: translateX(0);
}
.footer-contact__left::after {
  transform: translateX(-100%);
}
.footer__left > a:hover .footer-contact__left::before {
  transform: translateX(100%);
}
.footer__left > a:hover .footer-contact__left::after {
  transform: translateX(0);
}
.footer-contact__icon {
  width: 50%;
  height: auto;
  opacity: 0;
  pointer-events: none;
}
.footer-contact__right {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.footer-contact__title {
  position: relative;
  display: block;
  overflow: hidden;
  height: clamp(1.812rem, 1.562rem + 0.521vw, 2.188rem);
  margin-bottom: clamp(0.5rem, 0.167rem + 0.694vw, 1rem);
  font-size: clamp(1.25rem, 1.083rem + 0.347vw, 1.5rem);
  font-weight: 700;
  line-height: clamp(1.812rem, 1.562rem + 0.521vw, 2.188rem);
  color: transparent;
  white-space: nowrap;
}
.footer-contact__title::before,
.footer-contact__title::after {
  content: "お問い合わせフォーム";
  position: absolute;
  left: 0;
  color: #fff;
  transition: transform 0.6s cubic-bezier(0.17, 0.84, 0.44, 1);
}
.footer-contact__title::before {
  top: 0;
}
.footer-contact__title::after {
  top: 100%;
}
.footer__left > a:hover .footer-contact__title::before,
.footer__left > a:hover .footer-contact__title::after {
  transform: translateY(-100%);
}
.footer-contact__text {
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1rem);
  font-weight: 400;
  line-height: clamp(1.125rem, 0.875rem + 0.521vw, 1.5rem);
  color: #fff;
}
.footer__right {
  position: absolute;
  top: 85px;
  right: 0;
  z-index: 0;
  width: clamp(5.75rem, -4.417rem + 21.181vw, 21rem);
  pointer-events: none;
}
.footer__deco {
  width: 100%;
  height: auto;
}
.footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  column-gap: 40px;
  padding-top: 24px;
  border-top: 1px solid #fff;
}
.footer__box {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  min-width: 0;
}
.footer__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 24px;
  row-gap: 12px;
}
.footer__items > a {
  display: block;
}
.footer__items > a:hover {
  color: #fff;
}
.footer__item {
  font-size: clamp(0.875rem, 0.833rem + 0.087vw, 0.938rem);
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  white-space: nowrap;
}
.footer-bottom__right {
  flex-shrink: 0;
}
.footer__copyright {
  font-size: clamp(0.75rem, 0.667rem + 0.174vw, 0.875rem);
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .footer {
    padding-bottom: 24px;
  }
  .footer__inner {
    padding-right: 8px;
    padding-left: 8px;
  }
  .footer__container {
    padding: 24px 16px;
    border-radius: 24px;
  }
  .footer__content {
    margin-bottom: 24px;
    padding-bottom: 152px;
  }
  .footer__left {
    max-width: none;
    width: 100%;
  }
  .footer__title {
    margin-top: 24px;
    margin-bottom: 56px;
    font-size: 32px;
    line-height: 48px;
  }
  .footer__contact {
    column-gap: 16px;
    align-items: flex-start;
  }
  .footer-contact__left {
    width: 93px;
    height: 93px;
  }
  .footer-contact__title {
    height: 29px;
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 29px;
  }
  .footer-contact__text {
    font-size: 12px;
    line-height: 18px;
  }
  .footer-contact__text br {
    display: none;
  }
  .footer__right {
    top: auto;
    right: 0;
    bottom: 0;
    width: 92px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 56px;
    column-gap: 0;
  }
  .footer__box {
    row-gap: 12px;
    width: 100%;
  }
  .footer__item {
    font-size: 14px;
    line-height: 20px;
  }
  .footer__copyright {
    font-size: 12px;
  }
}

@media (max-width: 389px) {
  .footer-contact__title {
    font-size: 16px;
  }
  .footer-contact__text {
    font-size: 14px;
  }
  .footer__title {
    font-size: 26px;
  }
}