@charset "utf-8";
.footer {
      background-color: #FFFAE6;
    padding: 40px 0;
}
.footer__inner {
  padding: 0 clamp(1.25rem, -1.917rem + 6.6vw, 6rem);
}
.footer__top {
      display: flex;
        justify-content: space-between;
    column-gap: 20px;
}
.footer__logo {
  width: 235px;
}
.footer-left__text {
      margin-top: clamp(2.5rem, 2.167rem + 0.69vw, 3rem);
    font-size: 16px;
    font-weight: 500;
}
.footer__phone {
      margin-top: 24px;
    display: flex;
    align-items: center;
    column-gap: 16px;
}
.footer-phone__icon {
  width: 40px;
}
.footer-phone__number {
      font-size: 25px;
    font-weight: 700;
}

.footer__items {
      display: flex;
    column-gap: clamp(0.625rem, -1.958rem + 5.38vw, 4.5rem);
}
.footer__item {
  position: relative;
}
.footer-item__main {
      font-size: clamp(1rem, 0.917rem + 0.17vw, 1.125rem);
    font-weight: 700;
}
.footer-sub__box {
      position: absolute;
    width: 300px;
    top: clamp(2.5rem, 1.667rem + 1.74vw, 3.75rem);
    display: flex;
    flex-direction: column;
    row-gap: 24px;
}
.footer-item__sub {
      font-size: clamp(1rem, 0.917rem + 0.17vw, 1.125rem);
    font-weight: 500;
}
.footer__line {
      border-left: 1px solid #861A2A;
    height: 24px;
}

.footer__copyright {
      margin-top: 196px;
    text-align: center;
    font-weight: 500;
}

@media screen and (max-width: 1000px) {
    .footer__top02 {
        flex-direction: column;
        row-gap: 80px;
  }
}
@media (max-width: 767px) {
  .footer__inner {
    padding: 0 clamp(2.5rem, -7.328rem + 40.32vw, 12rem);
  }
  .footer__top {
        flex-direction: column;
    row-gap: 80px;
  }
  .footer__left {
        display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer__items {
        flex-direction: column;
    row-gap: 40px;
  }
  .footer-item__main {
    font-size: 18px;
  }
  .footer-sub__box {
        position: unset;
    margin-top: 40px;
  }
  .footer__line {
    border-top: 1px solid #861A2A;
    width: 24px;
    border-left: none;
    height: 0;
  }
  .footer__copyright {
    margin-top: 80px;
  }
}