@charset "utf-8";

.footer {
  position: relative;
  z-index: 10;
}

.footer__top-wrap {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  column-gap: 20px;
  max-width: 500px;
  margin-inline: auto;
}
@media screen and (min-width: 900px) {
  .footer__top-wrap {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 41px;
    max-width: 937px;
    margin-inline: auto;
  }
}

.footer__top-item{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 30px 20px;
  transition: background 0.3s;
}
@media screen and (min-width: 1100px) {
  .footer__top-item{
    padding: 26px 31px 40px 32px;
  }
}
.footer__top-item img {
  aspect-ratio: 1 / 1;
  max-width: 70px;
}
@media screen and (min-width: 1100px) {
  .footer__top-item img {
    aspect-ratio: 1 / 1;
    max-width: 108px;
  }
}

.footer__top-item + .footer__top-item{
  margin-top: 40px;
}
@media screen and (min-width: 900px) {
  .footer__top-item + .footer__top-item{
    margin-top: 0;
  }
}
.footer__top-item:hover {
  background-color: #a9995b !important;
}
.footer__top-item02:hover {
  background-color: #8b8463 !important;
}

.footer__bottom {
  margin-top: 82px;
  padding-block: 51px 98px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
@media screen and (min-width: 768px) {
  .footer__bottom {
    padding-block: 54px 96px;
  }
}
.footer__bottom::before {
  content: "";
  position: absolute;
  background: rgba(254, 249, 242, 0.26);
  width: 100vw;
  height: 1px;
  top: 0;
  right: calc(50% - 50vw);
}

.footer__bottom-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 45px;
}
@media screen and (min-width: 768px) {
  .footer__bottom-links {
    gap: 30px;
  }
}

.footer__bottom-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
}
.footer__bottom-link p {
  width: fit-content;
  color: #FDF9F2;
  position: relative;
  display: inline-block;
}
.footer__bottom-link p::after {
  background-color: #FDF9F2;
  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-bottom__add {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
}
@media screen and (min-width: 768px) {
  .footer-bottom__add {
    flex-direction: row;
    align-items: center;
    gap: 44px;
  }
}

.footer__bottom-logo {
  aspect-ratio: 138 / 126;
  max-width: 138px;
  height: auto;
}
.footer__bottom-logo:hover {
  opacity: 0.9;
}

.footer__copyright {
  padding: 18px 0 24px;
  font-size: 11px;
  line-height: calc(23 / 11);
  letter-spacing: 0.05em;
  color: #FFFFFF;
  text-align: center;
  position: relative;
}
.footer__copyright::before {
  content: "";
  position: absolute;
  background: rgba(254, 249, 242, 0.26);
  width: 100vw;
  height: 1px;
  top: 0;
  right: calc(50% - 50vw);
}