@charset "utf-8";

.footer{
  padding: 120px 0 3rem;
  background:#fff;
  position:relative;
}

.footer .container{
  max-width:1030px;
}

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

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

.footer-wrap{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom:3rem;
  border-bottom:0.8px solid #D3D3D3;
  margin-bottom:3rem;
}

.footer-right{
  display: flex;
  gap:5rem;
  padding-top:2rem;
}

.footer-item > p,
.footer-item a{
  line-height:1;
  font-weight:bold;
  display:block;
}

.footer-item a:hover{
  color: #2D96D9;
}

.footer-item > p{
  margin-bottom:1.5rem;
  font-family: "BIZ UDGothic", sans-serif;
}

.footer-item:last-child{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-item a.footer-sub{
  font-weight:400;
  font-size:14px;
  margin-top:12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-item a.footer-sub::before{
  content:"";
  width:8px;
  height:1px;
  background:#212B27;
  display:block;
  transition:0.3s;
}

.footer-item a.footer-sub:hover::before{
  background:#2D96D9;
}

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

.footer-map{
  width:calc(100% - 320px - 3rem);
}

.footer-map iframe{
  border:none;
  width:100%;
  height:240px;
}

.footer-bottom-right{
  width:320px;
}

.footer-bottom-title{
  display: flex;
  align-items:center;
  gap:8px;
  margin-bottom:1rem;
  color:#2D96D9;
  font-weight:bold;
}

.footer-bottom-title img{
  width:1rem;
}

.footer-bottom-title + p{
  font-size:14px;
  margin-bottom:1rem;
}

.footer-tel,
.footer-tel a{
  color:#2D96D9;
  font-weight:500;
}

.footer-tel strong{
  font-size:1.5rem;
}

.copyright{
  text-align:center;
  font-size:12px;
  background:#2D96D9;
  padding:8px;
  color:#fff;
}

.copyright p{
  line-height:1;
}

.back-top{
  position:absolute;
  text-align:center;
  width:3.5rem;
  right:7.5%;
  bottom:3rem;
  z-index:999;
}

.back-top img{
  margin-bottom:8px;
}

.footer-bottom-right .out-tab img{
  width:6px;
}

@media (max-width: 1024px) {
  .footer {
    padding: 5rem 0;
  }
  .footer-right {
    gap: 2rem;
  }
  .footer-logo {
    width: 250px;
    margin-bottom: 1.5rem;
  }
  .header-right{
    display:none;
  }
}

@media (max-width: 767px) {
  .footer{
    padding: 3.5rem 0 2rem;
  }
  .footer .container{
    width:85%;
  }
  .footer-right {
    width: 100%;
    gap: 5%;
    justify-content: space-between;
    padding: 0;
  }
  .footer-item{
    width:47.5%;
  }
  .footer-wrap {
    gap: 2.5rem;
    flex-direction: column;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }
  .footer-logo {
    margin-bottom: 0rem;
  }
  .footer-ul{
    flex-direction: column;
    gap:2rem;
  }
  .footer-bottom{
    gap: 20px;
    flex-direction: column;
  }
  .footer-map,
  .footer-bottom-right{
    width:100%;
  }
  .back-top{
    bottom:auto;
    top:1.5rem;
    width:2.5rem;
    right:5%;
  }
  .footer-item a.footer-sub {
    font-size: 12px;
    margin-top: 20px;
  }
  .footer-item:last-child{
    gap:2rem;
  }
  .footer-map iframe{
    height:150px;
  }
  .footer-bottom-title{
    margin-bottom: 8px;
  }
  .footer-bottom-title + p{
    font-size: 12px;
    margin-bottom: 0.5rem;
  }
  .footer-bottom-right .out-tab{
    width:100%;
  }
  .copyright{
    padding: 6px;
    font-size: 10px;
  }
}
