
@media (max-width:1500px) {
    .main_txt1 {font-size: 45px;}   
}

@media (max-width:1300px) {
    .logo {left: 10%;}
    .gnb {right: 10%;}
    
    .main_swiper {width: 90%;}
    
    #about {margin-top: 80px;}
    .left_ck {left: 5%;}
    .right_ck {right: 5%;}

    .section {
        width: 100%;
        padding: 0 5%;
    }

    #portfolio ul {margin-top: 50px;}
    #portfolio li:hover .por_cover {display: none;}

    #insta li {height: 300px;}

    .footer {margin-top: 80px;}
    .f_con {width: 100%; padding: 50px 5%;}
    .sns {right: 5%;}  
}

@media (max-width:1000px) {
    .main_txt {top: 0; left: 0; padding: 180px 0 180px 50px;}
    .main_swiper {height: 650px;}

    .sec_t {font-size: 34px;}

    #about .sec_t {font-size: 37px;}
    .left_ck, .right_ck {width: 45px; height: 45px;}

    .about_con {flex-wrap: wrap; padding: 50px 0 0 0;}
    .about_logo img {max-width: 230px; margin: 0 auto;}
    .about_logo {width: 100%;}
    .about_txt {
        width: 70%; margin-top: 40px; text-align: center;
        margin-left: 0;
    }
    .m_about_strong {font-weight: 600;}
    .about_txt p:nth-child(4), .about_txt p:nth-child(5) {
        color: #fff;
    }
    .about_txt p {margin: 0; line-height: 1.4;}

    #insta li {width: calc((100% - 20px * 3) / 4); height: 300px;}
    #insta li:nth-child(9), #insta li:nth-child(10) {display: none;}

    /* 서브 */
    .product ul {max-width: 700px;}
    .product li {border-radius: 0;}

    .brand .sub_t {display: block;}
    .brand ul {margin-top: 50px; width: 100%; max-width: 700px;}
    .brand li {width: 100%; flex-wrap: wrap;}
    .brand li > div {width: 100%;}
    .brand_img {border-radius: 0;}
    .brand_img_p {display: none;}
    .brand_img_m {display: block;}
    .brand_txt_tm {display: none;}
    .brand_txt_i {margin: 0;}
    .brand_txt {padding: 0; text-align: center; margin-top: 50px;}
    .brand_2 .brand_txt {padding: 0;}
    .brand_txt_t:nth-child(2) {margin-bottom: 30px;}
}

@media (max-width:800px) {
    .main_swiper {height: 580px;}
    .main_txt {top: 0; left: 0; padding: 170px 0 0 50px;}
    .main_txt1 {font-size: 40px;}
    .main_txt1 span:nth-child(2) {margin-bottom: 18px;}
    .main_txt2 {font-size: 20px;}
    .more_btn {width: 150px; height: 50px; line-height: 50px; margin-top: 35px;}
    
    #about .sec_t, .sec_t {font-size: 30px;}
    .section {margin-top: 120px;}

    .about_logo img {max-width: 200px;}
    .left_ck {top: 20px;}
    .right_ck {bottom: -20px;}
    .about_txt {font-size: 20px;}
    .about_txt p:nth-child(4), .about_txt p:nth-child(5) {
        display: inline;
    }

    #portfolio li {
       width: calc((100% - 30px * 2) / 3); 
    }
    #portfolio li:nth-child(7), #portfolio li:nth-child(8) {
        display: none;
    }

    #insta ul {justify-content: flex-start;}
    #insta li {width: calc((100% - 20px * 2) / 3);}
    #insta li:nth-child(7), #insta li:nth-child(8) {display: none;}
    
    .insta_ad {font-size: 24px;}
    
    /* 서브 */
    .sub_title {font-size: 32px;}

    .sub_logo {width: 240px;}
    .sub_main_txt {font-size: 20px;}
    .sub_main_txt2 {font-size: 22px;}
    .sub_main_txt2 p:first-child span {font-size: 23px;}
}

