@charset "utf-8";

.footer {
    border-top: 1px solid #C7C7C7;
  z-index: 5;
    position: relative;
      background: #F8F6F4;
}

.footer__top-wrap {
  max-width: 1550px;
  margin-inline: auto;
  background: #F8F6F4;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  position: relative;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: url('../images/bg.png') center / cover no-repeat;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
}
@media screen and (min-width: 900px) {
  .footer__top-wrap{
    grid-template-columns: repeat(2, 1fr);
  }
}
.footer__top-item {
  padding: 106px 20px 110px;
  &:first-of-type {
    border-bottom: 1px solid #218668;
  }
}
@media screen and (min-width: 900px) {
  .footer__top-item {
     &:first-of-type {
       border-bottom: none;
    border-right: 1px solid #218668;
  }
  }
}

.footer__top-btn {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #CCCCCC;
  padding: 23px 33px;
  border-radius: 10px;

  &:hover {
    background: #CCCCCC
  }
}
.footer__top-btn::after {
  content: "";
  position: absolute;
  background: url(../images/icon-footer-top.svg) center / contain no-repeat;
  width: 13px;
  height: 6px;
  right: 33px;
  top: 50%;
  transform: translateY(-50%);
}


.footer__bottom {
  padding: 0 20px;
  background: linear-gradient(90deg, #2d5c45 0%, #52a87e 100%);
  position: relative;
  color: #fff;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: url('../images/bg.png') center / cover no-repeat;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
}
  .footer__copyright {
 margin: 0 0 14px 0 !important;
  }
@media screen and (min-width: 1000px) {
  .footer__bottom {
    padding: 0 0 0 58px;
  }
  .footer__copyright {
 margin: 0 50px 14px 0 !important;
  }
}

.footer__bottom-wrap {
  display: flex;
  align-items: start;
  gap: 40px;
  flex-direction: column;
}
@media screen and (min-width: 1000px) {
  .footer__bottom-wrap {
    display: grid;
    grid-template-columns: 320px 1fr;
  }
}
@media screen and (min-width: 1100px) {
  .footer__bottom-wrap {
    grid-template-columns: 340px 1fr;
    gap: min(calc(83 / 1366 * 100vw), 83px);
  }
}

.c1727 {
  margin-top: 142px;
}
.c3210 {
  flex-grow: 1;
  width: 100%;
}
@media screen and (min-width: 1000px) {
  .c3210 {
    border-left: 1px solid #FFFFFF;
  }
}

.footer__bottom-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  padding: 60px 0 307px;

}
@media screen and (min-width: 768px) {
  .footer__bottom-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 900px) {
  .footer__bottom-list {
    padding: 110px 0 272px;
  }
}


.footer__bottom-link {
  padding: 39px 20px;
  border: 1px solid #FFFFFF;
  text-align: center;
  border-right: none;
  font-size: 12px;
  transition: all 0.3s;

}
@media screen and (min-width: 1000px) {
  .footer__bottom-link {
    white-space: nowrap;
  }
}
@media screen and (min-width: 1300px) {
  .footer__bottom-link {
    padding: 38px; 
  }
}

.footer__bottom-link:nth-of-type(-n+8) {
    border-left: unset;
  }
@media screen and (min-width: 768px) {
  .footer__bottom-link:nth-of-type(-n+8) {
    border-left: 1px solid ;
  }
  .footer__bottom-link:nth-of-type(-n+6) {
    border-bottom: none;
  }
  .footer__bottom-link:nth-of-type(1),
  .footer__bottom-link:nth-of-type(4) {
    border-left: none;
  }
  .footer__bottom-link:nth-of-type(7) {
    border-left: none;
  }
  .footer__bottom-link:last-child {
    grid-column: span 2;
  }
}

.footer__bottom-link:hover{
  background-color: rgba(255, 255, 255, 0.08);
}

.footer__bottom-link-contact {
  position: relative;
  font-size: 14px;
  z-index: 0;

  &::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 40px;
    background: url('../images/20251015164846244394.svg') center / cover no-repeat;
    width: 45px;
    height: 22px;
    pointer-events: none;
  }

  &::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    backdrop-filter: blur(30px);
    --webkit-backdrop-filter: blur(30px);
    background-color: rgba(255, 255, 255, 0.08);
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    z-index: -1;
  }
}

.bg-text__wrap02 {
  position: absolute;
  display: flex;
  gap: 30px;
   width: 100%;
  height: 135px;
  bottom: 86px;
  left: 50%;
    transform: translateX(-50%);
  overflow: hidden;
}

.bg-text02 {
  flex-shrink: 0;
  display: flex;
  gap: 20px;
  animation: infinity-scroll-left 50s infinite linear 0.5s both;
}
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

.c3921 {
  width: 420px;
  height: auto;
}

.footer__bg-img {
  aspect-ratio: 210 / 115;
  border-radius: 5px;
  overflow: hidden;
  object-fit: cover;
  width: 210px;
  height: 115px;
  flex-shrink: 0;
}

