/* ===== 헤더 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.header.on {
    background-color: #fff;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 35px;
}

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

.header .contact-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    padding: 10px 0;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: #fff;
    color: var(--primary-color) !important;
}

.header .contact-buttons a:hover,
.header.on .contact-buttons a:hover {
    background-color: var(--subcolor);
    color: white !important;
}

.header.on .contact-buttons a {
    background-color: var(--primary-color);
    color: white !important;
}

/* ===== 메인 비주얼 ===== */
.visual-section {
    min-height: 100vh;
    padding: 120px 0 80px 0;
    background-image: url('../img/main-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: white;
}

.visual-section .content {
    width: 100%;
}

.visual-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.visual-text {
    flex: 1;
    text-align: left;
}

.visual-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-section .title {
    font-family: "Paperlogy", sans-serif;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 115px;
    line-height: 1;
    margin-bottom: 20px;
    text-align: left;

    text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
}

.visual-section .sub-title {
    font-family: "Paperlogy", sans-serif;
    color: #fff;
    font-size: 28px;
    margin-bottom: 10px;
    text-align: left;
}

.visual-section .contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 1);
    color: var(--primary-color);
    border: 1px solid #fff;
    font-family: "Paperlogy", sans-serif;
    font-size: 25px;
    font-weight: 700;
    padding: 15px 70px;
    border-radius: 50px;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.visual-section .contact-btn .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.visual-section .contact-btn:hover {
    background-color: rgba(255, 255, 255, 0);
    color: #fff;
}

.visual-section .contact-btn:hover .arrow {
    transform: translateX(3px);
}

.money-images {
    max-width: 500px;
    animation: float 3s ease-in-out infinite;
}

.money-images img {
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ===== 메인 링크 ===== */
.links-section {
    padding: 15px 0;
    background-color: var(--bg-light);
}

.links-section .content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.partners-logo-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    overflow-x: hidden;
    scrollbar-width: none;
}

.partners-logo-wrapper::-webkit-scrollbar {
    display: none;
}

.partner-logo {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 35px;
}

/* ===== 메인 인트로 소개 ===== */
.intro-section {
    background-color: #fff;
    padding: 100px 0;
    color: var(--text-color);
}

.intro-header {
    text-align: center;
    margin-bottom: 50px;
}

.intro-section .title {
    color: var(--primary-color);
}

.intro-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(255, 199, 0, 0.1);
    border: 1px solid rgba(255, 199, 0, 0.15);
    border-radius: 15px;
    padding: 25px 30px;
    flex: 1;
    max-width: 320px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 10px;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 5px;
}

.feature-desc {
    font-size: 16px;
    color: var(--text-color);
}

.intro-section .info-box {
    background: rgba(255, 199, 0, 0.1);
    border: 2px solid var(--primary-color);
    border-left: 5px solid var(--primary-color);
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    text-align: left;
}

.intro-section .info-title {
    background-color: rgba(255, 199, 0, 0.05);
    padding: 15px 30px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 199, 0, 0.2);
}

