.sec-main-top-v1{
  padding-bottom: 11.2rem;
  border-bottom: 1px solid #E6E7EB;
  position: relative;
  overflow: hidden;
}
.sec-main-top.bg-gray{
  margin-bottom: 0;
  padding: 12rem 0;
}
.sec-main-top-v1:after{
  position: absolute;
  content: "";
  left: 0;
  bottom: 12.9rem;
  width: 22.8rem;
  height: 35.8rem;
  background: url(../images/bg-pattern-sm-left.png);
  background-size: cover;
  background-position: center;
}
.sec-main-top-v1:has(.main-top-img-list):after{
  bottom: 22rem;
}
.main-top{
  display: flex;
  align-items: center;
}
.main-top.flex-row-reverse{
  flex-direction: row-reverse;
}
.main-top-text{
  flex-grow: 1;
  padding-right: 7rem;
  position: relative;
  z-index: 1;
}
.flex-row-reverse .main-top-text{
  padding-right: 0 !important;
  padding-left: 7rem;
}
.main-top-text h1,
.main-top-text h2,
.main-top-text h3,
.main-top-text h4{
  font-size: 4rem;
  line-height: 5rem;
  margin: 0 0 2.8rem;
}
.main-top-img {
  flex-shrink: 0;
  width: 54.6rem;
}
.main-top-img img{
  width: 100%;
  height: auto;
  border-radius: 1rem;
}
.main-top-img-list{
  margin-top: 7.2rem;
  display: flex;
  flex-wrap: wrap;
}
.main-top-img-item{
  border: 1px solid #E6E7EB;
  border-radius: 1rem;
  overflow: hidden;
}
.main-top-img-list-three .main-top-img-item{
  width: calc((100% / 3) - 1.1rem);
  margin-left: 1.6rem;
}
.main-top-img-list-three .main-top-img-item:nth-child(3n + 1){
  margin-left: 0;
}
.main-top-img-list-three .main-top-img-item:nth-child(n + 4){
  margin-top: 1.6rem;
}
.main-top-img-item img{
  width: 100%;
  object-fit: cover;
}
.main-top-img-list-three .main-top-img-item img{
  height: 27.7rem;
}
@media(min-width:1460px) and (max-width:1559.98px){
  .sec-main-top-v1:after {
    bottom: 19.9rem;
    width: 11.8rem;
    height: 18.6rem;
  }
  .sec-main-top-v1:has(.main-top-img-list):after {
    bottom: 34rem;
  }
}
@media(min-width:1360px) and (max-width:1459.98px){
  .sec-main-top-v1 {
    padding-bottom: 9.6rem;
  }
  .sec-main-top.bg-gray {
    padding: 11.2rem 0;
  }
  .sec-main-top-v1:after {
    bottom: 16.9rem;
    width: 11.8rem;
    height: 18.6rem;
  }
  .sec-main-top-v1:has(.main-top-img-list):after {
    bottom: 28rem;
  }
  .main-top-text br{
    display: none;
  }
  .main-top-img-list {
    margin-top: 6.4rem;
  }
  .main-top-img-list-three .main-top-img-item img {
    height: 24.8rem;
  }
}
@media(min-width:1200px) and (max-width:1359.98px){
  .sec-main-top-v1 {
    padding-bottom: 9.6rem;
  }
  .sec-main-top.bg-gray {
    padding: 10.8rem 0;
  }
  .sec-main-top-v1:after {
    bottom: 14.9rem;
    width: 11.8rem;
    height: 18.6rem;
  }
  .sec-main-top-v1:has(.main-top-img-list):after {
    bottom: 25rem;
  }
  .main-top-text {
    padding-right: 4rem;
  }
  .flex-row-reverse .main-top-text {
    padding-left: 4rem;
  }
  .main-top-text br{
    display: none;
  }
  .main-top-text h1, 
  .main-top-text h2, 
  .main-top-text h3, 
  .main-top-text h4 {
    font-size: 3.7rem;
    line-height: 4.2rem;
    margin: 0 0 2rem;
  }
  .main-top-img {
    width: 51.6rem;
  }
  .main-top-img-list {
    margin-top: 6rem;
  }
  .main-top-img-list-three .main-top-img-item img {
    height: 21.3rem;
  }
}
@media(min-width:992px) and (max-width:1199.98px){
  .sec-main-top-v1 {
    padding-bottom: 8rem;
  }
  .sec-main-top.bg-gray {
    padding: 10rem 0;
  }
  .sec-main-top-v1:after {
    bottom: 9.9rem;
    width: 10.8rem;
    height: 17rem;
  }
  .sec-main-top-v1:has(.main-top-img-list):after {
    bottom: 20rem;
  }
  .main-top-img {
    width: 39.6rem;
  }
  .main-top-text {
    padding-right: 3rem;
  }
  .flex-row-reverse .main-top-text {
    padding-left: 3rem;
  }
  .main-top-text br{
    display: none;
  }
  .main-top-text h1, 
  .main-top-text h2, 
  .main-top-text h3, 
  .main-top-text h4 {
    font-size: 3.5rem;
    line-height: 4.5rem;
    margin: 0 0 2rem;
  }
  .main-top-img-list {
    margin-top: 5.6rem;
  }
  .main-top-img-list-three .main-top-img-item img {
    height: 17.8rem;
  }
}
@media(min-width:768px) and (max-width:991.98px){
  .sec-main-top-v1 {
    padding-bottom: 7rem;
  }
  .sec-main-top.bg-gray {
    padding: 7.8rem 0;
  }
  .sec-main-top-v1:after{
    content: none;
  }
  .main-top {
    display: block;
  }
  .main-top-text {
    padding-right: 0;
  }
  .flex-row-reverse .main-top-text {
    padding-left: 0;
  }
  .main-top-text br{
    display: none;
  }
  .main-top-text h1, 
  .main-top-text h2, 
  .main-top-text h3, 
  .main-top-text h4 {
    font-size: 3rem;
    line-height: 3.5rem;
    margin: 0 0 2rem;
  }
  .main-top-img {
    width: 100%;
    margin-top: 3.2rem;
  }
  .main-top-img-list {
    margin-top: 4rem;
  }
  .main-top-img-list-three .main-top-img-item img {
    height: 14.3rem;
  }
}
@media(max-width:767.98px){
  .sec-main-top-v1 {
    padding-bottom: 6.4rem;
  }
  .sec-main-top.bg-gray {
    padding: 6.4rem 0;
  }
  .sec-main-top-v1:after{
    content: none;
  }
  .main-top {
    display: block;
  }
  .main-top-text {
    padding-right: 0;
  }
  .flex-row-reverse .main-top-text {
    padding-left: 0;
  }
  .main-top-text br{
    display: none;
  }
  .main-top-text h1, 
  .main-top-text h2, 
  .main-top-text h3, 
  .main-top-text h4 {
    font-size: 2.6rem;
    line-height: 3.1rem;
    margin: 0 0 1.6rem;
  }
  .main-top-img {
    width: 100%;
    margin-top: 2.4rem;
  }
  .main-top-img-list {
    margin-top: 3.2rem;
  }
  .main-top-img-list-three .main-top-img-item {
    width: 100%;
    margin-left: 0;
  }
  .main-top-img-list-three .main-top-img-item:nth-child(n + 2){
    margin-top: 1.6rem;
  }
  .main-top-img-list-three .main-top-img-item img {
    height: 33rem;
  }
}
@media(max-width:575.98px){
  .main-top-img-list-three .main-top-img-item img {
    height: 59.5vw;
  }
}