/* 반응형 */
@media all and (max-width:1500px) {

}

/* 타블렛 가로 */
@media all and (max-width:1400px) {
  .total-search .insight-list .item a h4 {
    margin-right: 30px;
  }
  
}
@media all and (max-width:1350px) {
  .board.w100 {
    gap: 20px !important;
}
}
@media all and (max-width:1250px) {
  .board.w100 .board-left{
    align-items: flex-end;
    margin-bottom: 20px;
    white-space: nowrap;
    flex-wrap: nowrap !important;
    width: 100%;
    overflow-x: auto !important;
  
  }
}
@media all and (max-width:1350px) {
  .board {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-direction: column-reverse;
    gap: 20px;
    align-items: flex-end;
}
}
@media all and (max-width:1100px) {
  .sc-autoplay .item-list {
    /* height: auto !important;
    flex-direction: column !important; */
  }
}
@media all and (max-width:1340px) {
    .grid-top {
      display: flex;
      gap: 16px;
      align-items: stretch;
      flex-direction: column;
      width: 100% ;
  }
  .grid-top-right,
  .grid-top-left {
    width: 100% !important;
  }
  .grid-btm-top, .grid-btm-btm {
    max-height: 236px;
  }
}

@media all and (max-width:1300px) {
  .color-fill-text,
  .sc-black h2 span{
    line-height: 140% !important;
}

}
@media all and (max-width:1200px) {
    .loca .txt {
      padding-top: 40px;
      justify-content: space-between;
      align-items: flex-start !important;
      flex-direction: column;
      gap: 60px;
  }

.detail-area .top-flex {
  padding: 0 88px 0 88px !important;
}
}

@media all and (max-width:1099px) {
  .case .case-list{
    grid-template-columns: repeat(2,1fr);
  }
  .sub-page  .serv-list.gtc03{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
   }
   .cont .tag {
    display: grid;
    grid-template-columns: repeat(4,1fr) !important;
    gap: 10px;
    margin-bottom: 40px;
  }


}

