@charset "utf-8";

.footer{
  margin-top:180px;
  padding: 3rem 10% 1rem 5%;
  background:#E6E6E6;
  border-radius:60px 60px 0 0;
  overflow:hidden;
  position:relative;
  z-index:1;
}

.footer::before{
  content:"";
  position:absolute;
  right:0;
  top:0;
  width:72%;
  background:#3BA066;
  height:100%;
  z-index:-1;
}

.footer-logo{
  width:192px;
  margin-bottom:2.5rem;
}

.footer-logo + p{
  margin-bottom:1rem;
}

.footer-logo:hover{
  opacity:0.7;
}

.footer-wrap{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom:1.5rem;
}

.footer-right{
  padding-top:3.5rem;
  width:65%;
  max-width:1040px;
}

.footer-ul{
  display: flex;
  justify-content: space-between;
  border-bottom:1px solid #FFFFFF;
  padding-bottom:4rem;
  margin-bottom:4rem;
}

.footer-ul a{
  color:#fff;
  display:flex;
  align-items:center;
  gap:10px;
}

.footer-ul a::before{
  content:"";
  display:block;
  width:12px;
  height:12px;
  background:#C7E2C2;
  border-radius:999vh;
}

.footer-right-bottom{
  padding:0 24px;
}

.footer-right-bottom > p{
  color:#fff;
}

.footer-item{
  margin-bottom:14px;
}

.footer-item > p:first-child{
  color:#fff;
  margin-bottom:14px;
  position:relative;
}

.footer-item > p:first-child::before{
  content:"";
  position:absolute;
  width:11px;
  aspect-ratio:1/1;
  background:#007934;
  border-radius:999vh;
  left:-24px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.back-top{
  position:absolute;
  text-align:center;
  aspect-ratio:1/1;
  background:#E6E6E6;
  right:3%;
  bottom:2rem;
  z-index: 999;
  border-radius: 999vh;
  width: 7%;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: clamp(1.125rem, 1rem + 0.42vw, 1.5rem);
  padding-bottom: 0.5rem;
  max-width:130px;
  min-width: 100px;
}

.back-top img{
  width:13px;
  transition: 0.3s;
}

.back-top:hover img{
  transform:translateY(-20%);
}

.footer-item {
  word-break: break-all;
}

@media (max-width: 1400px) {
  .footer-ul{
    flex-wrap: wrap;
    gap: 2rem 3rem;
    justify-content: flex-start;
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
  }
  .footer::before{
    width:70%;
  }
}

@media (max-width: 1279px) {
  .footer{
    padding: 3rem 8% 1rem 3%;
  }
  .footer-left{
    font-size: 14px;
  }
  .footer-logo {
    width: 160px;
    margin-bottom: 1.5rem;
  }
  .footer-right {
    padding-top: 1.5rem;
  }
}


@media (max-width: 1024px) {
  .footer {
    padding:2.5rem 0 0.5rem;
  }
  .footer-wrap{
    flex-direction: column;
    gap: 2rem;
  }
  .footer-left{
    padding: 0 5%;
  }
  .footer::before{
    width:100%;
    height:10rem;
    top:auto;
    bottom:0;
  }
  .footer-right {
    width: 100%;
    background: #3BA066;
    padding: 3rem 5% 5rem;
  }
  .copyright{
    text-align: center;
    font-size: 14px;
  }
  .back-top{
    background: #3BA066;
    bottom: auto;
    top: 2rem;
    padding: 0;
    gap: 8px;
    min-width: auto;
    width: 90px;
  }
  .footer-logo + p {
    margin-bottom: 0.5rem;
  }
  .footer-ul{
    gap: 2rem 1rem;
  }
  .footer-ul a{
    gap: 8px;
  }
  .footer-ul a::before{
    width:10px;
    height:10px;
  }
  .footer-item > p:first-child::before{
    width:10px;
    left:-20px;
  }
  .footer-right-bottom {
    padding: 0 20px;
  }
}

@media (max-width: 767px) {
  .footer {
    padding: 2rem 0 0.5rem;
    border-radius: 30px 30px 0 0;
    margin-top: 5rem;
  }
  .footer-left{
    font-size: 12px;
  }
  .footer-wrap{
    padding:0;
  }
  .footer-logo {
    width:120px;
    margin-bottom:16px;
  }
  .footer-ul{
    gap:20px 5%;
  }
  .footer-ul a{
    width:47.5%;
  }
  .back-top{
    min-width: auto;
    width: 64px;
    font-size: 14px;
    gap: 6px;
  }
  .back-top img {
    width: 10px;
  }
  .copyright{
    font-size: 10px;
  }
  .footer-item > p:first-child{
    margin-bottom: 6px;
  }
  .footer-right-bottom > p{
    font-size: 12px;
  }
  .footer-right-bottom {
    padding: 0 0 0 14px;
  }
}
