:root {
    --main-color: #FFDD55;
    --bg-color: #F9F9F9;
    --bg-color-02: #F5F5F5;
    --black-color: #333333;
    --sub-txt-color: #555555;
    --border-color: #D9D9D9;
}

@media screen and (max-width: 1399px) {
    .wrap {
        padding: 0 8px;
    }
    .container {
        padding: 0 8px;
    }
    .do-area .wc-tit {
        padding: 0 8px;
    }
    .modal.terms .modal-box {
        max-width: calc(100% - 16px);
    }
    .main-box {
        flex-direction: column;
    }
    .main-box .main-product-box {
        max-width: 100%;
    }
    .filter {
        gap: 0;
    }
    .filter .filter-box {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 24px;
    }
    .filter .filter-box a {
        border-bottom: none;
        padding-bottom: 0;
    }
    .filter .filter-box a:hover {
        border-bottom: none;
    }
    .filter .category-01 {
        padding: 16px 0;
        border-bottom: 1px solid var(--border-color);
    }
    .filter .category-02 {
        border-top: none;
        border-bottom: 1px solid var(--black-color);
        padding: 16px 0;
    }
}
@media screen and (max-width: 1023px) {
    /*메인*/
    .main-slider .swiper-slide .txt {
        width: 100%;
        align-items: center;
    }
    .main-slider .swiper-slide .txt .sm-txt {
        text-align: center;
    }
    .do-area .wc-tit {
        width: 100%;
    }
    .do-area .wc-tit p:first-child {
        font-size: 38px;
    }
    .do-area .wc-tit p:nth-child(2) {
        font-size: 14px;
    }
    .do-grid .item {
        padding: 250px 0 0;
    }
    .do-grid .item .txt p:first-child {
        font-size: 28px;
        margin-bottom: 0;
    }
    .do-grid .item .txt p:nth-child(2) {
        font-size: 18px;
    }
    .do-grid .item .txt p:nth-child(3) {
        font-size: 14px;
    }
    .main-contact .lt .tit {
        font-size: 38px;
    }
    .main-contact .lt .greetings {
        font-size: 16px;
    }
    .contact-info {
        gap: 16px;
    }

    /*페이지*/
    .page-tit {
        margin-bottom: 60px;
    }
    .page-tit .tit-lg {
        font-size: 38px;
    }
    .product-grid {
        gap: 48px 16px;
    }
    .product-grid .item {
        gap: 16px;
    }
    .product-grid .item .txt p:nth-child(1) {
        font-size: 14px;
    }
    .product-grid .item .txt p:nth-child(2) {
        font-size: 18px;
    }
    .product-grid .item .txt p:nth-child(3) {
        font-size: 14px;
    }
    .product-grid .item .link-area {
        gap: 4px;
    }
    .product-grid .item .link-area a {
        font-size: 12px;
    }
    .contact-area .bg-info .info .item span:nth-child(2){
        font-size: 16px;
    }
    .form-area .expl-tit {
        padding-bottom: 16px;
        margin-bottom: 24px;
    }
    .form-area .expl-tit span:first-child {
        font-size: 20px;
    }
}
@media screen and (max-width: 767px) {
    /*header*/
    .header-wrap .h-logo {
        width: 200px;
        height: 45px;
    }
    .container {
        height: 80px;
    }
    .ham {
        display: block;
    }
    .gnb-area {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        z-index: 5;
        width: 100%;
        height: calc(100dvh - 80px);
        background-color: #fff;
        border-top: 1px solid var(--border-color);
        padding: 24px 16px;
    }
    .gnb {
        flex-direction: column;
        gap: 0;
    }
    .gnb > li {
        border-bottom: 1px solid var(--border-color);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .gnb > li::after {
        background-color: transparent;
        content: "";
        background-image: url('../images/icons/gnb_arrow.png');
        background-size: 100% 100%;
        background-repeat: no-repeat;
        width: 20px;
        height: 20px;
        transition: .2s ease-in-out;
    }
    .gnb > li > a {
        padding: 24px 0;
    }
    .header-wrap.main .gnb > li > a {
        color: var(--black-color);
    }
    .gnb > li > a::after {
        display: none;
    }
    /*footer*/
    .footer-wrap .tp .ls .f-logo {
        width: 200px;
    }
    .footer-wrap .tp .ls {
        flex-direction: column;
    }
    .footer-wrap .tp .fnb-area {
        justify-content: center;
        gap: 24px;
    }
    .fnb {
        gap: 24px;
    }
    .footer-wrap .info-area {
        flex-direction: column;
    }
    .footer-wrap .info-area .info {
        width: 100%;
        align-items: center;
    }
    .footer-wrap .info-area .info ul {
        justify-content: center;
    }
    .footer-wrap .info-area .copy {
        width: 100%;
        text-align: center;
    }


    /*메인*/
    .main-slider .swiper-slide .txt .sm-txt {
        width: 100%;
    }
    .main-slider .swiper-slide .txt .sm-txt span {
        display: block;
        width: 100%;
    }
    .do-area {
        height: auto;
    }
    .do-area .wc-tit {
        position: relative;
        top: unset;
        left: unset;
        transform: unset;
        padding: 100px 8px 24px;
    }
    .do-area .wc-tit p:first-child {
        color: var(--black-color);
    }
    .do-area .wc-tit p:nth-child(2) {
        color: var(--black-color);
    }
    .grid-box {
        height: auto;
    }
    .do-grid {
        height: auto;
        grid-template-columns: repeat(1, 1fr);
        position: relative;
        top: unset;
        left: unset;
        transform: unset;
    }
    .do-grid .item {
        padding: 0;
    }
    .do-grid .item .txt {
        padding: 48px 16px;
    }
    .do-grid .item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    .do-area .bg-img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }


    .main-contact {
        padding-top: 100px;
        flex-direction: column;
    }
    .main-contact .lt .tit {
        text-align: center;
    }
    .main-contact .lt .tit::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .main-contact .lt .greetings {
        text-align: center;
    }
    .contact-info {
        align-items: center;
    }
    .basic-btn {
        margin: 0 auto;
    }
    .root_daum_roughmap .wrap_map {
        height: 350px !important;
    }

    /*페이지*/
    .product-grid {
        grid-template-columns: repeat(2, 1fr); 
    }

    .contact-area {
        flex-direction: column;
        gap: 48px;
    }
    .contact-area .bg-info .img-box::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.8) 100%);
    }
    .contact-area .bg-info .img-box img {
        vertical-align: bottom;
    }
    .contact-area .bg-info {
        height: 400px;
        overflow: hidden;
        flex: unset;
    }
    .social-link {
        justify-content: center;
        gap: 12px;
    }
    .social-link img {
        width: 32px;
    }
}
@media screen and (max-width: 480px) {
    /*메인*/
    .main-slider .swiper-slide .txt .txt-hidden span {
        font-size: 28px;
    }
    .main-slider .swiper-slide .txt .sm-txt span {
        font-size: 14px;
    }
    .do-area .wc-tit p:nth-child(2) br {
        display: none;
    }
    .do-area .wc-tit p:first-child {
        font-size: 28px;
        position: relative;
        padding-bottom: 24px;
    }
    .do-area .wc-tit p:first-child::after {
        content: "";
        display: block;
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 100px;
        height: 3px;
        background-color: var(--main-color);
    }
    .main-contact .lt .tit {
        font-size: 28px;
    }
    .main-contact .lt .greetings {
        font-size: 14px;
    }
    .contact-info .item {
        gap: 8px;
    }

    /*페이지*/
    .page-area {
        padding-top: 124px;
    }
    .page-tit {
        align-items: center;
    }
    .page-tit .tit-lg {
        font-size: 28px;
    }
    .page-tit .tit-sm {
        font-size: 14px;
        text-align: center;
        word-break: keep-all;
    }
    .flex-tit form {
        width: 100%;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-grid .item .txt p:nth-child(2) {
        font-size: 16px;
    }
    .product-grid .item .link-area {
        flex-direction: column;
    }
    .pagination li a {
        font-size: 14px;
    }
    .search-box {
        flex-direction: column;
        align-items: center;
    }
    .search-box select {
        min-width: 120px;
        height: 40px;
        font-size: 14px;
        background-color: var(--bg-color);
        border: 1px solid var(--border-color);
        border-radius: 100px;
        box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
        padding: 0 8px;
    }
    .search-box .input-area input {
        font-size: 14px;
    }
    .search-box .input-area {
        font-size: 14px;
        height: 40px;
        width: 100%;
    }
    .search-box .input-area img {
        width: 16px;
    }
    .filter .filter-box {
        justify-content: center;
        gap: 8px;
    }
    .filter .filter-box a {
        font-size: 13px;
        padding: 4px 8px;
        border: 1px solid var(--border-color);
        border-radius: 48px;
    }
    .product-grid .item.empty {
        font-size: 14px;
    }
    .contact-area .bg-info .info .item span:first-child {
        width: 36px;
        height: 36px;
    }
    .contact-area .bg-info .info .item span:first-child img {
        width: 20px;
    }
    .contact-area .bg-info .info .item span:nth-child(2) {
        font-size: 14px;
    }
    .form-area .expl-tit span:first-child {
        font-size: 16px;
    }
    .form-area .expl-tit span:nth-child(2) {
        font-size: 12px;
    }
    .form-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }
    .form-grid .input-box textarea {
        height: 150px;
    }
    .form-grid .input-box input {
        font-size: 14px;
        height: 40px;
    }
    .form-grid .input-box.col-span-2 {
        grid-column: unset;
    }
    .terms-wrap label {
        font-size: 14px;
    }
    .basic-btn {
        height: 50px;
    }
    .modal .terms-box {
        height: 250px;
    }
    .flex-tit {
        flex-direction: column;
        align-items: center;
        margin-bottom: 48px;
    }
    .contact-area .bg-info .info {
        padding: 16px;
    }
    .contact-info .item span:nth-child(2) {
        font-size: 16px;
    }
    .contact-info .item img {
        width: 24px;
    }
    .mobile-call {
        display: block;
    }
}