@charset "utf-8";

.footer-top {
  font-weight:bold;
}

.footer-top > p{
  color: #243374;
  border-top: 2px solid;
  border-bottom: 2px solid;
  text-align: center;
  padding: 2px 0;
  font-size:clamp(0.875rem, 0.648rem + 0.76vw, 1.5rem);
}

.footer-btn{
  background:#243374;
  display: flex;
  justify-content: center;
  padding: 2rem 0;
  gap: 5rem;
  align-items: center;
}

.footer-btn a{
  color:#fff;
  display:flex;
  align-items: center;
  gap: 1rem;
  font-size:clamp(1.25rem, 0.977rem + 0.91vw, 2rem);
}

.footer-btn a:nth-child(2){
  position:relative;
}

.footer-btn a:nth-child(2)::before{
  position:absolute;
  content:"";
  width:1px;
  height:120%;
  background:#fff;
  left:-2.5rem;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.footer-btn a:nth-child(2)::after{
  position:absolute;
  content:"";
  width:1px;
  height:120%;
  background:#fff;
  right:-2.5rem;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}


.footer-btn a.footer-tel div p:last-child{
  font-size:clamp(0.75rem, 0.659rem + 0.3vw, 1rem);
  text-align:right;
}


.footer-btn img{
  width:3rem;
}

.footer{
  padding: 3rem 5% 2.5rem;
  color: #243374;
}

.footer a{
  color: #243374;
}

a:has(.footer-logo){
  width:fit-content;
  margin-bottom:12px;
}

.footer-logo{
  width:310px;
}

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

.footer-left{
  width:310px;
}

.footer-right{
  width:calc(100% - 380px);
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 2rem 4rem;
  padding-top: 1rem;
}

.footer-right div a:first-child{
  font-size:clamp(0.875rem, 0.784rem + 0.3vw, 1.125rem);
  font-weight:bold;
  position:relative;
  padding-left:1.5rem;
}

.footer-right div a:first-child::before{
  content:"";
  position:absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width:8px;
  height:30px;
  background: #243374;
}

.footer-right div a:nth-child(n + 2){
  margin: 1rem 0 0 2rem;
  font-size:14px;
}

.footer-address{
  margin-top:2.5rem;
}

.footer-address p:nth-child(odd){
  font-weight:bold;
  margin-bottom:8px;
}

.footer-address p:nth-child(2){
  margin-bottom:1.5rem;
}

.copy-right{
  text-align:right;
}

@media screen and (max-width: 1279px) {
  .footer-btn img {
    width: 2rem;
  }
}

@media screen and (max-width: 1024px) {
  .footer-wrap {
    flex-direction: column;
    gap: 2rem;
    margin-bottom:3rem;
  }
  .footer-right{
    width:100%;
  }
  .footer-btn a{
    gap:0.5rem;
  }
  .footer-btn{
    gap:2.5rem;
  }
  .footer-btn a:nth-child(2)::before{
    left:-1rem;
  }
  .footer-btn a:nth-child(2)::after{
    right:-1rem;
  }
  .footer-right {
    width:100%;
    gap: 2rem 5%;
    justify-content: flex-start;
  }
  .footer-right > div{
    width: 21%;
  }
}

@media (max-width: 767px) {
  .footer{
    padding:2rem 5% 2.5rem;
  }
  .footer-logo{
    width:250px;
  }
  .footer-btn {
    gap: 4px;
    flex-direction: column;
    background: transparent;
    padding: 0;
  }
  .footer-btn a{
    width: 100%;
    justify-content: center;
    background: #243374;
    height: 50px;
  }
  .footer-btn a:nth-child(2)::before,
  .footer-btn a:nth-child(2)::after{
    display:none;
  }
  .footer-tel div{
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .footer-wrap {
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 4rem;
  }
  .footer-left {
    width: fit-content;
  }
  .footer-address {
    margin-top: 1.5rem;
  }
  .footer-right {
    justify-content: flex-start;
    gap: 20px 0;
  }
  .footer-right > div{
    width:50%;
  }
  .footer-right div a:first-child::before{
    width: 7px;
    height: 20px;
  }
  .copy-right {
    text-align: center;
  }
  .footer-top > p{
    font-size:13px;
  }
}
