@charset "utf-8";

.footer__top {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2px;
}
.c2680.ff-m,
.c4783.ff-bebas {
  text-align: center !important;
}
.footer__top-icon {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  transform: translateX(-117px);
}
.footer__top-item {
  padding: 60px 20px 56px;
  background: #F87654;
  border-radius: 20px;
  text-align: center !important;
}
@media screen and (min-width: 1320px) {
  .footer__top {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1500px;
    margin-inline: auto;
  }
  .c2680.ff-m,
  .c4783 ff-bebas {
    text-align: left !important;
  }
  .footer__top-icon {
    justify-content: start;
    transform: translateX(0);
  }
  .footer__top-item {
  border-radius: 0 20px 20px 0;
}
  .footer__top-item:nth-of-type(3) {
  border-radius: 20px 0 0 20px;
}
}

.footer__top-item {
  padding: 60px 20px 56px;
  background: #F87654;
  text-align: center !important;
}
@media screen and (min-width: 1024px) {
  .footer__top-item {
        padding: 51px 64px 56px 71px;
  }
}
.footer__top-item:nth-of-type(2) {
  background: #00BA01;
  border-radius: 20px;
}
.footer__top-item:nth-of-type(3) {
  background: #12A590;
}


.footer__top-icon::before {
  content: "";
  background: url('../images/footer-tel.svg') center / contain no-repeat;
  width: 34px;
  height: 34px;
}
.footer__top-item:nth-of-type(2) .footer__top-icon::before {
  background: url('../images/footer-line.svg') center / contain no-repeat;
}
.footer__top-item:nth-of-type(3) .footer__top-icon::before {
  background: url('../images/footer-mail.svg') center / contain no-repeat;
}

.footer__top-btn {
  display: block;
  width: 313px;
  background: #fff;
  padding: 15px 20px 16px;
  position: relative;
  margin: 41px auto 0;
  border-radius: 33px;
}
.footer__top-btn:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 27px;
  background: url('../images/20250830180336944918.svg') center / contain no-repeat;
  width: 16px;
  height: 15px;
}
.footer__top-btn:hover {
  opacity: 0.8;
}
.footer__top-item:nth-of-type(3) .footer__top-btn:after {
  background: url('../images/20250830180546714332.svg') center / contain no-repeat;
}
.footer__top-item:nth-of-type(3) .c6640{
  color: #14A491;
}

.footer__bottom {
  padding: 127px 20px 55px;
  display: flex;
  gap: 40px;
  flex-direction: column-reverse;
  background: #F7F7F7;
}
@media screen and (min-width: 768px) {
  .footer__bottom {
    padding: 127px 40px 55px;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
  }
}
@media screen and (min-width: 1100px) {
  .footer__bottom {
    padding: 127px 148px 55px 133px;
  }
}

.footer__logo {
  aspect-ratio: 144/102;
  width: 130px;
  height: auto;
}
@media screen and (min-width: 1024px) {
  .footer__logo {
   width: 144px;
  }
}
.footer__logo:hover {
  opacity: 0.7;
}

.footer__bottom-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 10px;
  white-space: nowrap;
  max-width: 70%;
}
@media screen and (min-width: 900px) {
  .footer__bottom-links {
    max-width: 550px;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 50px;
  }
}
@media screen and (min-width: 1200px) {
  .footer__bottom-links {
   gap: 22px 90px;
  }
}

.footer__bottom-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 11px;
}
.footer__bottom-link::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #14A491;
  flex-shrink: 0;
}
.footer__bottom-link p {
  width: fit-content;
  color: #333333;
  position: relative;
  display: inline-block;
}
.footer__bottom-link p::after {
  background-color: #333333;
  bottom: 0px;
  content: "";
  height: 1px;
  left: 0;
  opacity: 0;
  position: absolute;
  transition: all .3s;
  width: 100%;
}
.footer__bottom-link p:hover::after {
  bottom: -4px;
  opacity: 1;
}

.footer__under {
  padding: 31px 20px 37px;
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}
@media screen and (min-width: 768px) {
  .footer__under {
  padding: 31px 40px 37px;
  }
}
@media screen and (min-width: 1100px) {
  .footer__under {
  padding: 31px 133px 37px;
  }
}
.footer__under::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #CCCCCC;
  width: calc(1020 / 1100 * 100%);
  height: 1px;
}
@media screen and (min-width: 1100px) {
.footer__under::before {
  width: calc(1100 / 1366 * 100%);
  }
}

.footer__copyright {
        flex-grow: 1;
  font-size: 10px;
  line-height: calc(25 / 10);
  letter-spacing: 0;
  color: #333333;
}

.footer__pagetop {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 13px;
}
.footer__pagetop::after {
  content: "";
  background: url('../images/page-top.svg') center / contain no-repeat;
  width: 50px;
  height: 50px;
}