@charset "utf-8";

*{box-sizing: border-box;}
.mb-0{margin-bottom: 0 !important;}
.pb-0{padding-bottom: 0 !important;}

/* 법무법인 해일 소개 */

.about-tit{
  width: 100%;
  margin: 0 auto;
  color: #000;
  position: relative;
  z-index: 2;
  text-align: center;
}
.about-tit > h3{
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
}
.about-tit > h5{
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 50px;
  line-height: 1.4;
}
.about-tit > p{
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}
.about-line{
  width: 1px;
  height: 200px;
  margin: 70px auto 0;
  position: relative;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.15);
}
.about-line::after{
  content: "";
  width: 1px;
  height: 100%;
  background-color: #000;
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  animation: aline 5s infinite;
}
@keyframes aline{
  0%{
    top: -100%;
  }
  100%{
    top: 100%;
  }
}

.about-cont{
  width: 100%;
  padding: 70px 0 0;
  margin: 0 auto;
}
.about-wrap{
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 70px;
}
.about-wrap.rv{
  flex-direction: row-reverse;
}
.about-img{
  width: 55%;
  display: flex;
}
.about-img img{
  width: 100%;
}
.about-caption{
  width: 45%;
  text-align: center;
  color: #000;
}
.about-caption > h5{
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  position: relative;
}
.about-caption > h5::after{
  content: "";
  width: 100px;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}
.about-caption > p{
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

/* 변호사소개 */
.ly-bg{
  width: 100%;
  margin-bottom: 150px;
}
.ly-bg.first{
  padding-top: 30px;
}
.ly-bg.last{
  margin-bottom: 30px;
}
.ly-con{
  width: 100%;
  position: relative;
  z-index: 2;
}
.ly-tit{
  width: 100%;
  display: flex;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 40px;
  color: #000;
  align-items: center;
}
.ly-tit::after{
  content: "";
  width: 50%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  left: 0;
  bottom: 0;
}
.ly-tit > p{
  font-size: 22px;
  font-weight: 300;
  margin-right: 1rem;
}
.ly-tit > h3{
  font-size: 38px;
  font-weight: 700;
}
.ly-wrap{
  width: 100%;
  display: flex;
}
.ly-caption{
  width: 35%;
}
.ly-cont{
  width: 100%;
  color: #000;
  margin-bottom: 40px;
}
.ly-cont > h5{
  font-size: 20px;
  font-weight: 700;
  display: inline-block;
  position: relative;
  margin-bottom: 20px;
}
.ly-cont > h5::after{
  content: "";
  width: 6px;
  height: 6px;
  background-color: #d8151b;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: -10px;
}
.ly-cont > ul{
  margin-bottom: 20px;
}
.ly-cont > ul:last-child{
  margin-bottom: 0;
}
.ly-cont > ul > li{
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 3px;
}
.ly-cont > ul > li:last-child{
  margin-bottom: 0;
}
.ly-img{
  width: 65%;
  display: flex;
  align-items: flex-start;
}
.ly-img img{
  width: 100%;
}

/* media-query */

@media(min-width:1200px){
  .d-lg-block{display: block;}
  .d-lg-none{display: none;}

  .ly-bg{
    background-attachment: fixed;
  }

  .ani.up.delay{
      transition: 1s opacity 0.2s, 1s transform 0.2s;
  }
  .ani.up.delay2{
      transition: 1s opacity 0.5s, 1s transform 0.5s;
  }
  .ani.up.delay3{
      transition: 1s opacity 0.8s, 1s transform 0.8s;
  }
}

@media(max-width:1199px){
  .d-block{display: block;}
  .d-none{display: none;}

  .about-tit > h3{
    font-size: 32px;
    margin-bottom: 1rem;
    font-weight: 700;
  }
  .about-tit > h5{
    font-size: 16px;
    margin-bottom: 2rem;
  }
  .about-tit > p{
    font-size: 13px;
  }

  .about-cont{
    padding: 50px 0 0;
  }
  .about-wrap{
    flex-direction: column;
    margin-bottom: 50px;
  }
  .about-wrap.rv{
    flex-direction: column;
  }
  .about-img{
    width: 100%;
    margin-bottom: 1.5rem;
  }
  .about-caption{
    width: 100%;
  }
  .about-caption > h5{
    font-size: 20px;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
  .about-caption > h5::after{
    width: 50px;
  }
  .about-caption > p{
    font-size: 13px;
  }
  .about-line{
    height: 100px;
    margin: 50px auto 0;
  }

  .ly-bg{
    margin-bottom: 100px;
  }
  .ly-bg.first{
    padding-top: 20px;
  }
  .ly-bg.last{
    margin-bottom: 20px;
  }
  .ly-tit{
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 1rem;
  }
  .ly-tit::after{
    width: 100%;
  }
  .ly-tit > p{
    font-size: 16px;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .ly-tit > h3{
    font-size: 24px;
  }
  .ly-wrap{
    flex-direction: column-reverse;
  }
  .ly-img{
    width: 100%;
    margin-bottom: 2rem;
  }
  .ly-caption{
    width: 100%;
  }
  .ly-cont{
    margin-bottom: 1.5rem;
  }
  .ly-cont > h5{
    font-size: 18px;
    margin-bottom: 1rem;
  }
  .ly-cont > h5::after{
    width: 5px;
    height: 5px;
  }
  .ly-cont > ul{
    margin-bottom: 1rem;
  }
  .ly-cont > ul > li{
    font-size: 13px;
    line-height: 1.3;
  }
  
}
@media(max-width:600px){
  
}

/* animation */

.ani.up{
    transform: translateY(100px);
    opacity: 0;
    transition: 1s;
}

.ani.up.act{
    transform: translateY(0);
    opacity: 1;
}