@media screen and (max-width: 768px) {
    .hide-pc {
        display: block;
    }

    .hide-mobile {
        display: none;
    }

    .title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    /* ================================== */

    /* 헤더 */
    .header {
        height: 70px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    .header .header-container {
        gap: 0;
        justify-content: space-between;
        padding: 0 15px;
    }

    .header .header-logo img {
        height: 25px;
    }

    .header .mobile-buttons {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    /* 모바일 버튼 */
    .header .mobile-left-btn,
    .header .mobile-menu-btn {
        display: block;
    }

    .header .mobile-left-btn {
        padding: 0px 10px;
        background-color: #fff;
        color: var(--maincolor);
        border-radius: 150px;
        font-size: 11px;
        font-weight: 700;
        text-decoration: none;
        height: 30px;
        line-height: 30px;
        transition: background-color 0.3s ease;
    }

    .header.on .mobile-left-btn {
        background-color: var(--maincolor);
        color: #fff;
    }

    .header .mobile-left-btn:hover {
        background-color: var(--subcolor);
    }

    .header .mobile-menu-btn {
        font-size: 24px;
        padding: 0;
    }

    /* 모바일 메뉴 */
    .header .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #fff;
        padding: 25px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .header .nav-list a {
        color: var(--text-color1);
    }

    .header .nav-menu.active {
        right: 0;
    }

    .header .nav-menu .close-btn {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: var(--text-color);
        width: 30px;
        height: 30px;
        align-items: center;
        justify-content: center;
        transition: color 0.3s ease;
    }

    .header .nav-menu .close-btn:hover {
        color: var(--maincolor);
    }

    .header .nav-list {
        flex-direction: column;
        gap: 25px;
        margin-top: 100px;
        align-items: center;
    }

    /* ================ 메인 ================ */

    .main-top {
        padding-bottom: 50px;
    }

    .main-top-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 30px;
        padding-top: 30px;
    }

    .main-top .main-top-txt {
        order: 1;
        margin-bottom: 20px;
    }

    .main-top .main-top-txt .main-title {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .main-top .main-top-txt .main-subtitle {
        font-size: 20px;
    }

    .main-top .main-top-img {
        order: 2;
        justify-content: center;
    }

    .main-top .main-top-img img {
        width: 200px;
    }

    .main-top-stats {
        flex-direction: column;
        padding: 0;
        gap: 12px;
        border-radius: 0;
        overflow: visible;
        box-shadow: none;
        background-color: transparent;
    }

    .main-top-stats .stat-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px;
        background-color: rgba(255, 255, 255, 0.95);
        text-align: left;
        border-radius: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .main-top-stats .stat-item:not(:last-child) {
        border-bottom: none;
    }

    .main-top-stats .stat-item:not(:last-child)::after {
        display: none;
    }

    .main-top-stats .stat-number {
        font-size: 22px;
        margin-bottom: 0;
        order: 2;
    }

    .main-top-stats .stat-unit {
        font-size: 14px;
    }

    .main-top-stats .stat-label {
        font-size: 15px;
        font-weight: 500;
        order: 1;
    }

    .main-top-stats .stat-note {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        text-align: center;
        font-size: 11px;
    }


    /* 모바일 links 섹션 */
    .main-links {
        padding: 15px 0;
    }

    .main-links .container {
        padding: 0;
    }

    .partners-logo-wrapper {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        gap: 0;
    }

    .partner-logo {
        flex: 0 0 80px;
        width: 80px;
        padding: 0;
        margin: 0 5px;
    }

    .partner-logo img {
        max-width: 100%;
        max-height: 20px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    /* 모바일 introduce 섹션 */
    .main-introduce {
        padding: 50px 0;
    }

    .main-introduce .container {
        flex-direction: column;
        gap: 40px;
    }

    .main-introduce-title {
        padding-top: 0;
        text-align: center;
    }

    .main-introduce-title .title {
        text-align: center;
    }

    .main-introduce-title .subtitle {
        text-align: center;
    }

    .main-introduce-title p.small {
        font-size: 12px;
    }

    /* 모바일 실시간 테이블 (introduce 내부) */
    .main-introduce-live {
        border-radius: 15px;
    }

    .live-header {
        padding: 12px 15px;
        gap: 20px;
    }

    .live-update,
    .live-time {
        font-size: 12px;
    }

    .live-table-header {
        padding: 10px 10px;
    }

    .live-table-header span {
        font-size: 12px;
    }

    .live-scroll-container {
        height: 240px;
    }

    .live-row {
        padding: 12px 10px;
    }

    .live-row .col-name .name {
        font-size: 13px;
    }

    .live-row .col-product {
        gap: 5px;
    }

    .live-row .col-product i {
        font-size: 16px;
        width: 20px;
    }

    .live-row .col-product .product-name {
        font-size: 12px;
    }

    .live-row .col-amount {
        font-size: 12px;
    }

    .live-row .status-badge {
        padding: 5px 8px;
        font-size: 11px;
    }

    /* 모바일 product 섹션 */
    .main-product {
        padding: 50px 0;
    }

    .main-product .container {
        padding: 0 15px;
        max-width: 100%;
    }

    .main-product .card-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: 100%;
    }

    .main-product .card {
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
        border-radius: 15px;
        min-height: 180px;
    }

    .main-product .card-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
        word-break: keep-all;
    }

    .main-product .card-content .card-desc {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 10px;
        word-break: keep-all;
    }

    .main-product .card-content .card-btn {
        padding: 8px 14px;
        font-size: 11px;
        white-space: nowrap;
    }

    .main-product .card-img {
        position: absolute;
        right: 10px;
        bottom: 10px;
        width: 70px;
        height: 70px;
    }

    .btn-container {
        display: flex;
        justify-content: center;
        margin-top: 50px;
    }

    .btn-container .btn {
        width: 250px;
        height: 60px;
        text-align: center;
        line-height: 60px;
        font-size: 16px;
        text-decoration: none;
        font-weight: 700;
        background-color: var(--maincolor);
        color: #fff;
        border-radius: 150px;
        transition: background-color 0.3s ease;
    }

    .btn-container .btn:hover {
        background-color: var(--subcolor);
    }

    /* 모바일 리뷰 섹션 */
    .main-review {
        padding: 50px 0;
    }

    .review-swiper {
        padding: 20px 0;
    }

    .review-card {
        padding: 20px;
        height: 280px;
    }

    .profile-img {
        width: 40px;
        height: 40px;
    }

    .profile-info .name {
        font-size: 14px;
    }

    .review-text {
        font-size: 14px;
        -webkit-line-clamp: 4;
    }

    .review-date {
        font-size: 12px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .main-lic {
        padding: 50px 0;
    }

    .main-lic .container {
        padding: 0 15px;
        max-width: 100%;
    }

    .main-lic .lic-card-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: 100%;
    }

    .main-lic .lic-card {
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
        border-radius: 15px;
        min-height: 220px;
    }

    .main-lic .lic-card-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
        word-break: keep-all;
    }

    .main-lic .lic-card-content .lic-card-desc {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 10px;
        word-break: keep-all;
    }

    .main-lic .lic-card-img {
        position: absolute;
        right: 10px;
        bottom: 10px;
        width: 60px;
        height: 60px;
    }

    /* ================ 서브 페이지 공통 ================ */

    .top-banner {
        padding: 90px 20px;
        height: 150px;
    }

    /* ================ about ================ */

    /* about intro 섹션 */
    .about-intro {
        padding: 40px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-card-inner {
        padding: 20px;
    }

    .about-img {
        margin-bottom: 20px;
    }

    .about-img img {
        max-width: 120px;
    }

    .about-content h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .about-content p {
        font-size: 14px;
        margin-bottom: 10px;
    }

    /* about links 섹션 */
    .about-links {
        padding: 40px 0;
    }

    .about-links-content {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .about-links-text {
        text-align: left;
    }

    .about-links-content h2 {
        font-size: 24px;
    }

    .about-links-content h3 {
        font-size: 18px;
    }

    .about-links-content p {
        font-size: 14px;
        margin-bottom: 0;
    }

    .about-links-button {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 15px;
    }

    /* ================ product ================ */

    .product-intro {
        padding: 40px 0;
    }

    .product-swiper {
        overflow: visible !important;
    }

    .product-item {
        height: 610px;
    }

    .product-header h3 {
        font-size: 18px;
    }

    .product-content .label {
        font-size: 14px;
    }

    .product-content .value {
        font-size: 14px;
    }

    /* Product Step 섹션 */
    .product-step {
        padding: 40px 0;
        padding-top: 0;
    }

    .product-step-content {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }

    .step-cards {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }

    .step-card {
        max-width: 100%;
        width: 80%;
        padding: 35px 25px;
    }

    .step-card-number {
        width: 45px;
        height: 45px;
        font-size: 16px;
        top: -12px;
    }

    .step-card-icon {
        width: 70px;
        height: 70px;
        margin: 15px auto 20px;
    }

    .step-card h3 {
        font-size: 18px;
    }

    .step-card p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .step-badge {
        font-size: 14px;
        padding: 6px 14px;
    }

    .step-arrow {
        transform: rotate(90deg);
        font-size: 20px;
    }

    .tip-item {
        padding: 15px;
        gap: 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .tip-label {
        font-size: 12px;
        padding: 6px 10px;
    }

    .tip-content {
        font-size: 14px;
    }

    /* request howto 섹션 */
    .request-howto {
        padding: 40px 0;
    }

    .request-howto-title h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .request-howto-title p {
        font-size: 16px;
    }

    .request-howto-steps {
        flex-direction: column;
        gap: 15px;
    }

    .request-step-image {
        height: auto;
    }

    .request-step-content {
        padding: 10px 15px 15px 15px;
        ;
    }

    .request-step-title {
        font-size: 15px;
    }

    .request-step-desc {
        font-size: 13px;
    }

    /* request button 섹션 */
    .request-button {
        padding: 40px 0;
    }

    .request-button-title.bottom p {
        font-size: 14px;
    }

    .request-button-title .alert i {
        font-size: 14px;
        margin-right: 5px;
    }

    .request-button-links {
        flex-direction: column;
        gap: 10px;
    }

    .request-button-link {
        justify-content: center;
    }

    .form-desc p {
        font-size: 14px;
    }

    /* request notice 섹션 */
    .request-notice {
        padding: 40px 0;
    }

    .request-notice-icon img {
        width: 60px;
    }

    .request-notice-content h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .request-notice-content p {
        font-size: 15px;
        padding: 0 20px;
    }

    /* request kakao 섹션 - 주석처리
    .request-kakao {
        padding: 40px 0;
    }

    .request-kakao-title {
        margin-bottom: 30px;
    }

    .request-kakao-title h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .request-kakao-title p {
        font-size: 15px;
        padding: 0 20px;
    }

    .request-kakao-content {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
        padding: 0 20px;
    }

    .request-kakao-banner {
        margin: 40px 0px;
        padding: 12px 15px;
    }

    .request-kakao-banner p {
        font-size: 16px;
    }

    .request-kakao-box {
        max-width: 100%;
    }
    */

    /* ================ footer ================ */

    .footer {
        padding: 30px 0;
        padding-bottom: calc(30px + 42px);
        /* 모바일에서 기본 패딩 + 플로팅 메뉴 높이 */
    }

    .footer-container {
        padding: 0 15px;
    }

    .links-logo {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .contact-info {
        flex-direction: column;
        gap: 5px;
    }

    .contact-info p {
        font-size: 13px;
    }

    .footer-notice {
        font-size: 12px;
    }

    .footer-copyright {
        font-size: 11px;
    }

    /* ================ 플로팅 메뉴 ================ */

    .floating a {
        padding: 12px;
        font-size: 14px;
    }

    .floating i {
        font-size: 16px;
    }

    /* faq 섹션 */
    .faq-container {
        padding: 40px 0;
    }

    .faq-title {
        margin-bottom: 30px;
    }

    .faq-title h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .faq-title p {
        font-size: 15px;
        padding: 0 20px;
    }

    .faq-question {
        padding: 20px;
    }

    .question-mark {
        font-size: 18px;
        margin-right: 12px;
    }

    .question-text {
        font-size: 14px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-answer p {
        padding: 20px 0;
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .main-product .card-grid {
        grid-template-columns: repeat(1, 1fr);
        justify-items: center;
        max-width: 900px;
        margin: 0 auto;
    }

    .main-product .card {
        width: 100%;
        max-width: 420px;
    }

    .main-lic .lic-card-grid {
        grid-template-columns: repeat(1, 1fr);
        justify-items: center;
        max-width: 900px;
        margin: 0 auto;
    }

    .main-lic .lic-card {
        width: 100%;
        max-width: 420px;
    }
}

@media (min-width: 1024px) {
    .main-product .card-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        max-width: 900px;
        margin: 0 auto;
    }

    .main-product .card {
        width: 100%;
        max-width: 400px;
    }

    .main-lic .lic-card-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        max-width: 900px;
        margin: 0 auto;
    }

    .main-lic .lic-card {
        width: 100%;
        max-width: 400px;
    }
}

@media (min-width: 1760px) {
    .main-product .card-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1920px;
    }

    .main-product .card {
        max-width: 400px;
    }

    .main-lic .lic-card-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1920px;
    }

    .main-lic .lic-card {
        max-width: 400px;
    }
}