@charset "utf-8";

.footer{
  background-color: #D0C3B9;
  padding: 5rem 0 1rem;
}

.footer-top{
  display:flex;
  max-width:1260px;
  margin:0 auto 5rem;
  justify-content: space-between;
  width: 85%;
}

.footer-top-item{
  width:30%;
}

.footer-top-item:nth-child(n + 2){
  position:relative;
}

.footer-top-item:nth-child(n + 2)::before{
  content:"";
  position:absolute;
  width:1px;
  height:100%;
  background:#F8F4EE;
  left:-10%;
  top:0;
}

.footer-top-item div{
  display:flex;
  gap:8px;
  font-size:clamp(1rem, 0.818rem + 0.61vw, 1.5rem);
  justify-content: center;
  margin-bottom: 8px;
  font-weight: 500;
}

.footer-top-item .btn{
  width: 290px;
  justify-content: center;
  font-size:clamp(1.25rem, 1.159rem + 0.3vw, 1.5rem);
}

.footer-top-item div img{
  width:2.5rem;
  height: 2.5rem;
}

.footer-top-item a:not(.btn){
  font-size:clamp(1.5rem, 0.955rem + 1.82vw, 3rem);
  color:#fff;
  display: block;
  margin: 0 auto;
  width: fit-content;
}

.footer .logo{
  width:300px;
  margin-bottom: 2rem;
}

.footer-line{
  width:95%;
  margin:0 auto;
  border-top:1px solid #F8F4EE;
}

.footer-wrap{
  display: flex;
  padding:4rem 0 2rem;
  width:90%;
  max-width:1350px;
  margin:0 auto;
  justify-content: space-between;
}

.footer-left{
  width:300px;
}

.footer-right{
  width:450px;
  display: flex;
  flex-wrap:wrap;
  gap:2rem 1rem;
}

.footer-right a{
  width:calc((100% - 1rem)/2);
}

.footer-right a:hover{
  color:#F7F4EE;
}

.copyright{
  width:fit-content;
  margin:0 auto;
  font-size:12px;
}

.copyright a{
  width:2rem;
  margin:0 auto 0.5rem;
  display:block;
}

.footer-list{
  display:flex;
  align-items:center;
  gap:1rem;
  font-size:14px;
  margin: 1rem 0;
}

.footer-list p:first-child{
  width:5rem;
  text-align:center;
  padding:4px;
  border-radius:4px;
  background:#EAE3DD;
}

@media (max-width: 1024px) {
  .footer-wrap{
    width:95%;
  }
  .footer-right {
    width: 370px;
  }
  .footer-top-item:first-child::before{
    right:0;
  }
  .footer-top-item div img {
    width: 2rem;
  }
  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .footer-top-item {
    width: 100%;
  }
  .footer-top-item:nth-child(n + 2)::before{
    display:none;
  }
}

@media (max-width: 767px) {
  .footer-top-item .btn {
    width: 250px;
  }
  .footer{
    padding: 5rem 0 20px;
  }
  .footer-wrap {
    margin: 1rem 0 3rem;
    flex-direction: column-reverse;
    gap: 5rem;
    align-items: center;
  }
  .footer-right {
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  .footer-top-item:first-child::before{
    display:none;
  }
  .footer-top-item div img {
    width: 1.5rem;
    height: 1.5rem;
  }
}
