@charset "utf-8";

.page-top{
  font-size:clamp(1.125rem, 0.989rem + 0.45vw, 1.5rem);
  position: absolute;
  bottom: 5rem;
  right: 5%;
}

.page-top .blue-btn-bg{
  flex-direction: column;
  display: flex;
  gap: 0;
  aspect-ratio: 1 / 1;
  justify-content: center;
  align-items: center;
  padding-bottom: 0.5rem;
}

.page-top img{
  width:20px;
}

.footer{
  padding: 100px 5% 2rem;
  position:relative;
  background:#fff;
}

.footer-wrap{
  display: flex;
  margin:0 auto 100px;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1345px;
}

.footer-left{
  width:25%;
}

.footer-left a{
  width:210px;
}

.footer-left a + p{
  margin:1rem 0 0.5rem;
}

.footer-left p:last-child a{
  margin-left:0.5rem;
  display:inline-block;
}

.footer-right{
  width:70%;
  max-width: 880px;
}

.footer-right .header_menu{
  align-items: flex-start;
  justify-content: space-between;
  font-size:clamp(0.875rem, 0.83rem + 0.15vw, 1rem);
}

.footer-right .header_menu-item > a{
  font-size:clamp(1rem, 0.909rem + 0.3vw, 1.25rem);
}


.footer-right .header_menu-item .sub_menu{
  margin-top:2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.copyright{
  text-align: center;
}

@media (max-width: 1600px) {
  .footer-right .header_menu-item{
    gap: 10px;
  }
  .footer-right .header_menu{
    gap: 2.5rem 10px;
  }
  .footer-right .header_menu-item::before{
    height: 2px;
    width: 26px;
  }
}

@media (max-width: 1279px) {
  .footer-right .header_menu-item .sub_menu{
    margin-top: 1.5rem;
    gap: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .footer-wrap{
    flex-direction: column;
    gap: 3rem;
    margin: 0 auto 5rem;
  }
  .footer-right {
    width: 100%;
  }
  .footer-left {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .footer-left a {
    width: 160px;
  }
  .copyright{
    text-align: center;
  }
  .footer{
    padding: 20px 5%;
  }
  .footer-wrap {
    gap: 2rem;
    margin: 0 auto 4rem;
    flex-direction: column;
    align-items: center;
    width: 90%;
  }
  .footer-left a + p{
    margin: 0rem 0 0.5rem;
  }
  .footer-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .footer-right .header_menu{
    flex-direction: column;
    gap: 3rem;
  }
  .blue-btn-bg{
    padding-left: 20px;
    padding-right: 18px;
  }
  .page-top img {
    width: 16px;
  }
}