@media (max-width:700px) {
    .left_ck, .right_ck {width: 40px; height: 40px;}

    .section {margin-top: 100px;}

    /* 서브 */
    .sub_title {margin-top: 100px;}

    .sub_swiper {height: 400px;}

    .product li, .pro_img {height: 350px;}
    .pro_txt {font-size: 28px;}
    .pro_txt p:last-child {
        font-size: 17px; margin-top: 8px;
        margin-bottom: 28px;
    }

    .history {padding: 0 5%;}
    .his_txt {justify-content: flex-start;}
    .his_mon {flex-shrink: 0}
    .his_txt p {line-height: 1.2;}
}

@media (max-width:600px) {
    .main_swiper {height: 550px;}
    .main_txt1 {font-size: 35px;}
    .main_txt1 span:nth-child(2) {margin-bottom: 18px;}
    .main_txt2 {font-size: 18px;}

    .sec_btn {width: 95%;}
    .sec_btn_s {width: 47.5%;}

    .about_em {display: inline;}
    .about_txt p:nth-child(2) {margin-bottom: 30px;}
    .about_txt p:nth-child(3) {display: none;}

    #insta li {height: auto; aspect-ratio: 1 / 1.5;}

    .sec_btn div:hover {background: none; transition: none;}
    .sec_btn div:hover a {color: #fff; font-weight: 400;}
    .insta_ad {font-size: 25px;}

    /* 서브 */
    .sub_title {margin-top: 80px; margin-bottom: 60px;}

    .sub_logo {width: 200px; margin-bottom: 60px;}
    
    .pro_in {right: 70px;}
    .product li:nth-child(2) .pro_in {left: 70px;}

    .sub_bar {width: 90%; margin: 70px auto;}
}

@media (max-width:550px) {
    .main_txt {top: 0; left: 0; padding: 120px 0 120px 10%;}

    .gnb {font-size: 19px;}
    .gnb li {margin-right: 20px;}
    .main_swiper {height: 480px;}
    
    /* 서브 */
    .sub_title {font-size: 30px;}
    .sub_main_txt {width: 90%; margin: 0 auto;}
    .sub_main_txt2 {width: 100%;}
    .sub_main_txt p {line-height: 1.4; margin-bottom: 0;}
    .sub_p_m {display: inline;}

    .sub_t {font-size: 28px;}
    .product li, .pro_img {height: 320px;} 
}

@media (max-width:500px) {
    .main_txt1 {font-size: 32px;}
    .main_txt1 span:nth-child(2) {margin: 5px 0 12px 0;}
    .main_txt2 {font-size: 17px;}
    .more_btn {
        width: 135px; height: 45px; font-size: 14px;
        line-height: 45px; margin-top: 25px;
    }
    .more_btn a {font-weight: 500;}
    .more_btn:hover {background: none; transition:none;}
    .more_btn:hover a {color: #fff; font-weight: 500;}
    #main .swiper-pagination .swiper-pagination-bullet {
        width: 10px; height: 10px;
    }

    #about .sec_t, .sec_t {font-size: 26px;}
    .sec_btn > div, .sec_btn_s > div {height: 60px; line-height: 60px;}
    .sec_btn > div a {font-size: 15px;}

    .about_logo {width: 160px;}
    .about_txt {font-size: 17px; max-width: 300px;}
    .about_txt p {line-height: 23px;}
    .left_ck, .right_ck {width: 30px; height: 30px;}
    .left_ck {top: 15px;}
    .right_ck {bottom: 15px;}
    .about_txt p:nth-child(2) {margin-bottom: 20px;}

    #portfolio ul {justify-content: space-between; gap: unset; margin-top: 40px;}
    #portfolio li {width: 48%; margin-bottom: 4%;}
    #portfolio li:nth-child(5), #portfolio li:nth-child(6) {margin-bottom: 0;} 

    #insta ul {justify-content: space-between; gap: unset; margin-top: 40px;}
    #insta li {width: 49%; margin-top: 2.2%;}
    #insta li:nth-child(3), #insta li:nth-child(4), #insta li:nth-child(5) {margin-top: 2.2%;}
    #insta li:nth-child(7), #insta li:nth-child(8) {display: none;}

    /* 서브 */
    .sub_title {font-size: 26px; width: 180px;}

    .sub_logo {width: 170px; margin-bottom: 40px;}
    .sub_main_txt {font-size: 17px;}
    .sub_swiper {
        margin-top: 40px; margin-bottom: 0; height: 300px;
    }
    .sub_main_txt2 p:first-child span {font-size: 18px;}
    .sub_swiper .swiper-pagination {
        bottom: 20px;
    }
    .sub_swiper .swiper-pagination .swiper-pagination-bullet{
        width: 9px; height: 9px;
    }

    .sub_t {font-size: 25px;}
    .sub_t_un {font-size: 16px; margin-top: 10px;}
    .sub_bar {margin: 60px auto;}

    .product ul {margin-top: 40px;}
    .product li {height: 250px; margin-bottom: 30px;}
    .pro_txt {font-size: 23px;}
    .pro_txt p:last-child {
        font-size: 16px; margin-bottom: 17px;
        margin-top: 7px;
    }
    .pro_btn {
        width: 135px; height: 45px; font-size: 14px;
        line-height: 45px;
    }
    .pro_btn a {font-weight: 500;}
    .pro_btn:hover {background: none; transition:none;}
    .pro_btn:hover a {color: #fff; font-weight: 500;}

    .brand ul {
        margin-top: 40px;
    }
    .brand li {margin-bottom: 40px;}
    .brand_txt {margin-top: 35px;}
    .brand_txt_i p {
        font-size: 17px; margin: 0; line-height: 1.4;
    }
    .brand_txt_t {font-size: 20px;}
    .brand_txt_t:nth-child(2) {margin-bottom: 20px;}
    .brand_img {height: 280px;}

    .his_con {margin-top: 40px; margin-bottom: 30px;}
    .his_year {font-size: 22px;}
    .his_mon {font-size: 19px;}
    .his_txt p {font-size: 17px;}

    /* 배경 변경 */
    .main_bg1 {background-image: url(../image/main_1_m.jpg);}
    .main_bg2 {background-image: url(../image/main_2_m.jpg);}
    .main_bg3 {background-image: url(../image/main_3_m.jpg);}

    .sub_bg1 {background-image: url(../image/sub/about_1_m.jpg);}
    .sub_bg2 {background-image: url(../image/sub/about_2_m.jpg);}
    .sub_bg3 {background-image: url(../image/sub/about_3_m.jpg);}
    .sub_bg4 {background-image: url(../image/sub/about_4_m.jpg);}
    .sub_bg5 {background-image: url(../image/sub/about_5_m.jpg);}

    .pro_1 .pro_img {background-image: url(../image/sub/pro1_m.jpg);}
    .pro_2 .pro_img {background-image: url(../image/sub/pro2_m.jpg);}
    .pro_3 .pro_img {background-image: url(../image/sub/pro3_m.jpg);}

    .brand_1 .brand_img {background: url(../image/sub/brand1_m.jpg);}
    .brand_2 .brand_img {background: url(../image/sub/brand2_m.jpg);}
}

@media (max-width:470px) {
    .f_txt div {float:none;}
    .f_txt div:first-child {margin-bottom: 5px;}
    .f_txt div span {display: none;}
    .f_title {font-size: 22px;}
}

@media (max-width:450px) {
    .main_txt1 {font-size: 28px;}
    .main_txt1 span:nth-child(2) {margin: 5px 0 12px 0;}
    .main_txt2 {font-size: 16px;}
    .main_swiper {height: 440px;}
        
    .section, #about {margin-top: 70px;}
    #about .sec_t, .sec_t {font-size: 23px;}
    .sec_bar {height: 2px; margin: 30px 0;}

    #portfolio ul, #insta ul {margin-top: 20px;}
    .insta_ad {font-size: 20px; margin-bottom: 30px;}

    .footer {margin-top: 50px;}

    /* 서브 */
    .sub_title {font-size: 23px; margin-top: 50px;}

    .sub_main_txt .p_br {margin-bottom: 20px;}

    .sub_t {font-size: 22px;}
    .sub_t_un {font-size: 16px;}

    .pro_txt {font-size: 21px;}
    .pro_txt p:last-child {font-size: 15px; margin-top: 3px;}

    .his_year {font-size: 20px;}
    .his_mon {font-size: 17px; margin-right: 20px;}
    .his_txt p {font-size: 15px;}
}

@media (max-width:410px) {
    .header {height: 90px;}
    .logo {width: 40px;}
    .gnb {font-size: 18px;}
    .gnb li {margin-right: 18px;}

    .main_txt {padding: 110px 5% 0 5%;}
    .main_txt1 {
        font-size: 26px; line-height: 30px;
        margin-bottom: 12px;
    }
    .main_txt1 span:nth-child(2) {margin: 0;}
    .main_txt2 {font-size: 15px;}
    .main_txt2 span {display: block; line-height: 1.2;}
    .main_swiper {height: 420px;}
    .more_btn {
        width: 120px; height: 40px; font-size: 13px;
        line-height: 40px; margin-top: 22px;
    }

    .sec_btn {width: 100%;}
    .sec_btn_s {width: 50%;}
    .sec_btn > div, .sec_btn_s > div {height: 53px; line-height: 53px;}
    .sec_btn > div a {font-size: 14px;}

    #about {padding: 30px 0;}
    .left_ck, .right_ck {width: 25px; height: 25px; opacity: 0.8;}
    .left_ck {top: 0;}
    .right_ck {bottom: 0;}
    .about_logo {width: 130px;}
    .about_txt {margin-top: 30px; font-size: 16px;}

    #insta li {height: auto; aspect-ratio: 1 / 1.4;}
    .insta_ad {font-size: 21px; margin-bottom: 30px;}

    .f_title {font-size: 20px;}
    .f_txt {font-size: 14px; margin-top: 20px;}
    .e_mial {font-size: 14px;}
    .copy {font-size: 12px;}
    .insta_s {width: 24px;}
    .blog {font-size: 24px;}
    .youtube {width: 28px;}

    /* 서브 */
    .sub_title {margin-bottom: 40px;}
    .sub_logo {width: 130px; margin-bottom: 30px;}
    .sub_bar {margin: 55px auto;}

    .sub_main_txt {font-size: 16px; max-width: 300px;}
    .sub_main_txt2 p:first-child span {font-size: 17px;}
    .sub_main_txt2 {max-width: 100%;}

    .sub_swiper {height: 350px;}
    
    .pro_in {right: 10%;}
    .product li:nth-child(2) .pro_in {left: 10%;}
    .product li {height: 220px;}
    .pro_txt {font-size: 19px;}
    .pro_txt p:last-child {font-size: 14px; margin-top: 3px;}
    .pro_btn {
        width: 120px; height: 40px; font-size: 13px;
        line-height: 40px;
    }

    .brand_txt {margin-top: 30px;}
    .brand_txt_i p {font-size: 16px;}

    .his_year {font-size: 18px; margin-bottom: 20px;}
    .his_mon {font-size: 16px; margin-right: 18px;}
    .his_txt p {font-size: 14px;}
}
    
@media (max-width:380px) {
    .main_txt1 {font-size: 24px;}
    .main_txt2 {font-size: 15px;}
    
    .sec_btn > div a {font-size: 13px;}
    .insta_ad {font-size: 19px; margin-bottom: 25px;}
}


