@media screen and (max-width: 1600px) {

  html,
  body {
    font-size: 16px;
  }

  /*m4*/
  .m4_list > li .m4_list_con > li.list_con > p.list_right .black {
    font-size: 5rem;
  }
}

@media screen and (max-width: 1400px) {

  html,
  body {
    font-size: 15px;
  }

  .gnb > li {
    padding: 0 35px;
  }
}

@media screen and (max-width: 1200px) {

  html,
  body {
    font-size: 14px;
  }

  /*header*/
  .gnb > li {
    padding: 0 20px;
  }

  .header_inner .logo {
    width: 150px
  }

  /*m2*/
  .m2_cont .m2_cont1 {
    padding: 25px 0;
  }

  .m2_cont .m2_cont1 p {
    font-size: 2rem;
  }

  .m2_cont .m2_cont1 p .big {
    font-size: 2.5rem;
  }

  .m2_cont .m2_cont2 {
    padding: 25px 0;
  }

  .m2_cont .m2_cont2 .m2_txt p {
    font-size: 1rem;
  }

  /*m3*/
  .m3_list > li .menu_hob .menu_hob_inner .hob_cont1 .ex_bold {
    padding-left: 0;
  }

  .m3_list > li .menu_hob .menu_hob_inner .hob_cont1 .light {
    padding-left: 0;
  }

  .m3_list > li .menu_hob .menu_hob_inner .m3_more::after {
    width: 20px;
    height: 20px;
    right: -10px;
    top: 5px;
  }

  /*m4*/
  .m4_tit .main_tit2 img {
    left: 54%;
  }

  .m4_con {
    width: 70%;
  }

  .m4_list > li {
    margin-bottom: 4vh;
  }

  .m4_list > li .m4_list_con > li.m4_icon {
    width: 15%;
  }

  .m4_list > li .m4_list_con > li.list_con {
    width: calc(85% - 70px);
    padding-bottom: 1vh;
  }

  /*m5*/
  .m5_top {
    margin-bottom: 8vh;
  }

  .m5_top .stroke {
    right: 6px;
  }

  .m5_top .main_tit2 {
    font-size: 3rem;
  }

  .m5_top .main_tit3 {
    font-size: 1.1rem;
  }

  .m5_bot .ex_bold {
    font-size: 1.5rem;
  }

  .m5_bot .light {
    font-size: 1.2rem;
  }
}


/* mobile */

@media (max-width:1400px) {
  .gnb > li {
    padding: 0 20px
  }

  .m4_cont .swiper-slide.swiper-slide-active {
    width: 100% !important
  }

  /*sub */
  .s114 .m2_cont_wrap {
    height: 35vw
  }

  .s114 .m2_cont .m2_cont1 {
    padding: 2vw 0
  }

  .s114 .m2_cont .m2_cont2 {
    padding: 15px 0 0 0
  }
}

