@charset "utf-8";
/* ======================
footer
====================== */
.footer {
  margin-top: calc(210 / 2048 * -100vw);
  padding-top: 32px;
  padding-bottom: clamp(2.5rem, 1.167rem + 2.778vw, 4.5rem);
  background-image: url("https://an-llc.jp/system_panel/uploads/images/footer-bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}
.footer__inner {
  padding-inline: clamp(2.5rem, 0.167rem + 4.86vw, 6rem);
}
.footer__container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1.25rem, -1.583rem + 5.903vw, 5.5rem);
  max-width: 1265px;
  margin-inline: auto;
}
.footer__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  width: 100%;
  max-width: clamp(22.5rem, 7.5rem + 31.25vw, 45rem);
  min-width: 0;
  padding: clamp(1.5rem, 0.833rem + 1.389vw, 2.5rem) clamp(1rem, -3.333rem + 9.028vw, 7.5rem) clamp(1.5rem, 0.5rem + 2.083vw, 3rem);
  background-color: #fff;
  border-radius: clamp(1.25rem, 0.833rem + 0.868vw, 1.875rem);
  box-shadow: 0 8px 24px rgba(34, 34, 34, 0.16);
}
.footer__sub {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1rem, 0.667rem + 0.694vw, 1.5rem);
  font-weight: 600;
  line-height: 1;
  color: #f6a700;
  text-align: center;
}
.footer__main {
  margin-top: clamp(1rem, 0.667rem + 0.694vw, 1.5rem);
  font-size: clamp(1.5rem, 0.833rem + 1.389vw, 2.5rem);
  font-weight: 700;
  line-height: 1.5;
  color: #222;
  text-align: center;
}
.footer__text {
  margin-top: clamp(1rem, 0.167rem + 1.736vw, 2rem);
  font-size: clamp(0.75rem, 0.583rem + 0.347vw, 1rem);
  font-weight: 400;
  line-height: 2;
  color: #1a1a1a;
  text-align: center;
}
.footer__box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: clamp(15rem, 11.667rem + 6.944vw, 20rem);
  max-width: 100%;
  margin-top: clamp(1rem, 0.167rem + 1.736vw, 2rem);
}
.footer-box__text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(1.75rem, 1.25rem + 1.042vw, 2.5rem);
  padding-inline: clamp(1.5rem, 0.833rem + 1.389vw, 2rem);
  background-color: #fffde1;
  border-radius: 25px;
  font-size: clamp(0.813rem, 0.605rem + 0.434vw, 1.125rem);
  font-weight: 700;
  line-height: 1;
  color: #f6a700;
  text-align: center;
}
.footer-box__text::before,
.footer-box__text::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(0.375rem, 0.208rem + 0.347vw, 0.5rem);
  height: clamp(0.375rem, 0.208rem + 0.347vw, 0.5rem);
  background-color: #fee4b8;
  border-radius: 50%;
  transform: translateY(-50%);
}
.footer-box__text::before {
  left: clamp(0.5rem, 0.167rem + 0.694vw, 1rem);
}
.footer-box__text::after {
  right: clamp(0.5rem, 0.167rem + 0.694vw, 1rem);
}
.footer__left > a {
  display: block;
  width: 100%;
  margin-top: clamp(1rem, 0.167rem + 1.736vw, 2rem);
}
.footer__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(3.5rem, 2.5rem + 2.083vw, 5rem);
  background-color: #fd7426;
  border-radius: clamp(0.75rem, 0.417rem + 0.694vw, 1.25rem);
  box-shadow: 0 8px 16px rgba(34, 34, 34, 0.16);
}
.footer-btn__circle {
  position: absolute;
  top: 50%;
  left: clamp(0.5rem, 0.167rem + 0.694vw, 1rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: clamp(2.5rem, 1.833rem + 1.389vw, 3.5rem);
  height: clamp(2.5rem, 1.833rem + 1.389vw, 3.5rem);
  background-color: #fff;
  border-radius: clamp(0.375rem, 0.208rem + 0.347vw, 0.625rem);
  transform: translateY(-50%);
}
.footer-btn__icon {
  position: relative;
  z-index: 1;
  width: clamp(0.75rem, 0.583rem + 0.347vw, 1rem);
  height: auto;
  object-fit: contain;
  transition: transform 0.5s;
}
.footer-btn__circle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(0.75rem, 0.583rem + 0.347vw, 1rem);
  height: auto;
  aspect-ratio: 16 / 14;
  background-image: url("https://an-llc.jp/system_panel/uploads/images/20260823102623872897.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translate(-50%, -50%) translateX(calc(-1 * clamp(2.5rem, 1.833rem + 1.389vw, 3.5rem)));
  transition: transform 0.5s;
}
.footer-btn__text {
  font-size: clamp(1rem, 0.667rem + 0.694vw, 1.5rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.footer__left > a:hover .footer__btn {
  animation: hover-bounce 0.5s ease 1;
}
.footer__left > a:hover .footer-btn__icon {
  transform: translateX(clamp(2.5rem, 1.833rem + 1.389vw, 3.5rem));
}
.footer__left > a:hover .footer-btn__circle::before {
  transform: translate(-50%, -50%) translateX(0);
}
.footer__right {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  width: auto;
  max-width: clamp(21.25rem, 16.375rem + 10.156vw, 28.562rem);
  min-width: 0;
  padding-top: clamp(2rem, 0.125rem + 3.906vw, 4.812rem);
}
.footer__right > a {
  display: block;
  width: fit-content;
  max-width: 100%;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, -0.083rem + 1.736vw, 2rem);
}
.footer-logo__icon {
  flex-shrink: 0;
  width: clamp(3rem, 1.417rem + 3.299vw, 5.375rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.footer-logo__text {
  font-size: clamp(1.125rem, 0.542rem + 1.215vw, 2rem);
  font-weight: 700;
  line-height: 1;
  color: #222;
  white-space: nowrap;
}
.footer__content {
  display: flex;
  justify-content: space-between;
  gap: clamp(0.75rem, -1.917rem + 5.556vw, 5rem);
  margin-top: clamp(1.5rem, 0.167rem + 2.778vw, 3.5rem);
}
.footer__items {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 0.25rem + 1.042vw, 1.5rem);
  min-width: 0;
}
.footer__items a {
  display: block;
}
.footer__item {
  font-size: clamp(1rem, 0.917rem + 0.17vw, 1.125rem);
  font-weight: 700;
  line-height: 1;
  color: #222;
  white-space: nowrap;
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 0.25rem + 1.042vw, 1.5rem);
  margin-top: clamp(1.5rem, 0.167rem + 2.778vw, 3.5rem);
}
.footer__sns {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.333rem + 1.389vw, 2rem);
}
.footer__sns a {
  display: block;
  width: clamp(1.5rem, 1.167rem + 0.694vw, 2rem);
  flex-shrink: 0;
}
.footer__facebook,
.footer__Instagram {
  width: clamp(1.5rem, 1.167rem + 0.694vw, 2rem);
  height: clamp(1.5rem, 1.167rem + 0.694vw, 2rem);
  object-fit: contain;
}
.footer__copyright {
  font-size: clamp(0.625rem, 0.458rem + 0.347vw, 0.875rem);
  font-weight: 400;
  line-height: 1;
  color: #1a1a1a;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .footer {
    padding-top: calc(43px + 210 / 2048 * 100vw);
    padding-bottom: 20px;
  }
  .footer__inner {
    padding-inline: 0;
  }
  .footer__container {
    flex-direction: column;
    align-items: center;
    gap: 80px;
  }
  .footer__left {
    width: 100%;
    max-width: 100%;
    padding: 40px 8px;
    max-width: 500px;
  }
  .footer__main {
    max-width: 240px;
    font-size: 40px;
    line-height: 1.2;
  }
  .footer__text {
    margin-top: 24px;
    line-height: 1.43;
  }
  .footer__box {
    width: 320px;
    max-width: 100%;
    margin-top: 24px;
  }
  .footer-box__text {
    height: 24px;
    font-size: 16px;
  }
  .footer__left > a {
    margin-top: 40px;
    max-width: 360px;
  }
  .footer__btn {
    height: 80px;
        max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-btn__circle {
    left: 16px;
    width: 56px;
    height: 56px;
  }
  .footer-btn__circle::before {
    transform: translate(-50%, -50%) translateX(-56px);
  }
  .footer__left > a:hover .footer-btn__icon {
    transform: translateX(56px);
  }
  .footer-btn__text {
    font-size: 20px;
  }
  .footer__right {
    align-items: center;
    flex: none;
    width: 100%;
    max-width: 100%;
    padding-top: 0;
  }
  .footer__logo {
    gap: 16px;
  }
  .footer-logo__icon {
    width: 54px;
  }
  .footer-logo__text {
    font-size: 24px;
  }
  .footer__content {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-top: 40px;
  }
  .footer__items {
    align-items: center;
    gap: 32px;
  }
  .footer__item {
    font-size: 16px;
    color: #1a1a1a;
    text-align: center;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
  }
  .footer__copyright {
    font-size: 8px;
  }
}

@media (max-width: 374px) {
  .footer-btn__text {
    font-size: 16px;
  }
  .footer-btn__circle {
    width: 40px;
    height: 40px;
  }
  .footer-btn__circle::before {
    transform: translate(-50%, -50%) translateX(-40px);
  }
  .footer__left > a:hover .footer-btn__icon {
    transform: translateX(40px);
  }
  .footer-logo__text {
    font-size: 20px;
  }
  .footer__item {
    white-space: normal;
  }
}