.intro-section .info-icon {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.intro-section .info-content {
    padding: 25px 30px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #fff;
}

.intro-section .highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== 메인 취급상품 소개 ===== */
.product-section {
    background-color: #fff;
    text-align: center;
    padding: 100px 0;
}

.product-section .product-img {
    max-width: 800px;
    margin: 0 auto;
}

.product-section .product-img img {
    width: 100%;
    height: auto;
}

/* ===== 메인 이용방법 소개 ===== */
.process-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.process-header {
    text-align: center;
    margin-bottom: 50px;
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-steps .step {
    flex: 1;
    background-color: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
}

.step-num {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step-icon {
    width: 85px;
    height: 85px;
    background-color: rgba(255, 199, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.step-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.85;
}

.step-arrow {
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

/* ===== 머니콘 패럴랙스 ===== */
.parallax-section {
    padding: 100px 0;
    color: white;
    text-align: center;
    position: relative;

    background-image: url('../img/main-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.parallax-section .content {
    position: relative;
    z-index: 1;
}

.parallax-header {
    margin-bottom: 50px;
}

.parallax-section .sub-title {
    color: rgba(255, 255, 255, 0.9);
}

.tag-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tag-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--subcolor);
    color: white;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
}

.tag-badge i {
    font-size: 14px;
}

.parallax-info-boxes {
    display: flex;
    justify-content: center;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.parallax-info-box {
    flex: 1;
    background-color: var(--bg-dark);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 35px 30px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.info-box-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.info-box-icon {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-box-content {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

/* ===== 연락처 섹션 ===== */
.contact-section {
    background-color: var(--bg-dark);
    padding: 80px 0;
    color: white;
}

.contact-section .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.contact-header {
    flex: 1;
}

.contact-section .title {
    line-height: 1.2;
    text-align: left;
    margin-bottom: 10px;
}

.contact-section .title b {
    color: var(--primary-color);
    font-weight: 700;
}

.contact-section .sub-title {
    text-align: left;
    margin-bottom: 0px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-shrink: 0;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 25px;
    border-radius: 15px;
    min-width: 350px;
    text-decoration: none;
    color: white;
    transition: transform 0.2s ease;
}

.contact-card:hover {
    transform: translateX(5px);
}

.phone-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--subcolor) 100%);
}

.kakao-card {
    background: linear-gradient(135deg, #fffc00 0%, #ffd900 100%);
    color: #3c1e1e;
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.kakao-icon {
    background-color: rgba(0, 0, 0, 0.15);
}

.card-info {
    flex: 1;
}

.card-label {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 4px;
}

.card-value {
    font-size: 20px;
    font-weight: 700;
}

.card-arrow {
    font-size: 16px;
    opacity: 0.6;
}

/* ===== 헤더 ===== */
.footer {
    background-color: var(--text-color);
    color: #fff;
    padding: 40px 0;
    padding-bottom: calc(40px + 47px);
    /* 기본 패딩 + 플로팅 메뉴 높이 */
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-info {
    margin-bottom: 30px;
}

.company-logo {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.company-logo img {
    width: 200px;
    height: auto;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-notice {
    margin-bottom: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== 플로팅 배너 ===== */
.bottom-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 1000;
    height: 45px;
}

.banner-left,
.banner-right {
    flex: 1;
    display: flex;
}

.banner-left a,
.banner-right a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    gap: 8px;
}

.banner-left a {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.banner-right a {
    background-color: #fffc00;
    color: black;
}

.bottom-banner i {
    font-size: 18px;
}

/* ===== 모바일 반응형 ===== */
@media (max-width: 768px) {

    .title {
        font-size: 28px;
    }

    .sub-title {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* ===== 헤더 ===== */
    .header-inner {
        padding: 15px;
    }

    .logo img {
        height: 25px;
    }

    .header .contact-buttons {
        gap: 10px;
    }

    .header .contact-buttons a {
        width: 85px;
        font-size: 12px;
    }

    /* ===== 메인 비주얼 ===== */

    .visual-section {
        padding: 100px 0 50px 0;
        min-height: auto;
    }

    .visual-layout {
        flex-direction: column-reverse;
        gap: 30px;
        text-align: center;
    }

    .visual-text {
        text-align: center;
    }

    .visual-section .title {
        font-size: 65px;
        text-align: center;
    }

    .visual-section .sub-title {
        font-size: 20px;
        text-align: center;
    }

    .money-images {
        max-width: 280px;
        animation: float 3s ease-in-out infinite;
    }

    .visual-section .contact-btn {
        font-size: 16px;
        padding: 14px 40px;
        margin-top: 15px;
    }

    /* ===== 메인 링크 ===== */
    .links-section {
        padding: 20px 0;
    }

    .links-section .content {
        padding: 0px;
    }

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

    .partner-logo {
        flex: 0 0 auto;
        padding: 0;
    }

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

    /* ===== 메인 인트로 소개 ===== */
    .intro-section,
    .product-section,
    .process-section,
    .parallax-section,
    .contact-section {
        padding: 50px 0;
    }

    .intro-header,
    .process-header {
        margin-bottom: 30px;
    }

    .intro-features {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }

    .feature-item {
        max-width: 100%;
        padding: 20px;
        gap: 12px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .feature-title {
        font-size: 16px;
    }

    .feature-desc {
        font-size: 14px;
    }

    .intro-section .info-box {
        margin: 0;
    }

    .intro-section .info-title {
        padding: 15px;
        font-size: 16px;
    }

    .intro-section .info-icon {
        font-size: 20px;
    }

    .intro-section .info-content {
        font-size: 14px;
        padding: 20px 15px;
        line-height: 1.6;
    }

    /* ===== 메인 이용방법 소개 ===== */
    .process-steps {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .process-steps .step {
        flex: 0 0 calc(50% - 6px);
        padding: 20px 15px;
    }

    .step-num {
        margin-bottom: 10px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 10px;
    }

    .step-icon img {
        width: 26px;
        height: 26px;
    }

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

    .step-desc {
        font-size: 13px;
        line-height: 1.4;
    }

    .step-arrow {
        display: none;
    }

    /* ===== 머니콘 패럴랙스 ===== */
    .tag-badges {
        gap: 10px;
        margin-bottom: 30px;
    }

    .tag-badge {
        padding: 8px 16px;
        font-size: 12px;
        gap: 6px;
    }

    .tag-badge i {
        font-size: 12px;
    }

    .parallax-header {
        margin-bottom: 35px;
    }

    .parallax-info-boxes {
        flex-direction: column;
        gap: 18px;
        padding: 0;
    }

    .parallax-info-box {
        padding: 25px 20px;
    }

    .info-box-header {
        margin-bottom: 12px;
    }

    .info-box-title {
        font-size: 17px;
    }

    .info-box-icon {
        font-size: 20px;
    }

    .info-box-content {
        font-size: 13px;
        line-height: 1.6;
    }

    /* ===== 연락처 섹션 ===== */
    .contact-section .content {
        flex-direction: column;
        gap: 40px;
    }

    .contact-header {
        text-align: center;
    }

    .contact-section .title,
    .contact-section .sub-title {
        text-align: center;
    }

    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .card-label {
        font-size: 13px;
    }

    .card-value {
        font-size: 17px;
    }

    .card-arrow {
        font-size: 14px;
    }

    /* ===== 푸터 ===== */
    .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;
    }

    /* ===== 플로팅 배너 ===== */
    .bottom-banner {
        height: 40px;
    }

    .banner-left a,
    .banner-right a {
        font-size: 14px;
    }

    .bottom-banner i {
        font-size: 16px;
    }

    .contact-card {
        min-width: auto;
    }
}

/* ===== POPUP (주석처리) =====
.main_popup {
    position: fixed;
    z-index: 1005;
    top: 100px;
    left: 300px;
    display: none;
    margin: 20px;
    border: 2px solid #333;
}

.main_popup.on {
    display: block;
    background-color: #fff;
}

.main_popup .img_wrap {
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_popup .btn_close {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0;
    border: 0;
    color: black;
}

.main_popup .btn_close::before {
    content: "";
    width: 2px;
    height: 25px;
    background-color: #333;
    position: absolute;
    top: 0;
    left: 12px;
    transform: rotate(45deg);
}

.main_popup .btn_close::after {
    content: "";
    width: 25px;
    height: 2px;
    background-color: #333;
    position: absolute;
    top: 12px;
    left: 0;
    transform: rotate(45deg);
}

.main_popup .btn_today_close {
    width: 100%;
    height: 45px;
    background-color: #333;
    text-align: center;
    color: #fff;
    font-size: 14px;
    display: block;
}

.main_popup .btn_today_close span {
    display: block;
    line-height: 40px;
    opacity: 0.8;
}

@media all and (max-width:767px) {
    .main_popup {
        position: fixed;
        z-index: 1005;
        top: 35px;
        left: 0px;
        display: none;
        margin: 20px;
    }

    .main_popup .img_wrap {
        max-width: 400px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
===== POPUP 끝 ===== */