:root {
    --main-color: #1D2088;
    --bg-color: #F9F9F9;
    --black-color: #3A3A3A;
    --sub-txt-color-01: #555555;
    --sub-txt-color-02: #777777;
    --sub-txt-color-03: #999999;
    --border-color: #D9D9D9;
}

@media screen and (max-width: 1399px) {
    .wrap {
        padding: 0 8px;
    }
    .header-wrap .container {
        padding: 0 8px;
    }
    .main-contactus .txt {
        padding: 0 8px;
    }
}
@media screen and (max-width: 1023px) {
    /*header*/
    .header-wrap.hover-on {
        background-color: #fff;
        height: 80px;
    }
    .header-wrap .h-logo {
        width: 180px;
        height: 50px;
    }
    .gnb {
        display: none;
    }

    /*footer*/
    .footer-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .f-logo img {
        width: 180px;
    }
    .footer-wrap .bt {
        flex-direction: column;
        gap: 36px;
    }
    .footer-wrap .bt .lt {
        align-items: center;
    }
    .footer-wrap .bt .lt .item span:first-child {
        min-width: unset;
    }
    .footer-wrap .bt .rt {
        align-items: center;
        gap: 16px;
    }

    /*메인*/
    .main-banner .content .txt > p {
        font-size: 14px;
    }
    .main-banner .content .txt .txt-hidden span {
        font-size: 32px;
    }
    .do-area .wc-tit p:first-child {
        font-size: 32px;
    }
    .do-grid .item .txt p:first-child {
        font-size: 24px;
    }
    .main-tit p:first-child {
        font-size: 14px;
    }
    .main-tit p:nth-child(2) {
        font-size: 24px;
    }

    /*pages*/
    .sub-banner {
        height: 450px;
    }
    .sub-banner .txt p:first-child {
        font-size: 32px;
    }
    .sub-banner .txt p:last-child {
        font-size: 14px;
    }
    .section-tit span {
        font-size: 24px;
    }
    .sm-tit {
        font-size: 18px;
    }
    .overview-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .overview-grid .item .bt {
        text-align: left;
        word-break: keep-all;
    }
    .double-table {
        flex-direction: column;
    }
    .greetings-box {
        flex-direction: column;
    }
    .greetings-box .img-box {
        width: 100%;
        aspect-ratio: unset;
        height: 300px;
    }
    .greetings-box .img-box::after {
        content: "";
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.2);
        z-index: 1;
    }
    .greetings-box .img-box p {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        width: 100%;
        padding: 0 24px;
        text-align: center;
    }
    .greetings-box .txt {
        width: 100%;
    }
    .vision-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .vision-grid .item .bg {
        aspect-ratio: 5 / 2;
        overflow: hidden;
    }
    .vision-grid .item .txt .content {
        gap: 12px;
    }
    .history-area .item .year {
        min-width: 200px;
    }
    .photo-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px 12px;
    }
    .contact-banner {
        height: 400px;
    }
    .contact-grid {
        margin-top: -100px;
    }
    .contact-grid .item {
        padding: 24px 16px;
    }
    .contact-grid .item .img-box {
        padding-bottom: 16px;
    }
    .contact-grid .item .txt {
        padding-top: 16px;
    }
    .root_daum_roughmap .wrap_map {
        height: 400px !important;
    }
    .map-info .lt {
        font-size: 16px;
    }
    .map-info > a {
        width: 200px;
    }
    .map-grid .item .tp p:nth-child(2) {
        font-size: 16px;
    }
    
}
@media screen and (max-width: 767px) {
    /*header*/
    .header-wrap .h-logo {
        width: 150px;
    }
    .all-gnb {
        padding-top: 80px;
        padding-bottom: 150px;
    }
    .all-gnb .box {
        justify-content: flex-start;
    }
    .gnb-grid {
        border-top: 1px solid var(--border-color);
    }
    .gnb-grid .item {
        gap: 16px;
        padding: 24px 0;
    }
    .gnb-grid .item:not(:last-child) {
        border-right: none;
    }
    .gnb-grid .item > a {
        font-size: 20px;
    }
    .gnb-grid .item ul {
        gap: 12px;
    }
    .gnb-grid .item ul li a {
        font-size: 14px;
    }
    .gnb-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .all-txt {
        display: none;
    }
    .lang-area a {
        font-size: 14px;
    }
    /*footer*/
    .f-logo img {
        width: 150px;
    }
    /*메인*/
    .do-area {
        background-color: #fff;
        height: auto;
        overflow: unset;
    }
    .do-area .wc-tit {
        position: relative;
        top: unset;
        left: unset;
        transform: unset;
        padding: 100px 8px 48px;
    }
    .do-area .wc-tit p:first-child {
        font-size: 24px;
        color: var(--black-color);
    }
    .do-area .wc-tit p:nth-child(2) {
        font-size: 14px;
        color: var(--sub-txt-color-02);
    }
    .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: 60px 16px;
        gap: 16px;
    }
    .do-grid .item .txt p:nth-child(3) {
        font-size: 14px;
    }
    .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%);
    }
    .link-btn a {
        width: 160px;
    }
    .link-btn.tr {
        position: relative;
        left: unset;
        bottom: 48px;;
        transform: unset;
    }
    .link-btn.left {
        justify-content: center;
    }
    .main-contactus {
        height: 500px;
    }
    .main-contactus .bg {
        width: 100%;
        height: 100%;
    }
    .main-contactus .bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .main-contactus .txt {
        flex-direction: column;
        gap: 48px;
    }
    .main-tit {
        align-items: center;
    }
    .main-tit p:nth-child(3) {
        font-size: 14px;
        text-align: center;
        word-break: keep-all;
    }
    .main-contactus .txt .rt img {
        width: 180px;
    }

    /*pages*/
    .page-area {
        padding: 100px 0;
    }
    .sub-banner .txt p:first-child {
        font-size: 24px;
    }
    .sub-menu > button {
        width: 140px;
        padding: 0 12px;
    }
    .sub-menu .sub-list {
        width: 100%;
        padding: 16px 12px;
    }
    .sub-menu .sub-list li a {
        font-size: 12px;
    }
    .greetings-box .img-box {
        height: 250px;
    }
    .greetings-box .img-box p {
        font-size: 20px;
    }
    .greetings-box .txt p {
        font-size: 14px;
    }
    .vision-grid .item .txt .content p {
        font-size: 14px;
    }
    .history-banner {
        height: 300px;
    }
    .history-banner .txt p:first-child {
        font-size: 20px;
    }
    .history-banner .txt p:last-child {
        font-size: 14px;
    }
    .history-area .item {
        gap: 36px;
    }
    .history-area .item .year {
        min-width: 130px;
        font-size: 20px;
    }
    .history-area .item .content .box .date {
        font-size: 14px;
    }
    .history-area .item .content .box .txt span {
        font-size: 14px;
    }
    .photo-list .item .cate {
        font-size: 12px;
    }
    .photo-list .item .txt {
        font-size: 16px;
    }
    th, td {
        font-size: 14px;
    }
    .rs-area .signboard {
        width: 100%;
    }
    .rs-area .intro-txt p:first-child {
        font-size: 14px;
    }
    .rs-area .intro-txt p {
        font-size: 16px;
    }
    .rs-area .content p {
        font-size: 14px;
    }
    .contact-banner {
        height: 300px;
    }
    .contact-banner .txt {
        height: 100%;
        font-size: 20px;
        padding: 24px 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 36px;
    }
    .map-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .map-grid .item:not(:last-child) {
        border-right: none;
    }
    .map-grid .item:nth-child(odd) {
        border-right: 1px solid var(--border-color);
    }
    .map-grid .item:nth-child(-n+2) {
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 16px;
    }
    .product-intro .img-box {
        margin-bottom: 24px;
    }
    .product-tit {
        font-size: 20px;
    }
    .product-intro::after {
        margin: 60px 0;
    }
    .product-adv {
        flex-wrap: wrap;
        gap: 48px 16px;
    }
    .product-adv .item {
        width: calc(50% - 16px);
    }
    .product-adv .item .img-box span {
        font-size: 16px;
    }
    .product-adv .item .expl {
        font-size: 14px;
    }
    .product-table::before {
        margin: 60px 0;
    }
}
@media screen and (max-width: 480px) {
    /*pages*/
    .overview-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .overview-grid .item {
        gap: 16px;
    }
    .overview-grid .item .bt {
        text-align: right;
    }
    .greetings-box .img-box p {
        font-size: 16px;
    }
    .vision-grid .item {
        margin-left: 0;
        margin-top: -1px;
    }
    .vision-grid .item .txt span {
        font-size: 20px;
    }
    .vision-grid .item .bg {
        aspect-ratio: 1 / 1;
    }
    .history-area .item {
        gap: 16px;
    }
    .history-area .item .year {
        min-width: 60px;
    }
    .history-area .item .content .box .date {
        min-width: 24px;
    }
    .history-area .item .content .box {
        gap: 16px;
    }
    .photo-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .photo-list .item .txt {
        font-size: 14px;
    }
    .contact-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .contact-grid .item .img-box {
        width: 34px;
    }
    .contact-grid .item .txt {
        width: 100%;
        font-size: 14px;
    }
    .map-info {
        flex-direction: column;
    }
    .map-grid {
        grid-template-columns: repeat(1, 1fr);
        border-bottom: none;
    }
    .map-grid .item {
        padding: 16px 0;
    }
    .map-grid .item:nth-child(-n+2) {
        border-right: none;
    }
    .map-grid .item:nth-child(odd) {
        border-right: none;;
    }
    .map-grid .item {
        border-bottom: 1px solid var(--border-color);
    }
}