/* 타블렛 세로 */
@media all and (max-width:1024px) {
  .sc-site .wrap {
    grid-template-columns: repeat(2, 1fr) !important;
  }
      .ripple-item {
        width: 30px;
        height: 30px;
    }
    /* .detail-area {
      margin-top: 0 !important;
    }
    .detail-area .top-flex .col-right {
      margin: 0 auto;
      padding: 0 20px;
    } */
    .flex .col-left .addr span a,
    .flex .col-left .addr span {
      color: #1C1C1E !important;
    }
    .detail-area .col-left {
      padding: 60px 20px 0px 20px !important;
    }
    .busi-view .flex{
      display: inline !important;
    }
    .detail-area .col-left {
      margin-bottom: 40px !important;
    }
    .detail-area {
      margin-bottom: 0 !important;
    }

    .stcky-nav{ 
      display: flex;
      align-items: center;
      margin-bottom: 80px;
      width: 100%;
      max-width: 1440;
      background: #fff;
      z-index: 999;
      transition: top 0.3s ease;
    }
    .stcky-nav a{
      flex: 1;
      color: #666;
      text-align: center;
      font-family: Pretendard;
      font-size: 22px;
      font-style: normal;
      font-weight: 600;
      line-height: 100%; /* 22px */
      letter-spacing: -0.44px;
      padding: 28px 0;
      border-bottom: 1px solid #DDD;
      transition: all 0.3s;
    }
    .stcky-nav a.on{
      border-bottom: 4px solid #0DA049;
      color: #0DA049;
    }
    .flex .stcky-nav{
      display: flex !important;
      position: sticky;
      top: 0;
      height: auto;
      background-color: #fff;
      z-index: 88;
    }
    .loca .txt .wrap span {
      min-width: 65px;
    }
    .loca .txt .wrap {
      display: flex;
      padding-top: 40px;
      flex-direction: column;
      gap: 20px;
  }
    .loca .txt .wrap span:not(:last-child)::after {
      display: none !important; 
    }
    .sc-black .card-wrapper .wrap-top {
      margin-bottom: 0 !important;
    }
    .sc-black .card-wrapper .wrap-left .card:nth-child(3),
    .sc-black .card-wrapper .wrap-left .card:nth-child(1){
        margin-left: auto !important;
        width: fit-content !important;
    }
    .sc-black .card-wrapper .wrap-left .card:nth-child(4),
    .sc-black .card-wrapper .wrap-left .card:nth-child(2){
        margin-right: auto !important;
        width: fit-content !important;
    }

    .detail-area .col-left {
      gap: 60px !important;
    }
    .detail-area .top-flex .col-right img{
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .detail-area .top-flex .col-right {
      display: flex;
    }
    .detail-area .bg {
      bottom: 18px !important;
    }
}

/* 타블렛 가로 미만 ~ 모바일 */
@media all and (max-width:980px) {
  .grid-btm-btm .w33 p {
    margin-top: 0 !important;
  }
  .sc-autoplay .item {
    min-width: 350px !important;
  }

}
@media all and (max-width:880px) {
  .busi .search-wrap {
    height: 52px;
    max-width: unset !important;
    width: 100%;
  }
  .contact-list{
    display: grid;
    grid-template-columns: repeat(2,1fr) !important;
    gap: 16px;
  }
  .busi-view .sec_02 .gtc_03{
    display: grid;
    grid-template-columns: repeat(2,1fr) !important;
    gap: 11px 18px;
  }
  .flex .stcky-nav a {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 76px;
  }

  .busi-view .sec_01,
  .busi-view .sec_02,
  .busi-view .sec_03,
  .busi-view .sec_04,
  .busi-view .sec_05,
  .busi-view .sec_06,
  .busi-view .sec_07,
  .busi-view .sec_08{
    scroll-margin-top: 150px;
  }
  .grid-btm-btm .w33 .tit span:nth-child(1),
  .grid-btm-btm .w66 span:nth-child(1),
  .grid-btm-top .w33 .tit span:nth-child(1),
  .top-01 .zoom,
  .top-02 .tit span:nth-child(1),
  .grid-top-right-bottom p,
  .grid-btm-top .w66 p {
    font-size: 55px !important;
  }
  .board-left {
    display: flex;
    overflow-x: auto !important; 
   width: 100% !important;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .board-right {
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .board-right form,
  .board-right {
    width: 100% !important;
  }
    .busi .search-wrap {
      width:100% !important;
  }
  .board-left a {
    flex: 1;
  }

}


@media all and (max-width:870px) {
  .sc-autoplay .item {
    min-width: unset !important;
    max-width: unset !important;
}
.sc-autoplay .item-list {
  display: flex
;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
}
}
@media all and (max-width:790px) {
  .sc-site .wrap .thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .sc-site .wrap .thumb {
    display: flex;
    justify-content: center;
  }
  .sc-site .wrap {
    flex-direction: column !important;
  }
  .sc-site .wrap p {
    margin: 16px 0 40px !important;
    min-height: unset !important;
  }
  .grid-btm-top, .grid-btm-btm,
  .grid-top-right .grid-top-right-top {
    flex-direction: column ;
  }
  .grid-top-right .grid-top-right-btm > div,
  .grid-top-right .grid-top-right-top > div {
    width: 100% !important;
  }
  .w33,
  .w66 {
    width: 100% !important;
  }
  .grid-btm-top, .grid-btm-btm {
    max-height: none;
  }
  .grid-btm-btm .w33 .tit,
  .top-02 .tit {
    align-items: center !important;
    width: 100% !important;
  }
  .grid-btm-top .w33 .tit {
    justify-content: center;
  }
  .grid-btm-top .w33 p {
  text-align: center;
  }
  .grid-btm-btm .w33 p,
  .top-01 p,
  .top-02 p,
  .grid-top-right-bottom strong,
  .grid-btm-btm .w66 strong,
  .grid-btm-top .w66 strong {
    text-align: center !important;
  }
  .sc-site .wrap strong {
    font-size: 32px !important;
  }
}

@media all and (max-width:768px) {
  .sc-site .wrap {
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .ripple{
    width: 30px !important;
    height: 30px !important;
  }
  .dot {
    width: 8px  !important;
    height: 8px  !important;
  }

  .stcky-nav {
    overflow-x: auto;
    white-space: nowrap;
  }

  .stcky-nav a {
    min-width: 100px;
  }
  .scroll-tab {
    overflow-x: auto;
    white-space: nowrap;
  }

  .scroll-tab a {
    min-width: 130px;
  }
  .insight-list .item a {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 10px;
    }
  .insight-list .item a strong,
  .insight-list .item a h4 {
    margin-right: 0;
  }
  .sc-case .insight-list .item a {
    padding: 33px 50px !important;
  }
  .sc-case .insight-list .item a .datetime {
  margin: 0 !important;
  }
  .total-search .sc-case .insight-list .item a,
  .total-search .sc-case:last-child .insight-list .item a {
    gap: 20px !important;
  }
  .scroll-tab a {
    font-size: 18px !important;
  }
  .total-search h3{
    font-size: 2.2rem !important;
  }
  .grid-btm-btm .w33 .thumb {
    right: 30px !important;
    bottom: 10px !important;
  }
  .txt-right a{
  width: 60px !important;
  height: 60px !important;
  }
  .loca #daumRoughmapContainer1750129179712 {
    height: 360px !important;
  }
  .detail-area .name span:nth-child(1){
  font-size: 2.4rem !important;
  }
  .busi-view .flex .flex-left h3{
    font-size: 1.8rem !important;
  }
  .contact .form__full {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 20px !important;
    flex-direction: column;
  }
  .nn {
    left: 97% !important;
  }

  .form__input select {
    width: 100%;
  }
  .detail-area .col-left {
    padding: 40px 20px 0px 20px !important;
  }
  .insight-list .item a{
    gap: 16px !important;
    padding: 24px 0px !important;
  }
  .view-headline h2 { 
    font-size: 2.0rem !important; 
  }
  .busi-view .tit-wrap {
    padding: 0px 0 36px !important;
  }
  .detail-area .top-flex {
    padding: 0 0px !important;
}
  .detail-area .top-flex {
    flex-direction: column;
}
.detail-area .top-flex .col-right {
  margin: 0 auto;
  padding: 0 20px;
}


.detail-area .col-left {
  gap: 60px !important;
}

.detail-area .top-flex .col-right {
  max-width: 460px !important;
  aspect-ratio: 460 / 413 !important;

  padding-top: 0px !important;
}
.bg-gg {
  max-height: 683px !important;
}
}



@media all and (max-width:720px) {
  .board-right {
    align-items: flex-end !important;
  }
  .board form,
  .board.right form{
    width: 100%;
  }
  .case .case-list{
    grid-template-columns: repeat(1,1fr);
  }
  .sub-page  .serv-list.gtc03{
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 20px;
   }
   .busi-view .sec_02 .gtc_03,
   .serv-list,
   .busi-view .lst-list{
    display: grid;
    grid-template-columns: repeat(1,1fr) !important;
    gap: 20px;
  }

  .new-list .item {
    flex-wrap: wrap;
  }
  .sc-black h2 span,
  .color-fill-text {
    font-size: 2.8rem !important;
  }
  .sc-black .card-wrapper .wrap-left {
    gap: 160px !important;
  }
  .sc-black .card-wrapper {
    padding-top: 50vh !important;
    padding-bottom: 150px !important;
  }

  .new-list .item {
    padding: 32px 0px !important;
    gap:12px;
  }
  .new-list .item a h3 {
    font-size: 26px !important;
  }

  .case-list > div a .tit {
    padding: 30px 20px !important;
  }

  .case-list > div a .desc {
    padding: 30px 20px !important;
  }
  .case-list > div a .tit h3 {
    min-height: unset !important;
  }
  .case-list > div .datetime {
    margin: 0 20px !important;
  }
  .new-list .item a {
    margin-right: 0 !important;
  }
}


/* 모바일 상세 */
@media all and (max-width:640px) {
  .sc-zoom .stky-wrapper .txt{
  font-size: 3.5rem !important;
  }
  .grid-top-left p {
    word-break: normal;
  }
}

/* 모바일 가로 */
@media all and (max-width:568px) {
  .result-box p {
    font-size: 22px !important;
  }
  .lawyer-name span:nth-child(1) {
    font-size: 18px !important;
  }
  .lawyer-name span:nth-child(2) {
    font-size: 16px !important;
  }

  .contact-list.gtr3 {
    gap: 80px 20px !important;
  }
  .grid-btm-btm .w33 .tit span:nth-child(1),
  .grid-btm-btm .w66 span:nth-child(1),
  .grid-btm-top .w33 .tit span:nth-child(1),
  .top-01 .zoom,
  .top-02 .tit span:nth-child(1),
  .grid-top-right-bottom p,
  .grid-btm-top .w66 p {
    font-size: 45px !important;
  }
  .banner-area{
  font-size: 1.8rem !important;
  }


}

@media all and (max-width:500px) {
  .sc-black h2 span,
  .color-fill-text {
    font-size: 2.3rem !important;
  }

  .view-headline h2 { 
    font-size: 1.8rem !important; 
  }
}

@media all and (max-width:460px) {
  .contact-list{
    grid-template-columns: repeat(2,1fr) !important;
  }
  .sc-black .card-wrapper .card strong{
  font-size: 2.0rem !important;
  }
}

@media all and (max-width:425px) {
  .lawyer-info {
    gap: 10px !important;
    flex-direction: column !important;
    align-items: flex-start !important; 
  }
  .busi .search-wrap {
    max-width: 100% !important;
  }
.sc-zoom .stky-wrapper .txt{
  font-size: 3.0rem !important;
  }
  .sc-black h2 span,
  .color-fill-text {
    font-size: 2.0rem !important;
  }
  .banner-area{
    font-size: 1.5rem !important;
    }
  .sc-autoplay .item .txt p{
    font-size: 1.00rem !important;
  }
  .contact-list.gtr3 {
    gap: 80px 15px !important;
  }
}

@media all and (max-width:375px) {
  .lawyer-info span:nth-child(1),
  .lawyer-info span:nth-child(2) {
    font-size: 15px !important;
  }
  .lawyer-name {
    gap: 10px !important;
  }

}

@media all and (max-width:320px) {} 
