/* Start */
.lawSVisit_header_wrap {
  width: 100% !important;
  margin-top: 72px !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: flex-end !important;
  gap: 42px !important;
}
.img_div {
  width: 42% !important;
  height: 15vw !important;
  border-radius: 20px !important;
  overflow: hidden !important;
}
.img_div img {
  width: 100% !important;
}
.lawSVisit_header_wrap .contents {
  width: 58% !important;
  padding-bottom: 16px !important;
}
.lawSVisit_header_wrap .contents p {
  line-height: 1.7 !important;
  font-size: 18px !important;
  font-weight: 500 !important;
}
.lawSVisit_header_wrap .contents p:nth-of-type(1) {
  padding-bottom: 32px !important;
}

.lastSVisit_list_wrap {
  margin-top: 140px !important;
}
.lastSVisit_list_wrap h1 {
  text-align: center !important;
  font-size: 52px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}
.lastSVisit_list_div {
  width: 100% !important;
  margin-top: 52px !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  gap: 24px !important;
  flex-wrap: wrap !important;
}
/* box */
.lastSVisit_list {
  width: 32% !important;
  border-radius: 20px !important;
  border: solid 1px var(--color-e8) !important;
  background-color: white !important;
  transition: .3s !important;
  padding: 52px 42px !important;
  cursor: pointer !important;
}
.lastSVisit_list:hover {
  background-color: var(--color-sub) !important;
}
.lastSVisit_list > h3 {
  font-size: 32px !important;
  font-weight: 700 !important;
  padding-bottom: 42px !important;
}

/*  li */
.lastSVisit_list .liDot {
  color: var(--color-111) !important;
}
.lastSVisit_list .liDot > li {
  display: flex !important;
  font-weight: 400 !important;
  word-break: keep-all !important;
}
.lastSVisit_list .liDot > li:not(:first-child) {
  margin-top: 8px !important;
}
.lastSVisit_list .liDot > li::before {
  content: "" !important;
  display: block !important;
  width: 4px !important;
  height: 4px !important;
  border-radius: 90px !important;
  background-color: var(--color-111) !important;
  margin-top: 2.7% !important;
  margin-left: 6px !important;
  margin-right: 12px !important;
}

/* 태블릿 크기 (769px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .lawSVisit_header_wrap {
    margin-top: 50px !important;
    gap: 30px !important;
  }
  
  .img_div {
    width: 45% !important;
    height: 18vw !important;
  }
  
  .lawSVisit_header_wrap .contents {
    width: 55% !important;
  }
  
  .lawSVisit_header_wrap .contents p {
    font-size: 16px !important;
  }
  
  .lastSVisit_list_wrap {
    margin-top: 100px !important;
  }
  
  .lastSVisit_list_wrap h1 {
    font-size: 42px !important;
  }
  
  .lastSVisit_list {
    width: 48% !important;
    padding: 40px 30px !important;
  }
  
  .lastSVisit_list > h3 {
    font-size: 28px !important;
    padding-bottom: 30px !important;
  }
}

/* 모바일 크기 (768px 이하) */
@media screen and (max-width: 768px) {
  .lawSVisit_header_wrap {
    flex-direction: column !important;
    align-items: center !important;
    margin-top: 40px !important;
    gap: 30px !important;
  }
  
  .img_div {
    width: 100% !important;
    height: 40vw !important;
    max-height: 300px !important;
  }
  
  .lawSVisit_header_wrap .contents {
    width: 100% !important;
    padding-bottom: 0 !important;
    text-align: center !important;
  }
  
  .lawSVisit_header_wrap .contents p {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  
  .lawSVisit_header_wrap .contents p:nth-of-type(1) {
    padding-bottom: 20px !important;
  }
  
  .lastSVisit_list_wrap {
    margin-top: 80px !important;
  }
  
  .lastSVisit_list_wrap h1 {
    font-size: 36px !important;
  }
  
  .lastSVisit_list_div {
    margin-top: 40px !important;
    gap: 20px !important;
  }
  
  .lastSVisit_list {
    width: 100% !important;
    padding: 40px 30px !important;
  }
  
  .lastSVisit_list > h3 {
    font-size: 24px !important;
    padding-bottom: 30px !important;
  }
  
  .lastSVisit_list .liDot > li {
    font-size: 14px !important;
  }
}

/* 작은 모바일 크기 (375px 이하) */
@media screen and (max-width: 375px) {
  .lawSVisit_header_wrap {
    margin-top: 30px !important;
    gap: 20px !important;
  }
  
  .img_div {
    height: 45vw !important;
    border-radius: 15px !important;
  }
  
  .lawSVisit_header_wrap .contents p {
    font-size: 14px !important;
  }
  
  .lawSVisit_header_wrap .contents p:nth-of-type(1) {
    padding-bottom: 16px !important;
  }
  
  .lastSVisit_list_wrap {
    margin-top: 60px !important;
  }
  
  .lastSVisit_list_wrap h1 {
    font-size: 28px !important;
  }
  
  .lastSVisit_list_div {
    margin-top: 30px !important;
    gap: 16px !important;
  }
  
  .lastSVisit_list {
    padding: 30px 20px !important;
    border-radius: 15px !important;
  }
  
  .lastSVisit_list > h3 {
    font-size: 20px !important;
    padding-bottom: 24px !important;
  }
  
  .lastSVisit_list .liDot > li {
    font-size: 13px !important;
  }
  
  .lastSVisit_list .liDot > li:not(:first-child) {
    margin-top: 6px !important;
  }
  
  .lastSVisit_list .liDot > li::before {
    width: 3px !important;
    height: 3px !important;
    margin-top: 3% !important;
    margin-left: 4px !important;
    margin-right: 10px !important;
  }
}