@charset "UTF-8";

/* main */
main{
  width: 100%;
  margin-top: 146px;
}

.main.top_section{
  width: 100%;
}

.main_top_wrap{
  width: 1200px;
  margin: 0 auto;
  font-size: 24px;
  padding-top:  80px;
}

.main_top_con{
  display: flex;
}

/* main_top_left */
.main_top_left>h2{
  font-size: 24px;
  margin-bottom: 16px;
}

form{
  position: relative;
}

form>input{
  width: 511px;
  height: 66px;
  border-radius: 8px;
  padding-left: 20px;
  font-size: 19px;
  border: #2b2b2b solid 1px;
}

form>button{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 1px;
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 6px;
  background: #2b2b2b url(/images/unilaw/img_main/search.png) center/cover;
}

/* main_top_right */
.main_top_right{
  margin-left: auto;
  width: 477px;
  text-align: right;
  margin-top:  47px;
  line-height: 150%;
}

.main_top_right>p>span{
  position: relative;
}

.main_top_right>p>span::after{
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 339px;
  height: 18px;
  background: #ffffc2;
  z-index: -1;
}

.main_visual_section{
  width: 100%;
  margin-top: 64px;
}

.main_visual{
  overflow:visible !important;
  position: relative;
  width: 100%;
  height: 440px;
  background:#FFC79E url(/images/unilaw/img_main/main_background.png) no-repeat center/1920px 440px;
}

@media (min-width: 1920px) {
  .main_visual::after {
    content: "";
    position: absolute;
    top: 0;
    left: calc(50% + 960px);
    right: 0;
    height: 100%;
    background: #FFCFAC;
  }
}

.main_visual_wrap{
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  color: #FF6D12;
  font-size: 20px;
  position: relative;
}

.main_visual_con{
  padding-top: 60px;
}

.main_visual_con>h3{
  font-size: 40px;
  width: 208px;
  line-height: 130%;
  margin-bottom: 10px;
}

.main_visual_con>p{
  line-height: 130%;
  margin-bottom: 83px;
}

.main_visual_con>a{
  display: block;
  width: 237px;
  height: 80px;
  border-radius: 80px;
  line-height: 80px;
  background: #1C1C1C;
  text-align: center;
}

.main_visual_con>a>span{
  background: linear-gradient(90deg, #FF51E8, #FFCC00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 12px;
}

.main_img01{
  width: 360px;
  height: 228px;
  background: url(/images/unilaw/img_main/판사봉_IMG.png) center/cover;
  position: absolute;
  top: -40px;
  right: 0;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.5s forwards;
}

.main_img02{
  width: 196px;
  height: 220px;
  background: url(/images/unilaw/img_main/저울_IMG.png) center/cover;
  position: absolute;
  top: 267px ;
  left: 282px;
  opacity: 0;
  animation: fadeUp 0.7s ease 1s forwards;
}

@keyframes fadeUp{
  0%{
    opacity: 0;
    transform: translateY(30px);
  }
  100%{
    opacity: 1;
    transform: translateY(0);
  }
}

.main_visual_con>a>span::after{
  content: '';
  display: inline-block;
  width: 29px;
  height: 29px;
  background: url(/images/unilaw/img_main/button_icon.png) center/cover;
  vertical-align: -6px;
  margin-left: 3px;
}

/* common_sense_section */
.common_sense_section{
  width: 100%;
  margin-top: 64px;
}

.common_sense_wrap{
  width: 1200px;
  margin: 0 auto;
}
.common_sense_wrap>h2{
  font-size: 32px;
}

.common_sense_wrap>h2::before{
  content: '';
  display: inline-block;
  background: url(/images/unilaw/img_main/font_before.png) center/cover;
  width: 10px;
  height: 10px;
  margin: 0 10px 5px 0;
}

.common_sense{
  margin-top: 50px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 27px 85px;
}

.common_sense>a{
  display: block;
  width: 236px;
  height: 130px;
  border-radius: 18px;
  padding: 1px;
  background: transparent;
  transition: transform 0.3s ease 0s;
}

.common_sense>a:hover{
  background: linear-gradient(90deg, #FE09C5, #ffcc00); /* 원하는 색으로 변경 가능 */
  transform: scale(1.05);
}

.common_sense>a:hover .common_sense_con{
  border: none;
}

.common_sense_con{
  width: 100%;
  height: 100%;
  background: #f9f9f9 url(/images/unilaw/img_main/계약서.png) center/cover;
  border: 1px solid #cfcfcf;
  padding: 45px 62px;
  border-radius: 14px;
  border-radius: 16px;
  background-clip: padding-box;
}


.common_sense>a:nth-of-type(2)>.common_sense_con{
  background-image: url(/images/unilaw/img_main/부동산.png);
}

.common_sense>a:nth-of-type(3)>.common_sense_con{
  background-image: url(/images/unilaw/img_main/투자사기.png);
}

.common_sense>a:nth-of-type(4)>.common_sense_con{
  background-image: url(/images/unilaw/img_main/협박.png);
}

.common_sense>a:nth-of-type(5)>.common_sense_con{
  background-image: url(/images/unilaw/img_main/떼인월급.png);
}

.common_sense>a:nth-of-type(6)>.common_sense_con{
  background-image: url(/images/unilaw/img_main/보이스피싱.png);
}

.common_sense>a:nth-of-type(7)>.common_sense_con{
  background-image: url(/images/unilaw/img_main/대포통장.png);
}

.common_sense>a:nth-of-type(8)>.common_sense_con{
  background-image: url(/images/unilaw/img_main/폭력.png);
}

.common_sense>a:nth-of-type(9)>.common_sense_con{
  background-image: url(/images/unilaw/img_main/위장취업.png);
}

.common_sense>a:nth-of-type(10)>.common_sense_con{
  background-image: url(/images/unilaw/img_main/교통사고.png);
}

.common_sense_con_txt{
  width: 140px;
  position: relative;
}

.common_sense_con_txt::after{
  content: '';
  position: absolute;
  top: -2px;
  right: 0;
  width: 24px;
  height: 24px;
  background: url(/images/unilaw/img_main/chevron-right.png) center/cover;
}

.common_sense_con_txt>h3{
  font-size: 20px;
}

.common_sense_con_txt>p{
  font-size: 14px;
  margin-top: 6px;
}