@media (max-width:1200px) {
  .modal {
    top: 80px !important;
    right: 0 !important
  }

  .m2 .m2_bg {
    height: 250px
  }

  .m3_list > li {
    width: calc(25vw - 60px);
  }

  .s114 .m2_cont .m2_cont1 p {
    font-size: 2.5vw;
    margin: 5px 0
  }

  .s114 .m2_cont .m2_cont2 .m2_txt p {
    width: 45vw;
    padding: 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .s312 .s_inner .s312_list .lists > li .list_p .address {
    font-size: 1.15rem
  }

  .sub_4_1 article {
    display: grid;
    justify-content: center;
  }

  .sub_4_1 .Contents1and3 .C1and3 h4 {
    transform: unset;
    top: unset;
    left: unset;
    position: relative;
    margin: 20px 0 40px 0;
  }

  .sub_4_1 .Contents1and3 .C1and3,
  .sub_4_1 .Contents2 .C2 {
    display: block;
  }

  .sub_4 .h_banner .txt .bot,
  .sub_4 .h_banner .txt .top {
    text-align: center;
  }

  .sub_4_1 .Contents5 .ImgWrap img:last-child {
    left: 0
  }

}


@media (max-width:1024px) {
  .SiteMap {
    display: block;
  }

  .SiteMap h1 {
    color: #fff !important;
    top: 3.5vh;
    padding: 0 5%;
  }

  .m_nav {
    text-align: left;
    flex-wrap: wrap;
    gap: 10px;
    top: 85px;
    margin: 0;
    width: 100%;
    border-top: 1px solid snow;
  }

  .m_nav > li {
    width: 100%;
    padding: 0;
    border: 0;
  }

  .mob_sub {
    margin-top: 0;
    display: none;
    background: #f1b09d;
    color: #000;
    padding: 12px 5%;
  }

  .mob_sub > li > a {
    padding: 14px 0;
    font-size: 1rem;
  }

  .m_nav .nav_tit span {
    text-align: end;
    width: 18px;
    height: 18px;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translate(0, -50%);
  }

  .m_nav .nav_tit span::before {
    content: "";
    width: 100%;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .m_nav .nav_tit span::after {
    content: "";
    width: 100%;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(90deg) !important;
    transition: all 0.4s;
  }

  .m_nav > li.on .nav_tit span::after {
    transform: translateY(-50%) rotate(0deg) !important;
  }

  .ms_inner .ms_txt2 img {
    width: 310px
  }

  .m2_inner .m2_txt {
    font-size: 2.25rem;
  }

  .m2_inner,
  .m2_inner .m2_txt,
  .m2_inner .small {
    text-align: center;
  }

  .m4_cont .swiper-slide .right .small {
    margin: 11vh 0 0;
    bottom: unset !important
  }

  .m4_cont .swiper-slide {
    justify-content: unset;
    gap: 20px
  }

  .m4_cont .swiper-slide .left {
    width: 40vw !important
  }

  .m4_cont .swiper-slide .right {
    width: calc(100% - 40vw) !important;
    padding: 0
  }

  .m4_cont .swiper-slide .right .bold {
    font-size: 2rem
  }

  /*sub */
  .s111 {
    padding: 0 0 27.5vh
  }

  .s111_txt .small {
    width: 100%;
    padding: 0 30px
  }

  .s111_cont .s111_img {
    width: 85%
  }

  .s111_cont .s111_img {
    margin: 0 auto
  }

  .s112_tit .s_txt {
    text-align: center;
  }

  .s112 .s_inner > div {
    display: flex;
    width: 100%;
    gap: 30px
  }

  .s113 .bi_wrap {
    margin: 0
  }

  .s113 .bi_desc {
    margin: 60px 0 0
  }

  .s113 .bi_desc .bo_cont {
    display: block;
  }

  .s113 {
    padding: 14vh 0 35vh;
  }

  .s114 .m2_cont .m2_cont1 {
    padding: 1vw 0
  }

  .s114 .m2_cont .m2_cont1 p .big {
    font-size: 4.75vw
  }

  .s114 .m2_cont .m2_cont2 .m2_txt p {
    font-size: 1rem;
    height: 100px
  }

  .s114 .m2_cont .m2_cont2 .m2_txt .m2_more {
    width: 25%
  }

  .s211 .sub_inner .lists > li {
    width: calc((100% - 60px) /3);
  }

  .s312 {
    padding: 15vh 0
  }

  .s312 .s_inner .s312_list .lists {
    margin: 0
  }

  .s312 .s_inner .s312_list .lists > li {
    width: calc((100% - 40px) / 2);
    margin: 0 0 50px 0
  }

  .s312 .s_inner .s312_list .lists > li.show,
  .s312 .s_inner .s312_list .lists > li.show:nth-child(3n-1) {
    transform: translate(0);
  }

  .s432 img {
    width: 90%;
  }
}

@media screen and (max-width: 820px) {
  .sub_4_3 .swiper-container .swiper-wrapper {
    left: -28%;
  }
}

@media screen and (max-width: 780px) {
  .gnb {
    display: none;
  }

  /* html, body{font-size: 18px;} */
  /* .m4_cont .swiper-container{margin-left:-40px} */
  .s511 .s_inner .s511_list .lists > li {
    width: calc((100% - 80px) /2);
  }

  .sub_4_2 .Contents1 .Con_h img {
    width: 100%;
  }

  .sub_4_2 .Contents3 .ImgWrap li img {
    width: 100px;
  }

  .sub_4_2 .Contents3 .ImgWrap li p {
    font-size: .9rem;
  }

  .sub_4_2 .Contents3 .ImgWrap li:nth-child(1),
  .sub_4_2 .Contents3 .ImgWrap li:nth-child(2),
  .sub_4_2 .Contents3 .ImgWrap li:nth-child(3) {
    top: 8.5%;
  }

  .sub_4_2 .Contents3 .ImgWrap li:nth-child(4),
  .sub_4_2 .Contents3 .ImgWrap li:nth-child(5),
  .sub_4_2 .Contents3 .ImgWrap li:nth-child(6) {
    top: 28.9%;
  }

  .sub_4_2 .Contents3 .ImgWrap li:nth-child(7),
  .sub_4_2 .Contents3 .ImgWrap li:nth-child(8),
  .sub_4_2 .Contents3 .ImgWrap li:nth-child(9) {
    bottom: 19.7%;
  }

  .sub_4_3 .swiper-pagination-fraction {
    top: 10vh;
    left: 24%;
  }

}

@media (max-width:720px) {
  .navigation-toggle {
    right: 70px;
  }

  .m2_inner .m2_txt {
    font-size: 1.65rem
  }

  .m3_tit {
    margin-bottom: 45px
  }

  .m3_list {
    text-align: center;
  }

  .m3_list > li {
    width: calc(40% - 30px);
    margin: 5px !important
  }

  .m4_cont {
    margin: 25px 0 0
  }

  .m4_logo {
    width: unset;
    max-width: unset;
    display: flex;
    justify-content: center;
  }

  .m4 .main_inner {
    width: 100% !important;
    padding: 0 20px;
    margin: 0 !important;
  }

  .m4_cont .swiper-slide {
    display: block;
  }

  .m4_cont .swiper-container {
    overflow: unset;
  }

  .m4_cont .swiper-slide .right .bold {
    font-size: 2rem
  }

  .m4_cont .swiper-slide .right .m4_en_txt > li.txt p {
    font-size: 1.5rem
  }

  .m4_cont .swiper-slide .left {
    width: 55vw !important;
    margin: 15px auto
  }

  .m4_cont .swiper-slide .right .small {
    width: 100%;
    margin: 15px 0 0 !important;
    text-align: center;
    padding: 0 10px
  }

  .m4_cont .swiper-slide .right {
    width: 100% !important;
    text-align: center;
  }

  .m4_cont .swiper-slide .right .bold > br,
  .m4_cont .swiper-slide .right .small > br {
    display: none;
  }

  .m5_top {
    margin: 0 !important;
  }

  .m5_top .main_tit2 {
    padding: 20px 0 0 0 !important
  }

  .m5 .main_inner .move {
    display: flex;
    flex-wrap: wrap
  }

  .m5 .main_inner .move > div {
    width: 100% !important
  }

  .m5 .main_inner .move .m5_left {
    max-height: 300px;
    overflow: hidden;
  }

  .consult .consult_con,
  .form_wrap > li:first-child {
    width: 100% !important
  }

  .consult .inner2 > div {
    display: block;
    margin: 20px 0 0 0
  }

  .form_wrap > li:last-child {
    width: 100% !important;
    margin: 10px 0 0 0 !important
  }

  .form_wrap #form_send {
    text-align: center !important;
  }

  .s112_tit .big {
    font-size: 3rem
  }

  .s112_tit {
    margin-bottom: 50px
  }

  /* .m2 .m2_bg {
    display: none;
  } */

  .s112_cont .img {
    padding: 0 50px
  }

  .s112 .s_inner > div {
    flex-wrap: wrap
  }

  .s112_tit .s_txt {
    width: 100%;
    font-size: 1.25rem;
  }

  .s112_tit .s_txt > br {
    display: none;
  }

  .s112 .s_inner > div:nth-child(2) {
    margin: 20px 0 !important
  }

  .s112 .s_inner .right .s112_cont:last-child {
    margin: 0
  }

  .s113 {
    padding: 14vh 0 25vh;
  }

  .s114 .m2_img {
    display: flex;
    margin: 0 auto;
    right: unset;
    position: relative;
  }

  .s114 .m2_cont .m2_cont1 p {
    color: #333
  }

  .s114 .m2_cont {
    position: relative;
    width: 100%
  }

  .s114 .m2_cont_wrap {
    height: 100%;
    display: flex;
    flex-direction: column-reverse;
  }

  .s114 .m2_cont .m2_cont1 p {
    background-color: #e84718;
    text-align: center;
    color: #fff;
    padding: 20px 10px !important
  }

  .s114 .m2_cont .m2_cont2 .m2_sign {
    width: 0;
    display: none;
  }

  .s114 .m2_cont .m2_cont2 .m2_txt {
    width: 100%;
    padding-right: 0 !important
  }

  .s114 .m2_cont .m2_cont2 .m2_txt p {
    width: 100%;
    padding: 0;
    height: 100%;
    text-align: center;
    font-size: 1.25rem
  }

  .bi_desc {
    flex-wrap: wrap;
    justify-content: center;
  }

  .bi_desc .bi_tit p > br {
    display: none;
  }

  .s113 .s_inner {
    width: 100%;
    padding: 0 30px
  }

  .s113 .bi_tit {
    width: 100%;
    padding: 20px 0
  }

  .s115 {
    margin: 10vh 0 0
  }

  .s115_bg {
    height: 200px
  }

  .s115_bg img {
    height: 100%;
    object-fit: cover;
  }

  .s115_txt > p {
    padding: 0 10px
  }

  /* #topBtn{position: absolute; left: 5%;top:unset !important; bottom: 200px !important; width: 50px; height: 50px; background: #191919; border: 2px solid #ff5a0b; border-radius: 50%;cursor: pointer;} */

  .s211 .sub_inner .lists > li {
    width: calc((100% - 60px) /2);
  }

  .s312 .s_inner > img {
    margin: 0
  }

  .sub_4_1 article img {
    width: 100%;
    padding-left: 0;
    margin-top: 0
  }

  .sub_4 .h_banner .txt {
    width: 100%;
    margin: 0;
    padding: 0 20px
  }

  .sub_4_1 .Contents1and3 .C1and3 div,
  .sub_4_1 .Contents2 .C2 div:first-child {
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: unset;
  }

  .sub_4_1 .Contents2 .C2 div:first-child h3 {
    width: 100%;
    text-align: center;
  }

  .sub_4_1 .Contents2 .C2 div:first-child h3::before {
    transform: translate(-40px, -15px);
    right: unset
  }

  .s511 .s_inner .s511_list .lists > li {
    width: 100%;
  }

  .s511 .s_inner .s511_list .lists > li .list_p {
    padding: 20px
  }

  .s511 .s_inner .s511_list .lists > li.show,
  .s511 .s_inner .s511_list .lists > li.show:nth-child(3n-1) {
    transform: translate(0);
  }
}


@media (max-width:580px) {
  .navigation-toggle {
    right: 40px
  }

  .m5_top .thesignature {
    opacity: 0.175;
    font-size: 6.5rem
  }

  .m2 {
    /* display: none !important; */
    height: 30vh !important;
  }

  .bi_desc {
    display: block;
  }

  .s113 .bi_desc .bo_cont {
    margin: 20px 0
  }

  .bi_desc .bo_cont .left {
    width: 100%;
  }

  .s111_cont {
    margin: 0
  }

  .s112_cont .img {
    margin: 10px 0
  }

  .s112 .s_inner .right .s112_cont:last-child {
    margin: -10px 0 0
  }

  .s114 .m2_cont .m2_cont2 .m2_txt p {
    font-size: 1rem
  }

  .s114 .m2_cont .m2_cont1 p .big {
    font-size: 2rem
  }

  .s114 .m2_cont .m2_cont1 p {
    font-size: 1.25rem
  }

  .s115_txt > p {
    padding: 0 10px;
    font-size: 1.75rem
  }

  .s211 .sub_inner .lists > li {
    width: 100%;
  }

  .s312 .s_inner .s312_list .lists > li {
    width: 100%
  }

  .sub_4_1 .Contents1and3 .C1and3 h3,
  .sub_4_1 .Contents2 .C2 div:first-child h3 {
    font-size: 1.65rem
  }

  .s511 .s_inner .s511_list ul {
    gap: 0px
  }

  .ms_inner .ms_txt2 img {
    width: 250px
  }

  .ms_btn > li {
    width: 150px
  }

  .sub_4_2 .Contents3 .Con_h .BMYS {
    font-size: 1rem;
  }

  .sub_4_2 .Contents3 .ImgWrap {
    padding: 80px 0 50px;
  }

  .sub_4_2 .Contents3 .ImgWrap > img {
    display: none;
  }

  .sub_4_2 .Contents3 .ImgWrap ul {
    display: flex;
    flex-wrap: wrap;
  }

  .sub_4_2 .Contents3 .ImgWrap li {
    height: 300px;
    flex: 1 1 50%;
    position: unset;
  }

  .sub_4_2 .Contents3 .ImgWrap li:nth-of-type(n)::after {
    top: 13%;
    right: -5%;
    left: auto;
    transform: translate(0);
  }

  .sub_4_2 .Contents3 .ImgWrap li:nth-child(8)::after {
    display: none;
  }

  .sub_4_2 .Contents3 .ImgWrap li:nth-child(5)::after {
    transform: rotate(180deg);
  }

  .sub_4_2 .Contents3 .ImgWrap li p {
    line-height: 15px;
  }

  .sub_4_3 .swiper-slide {
    height: 350px;
  }

  .sub_4_3 .swiper-container .swiper-wrapper {
    left: 0;
  }

  .sub_4_3 .swiper-slide.swiper-slide-active {
    width: auto !important;
    margin-right: 0 !important;
  }

  .sub_4_3 article .swiper::before {
    display: none;
  }

  .sub_4_3 .swiper-pagination-fraction {
    left: calc(20% - 20px);
  }
}

@media screen and (max-width: 460px) {

  html,
  body {
    font-size: 12px;
  }

  .s441 .s_inner > img {
    width: 90%;
  }
}

@media screen and (max-width: 414px) {

  html,
  body {
    font-size: 12px;
  }

  .modal .modal_inner {
    width: 150px;
  }

  .m1_control {
    display: flex;
  }

  .ms_btn > li {
    width: 130px
  }

  .m5_tel {
    position: fixed;
    left: 7%;
  }

  .ms_btn {
    bottom: -15vh;
  }

  .s111_txt .small {
    font-size: 1rem;
  }

  .s112_tit .s_txt {
    font-size: 1rem;
  }

  .s312 .s_inner > img {
    width: 80%;
  }

  #map {
    height: 400px !important;
  }

  .subtop {
    height: 410px;
  }

  .sub_4_1 .Contents1and3 .C1and3 ul li {
    font-size: .8rem;
  }

  .sub_4_1 .Contents4 ul li p {
    font-size: .9rem;
  }

  .sub_4 .h_banner .img {
    margin-top: -10px;
  }
}

@media screen and (max-width: 360px) {

  html,
  body {
    font-size: 12px;
  }

  .sub_4_2 .Contents3 .ImgWrap li p {
    font-size: .7rem;
  }
}