@charset "UTF-8";
@import url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy.css');


*,
*::before,
*::after {
    box-sizing: border-box;
}


body {
    margin: 0;
    font-family: 'Paperlogy', serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #222222;
    background-color: #f8f8f8;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(67, 89, 113, 0);
}

ol,
ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

li {
    list-style: none;
}

b,
strong {
    font-weight: 700;
}

a {
    color: #222;
    text-decoration: none;
    cursor: pointer;
}

h1, h2, h3, h4, h5, h6, p, span {
    margin: 0;
}

th {
    font-weight: 500;
    text-align: inherit;
    text-align: -webkit-match-parent;
}

thead,
tbody,
tfoot,
tr,
td,
th {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

label {
    display: inline-block;
}

button {
    color: #464a53;
    border: none;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
}

button:focus:not(:focus-visible) {
    outline: 0;
}

input,
button,
select,
optgroup,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}



@media (min-width: 768px) {
    .mo-only{
        display: none !important;
    }

}

@media (max-width: 768px) {
    .pc-only{
        display: none !important;
    }
}

.d-flex {
    display: flex !important;
}

.overflow-hidden {
    overflow: hidden;!important;
}

body.menu-open {
    overflow: hidden;
}


.header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.5s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header-container.header-scrolled {
    background-color: #ffffff;
    box-shadow: 0px 1px 50px rgb(0 0 0 / 10%);
    border-bottom: none;
}

/* bg-white 클래스 추가 시 */
.header-container.bg-white {
    background-color: #ffffff;
    box-shadow: 0px 1px 50px rgb(0 0 0 / 10%);
    border-bottom: none;
}

.header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 로고 */
.header-logo {
    display: block;
    z-index: 1001;
}

.header-logo img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.header-logo .logo-white {
    display: block;
}

.header-logo .logo-black {
    display: none;
}

.header-container.header-scrolled .header-logo .logo-white,
.header-container.bg-white .header-logo .logo-white {
    display: none;
}

.header-container.header-scrolled .header-logo .logo-black,
.header-container.bg-white .header-logo .logo-black {
    display: block;
}

/* 네비게이션 */
.header-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
}

.header-nav-menu li {
    margin-left: 40px;
    position: relative;
}

.header-nav-menu li a {
    font-size: 18px;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 5px;
}

.header-container.header-scrolled .header-nav-menu li a,
.header-container.bg-white .header-nav-menu li a {
    color: #000000;
}

.header-nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF7545;
    transition: width 0.3s ease;
}

.header-nav-menu li a:hover::after,
.header-nav-menu li.has-dropdown:hover > a::after {
    width: 100%;
}

.header-nav-menu li a:hover {
    color: #ffffff;
}

.header-container.header-scrolled .header-nav-menu li a:hover,
.header-container.bg-white .header-nav-menu li a:hover {
    color: #000000;
}

/* 뱃지 스타일 */
.header-nav-menu li.has-badge {
    position: relative;
}

.header-nav-menu .menu-badge {
    position: absolute;
    top: -16px;
    right: -65px;
    background-color: #ff4757;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

/* 드롭다운 */
.header-nav-menu li.has-dropdown {
    position: relative;
}

.header-nav-menu li.has-dropdown::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

.header-service-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: -20px;
    min-width: max-content;
    padding: 7px;
    box-shadow: 0 0 8px 2px rgba(3, 9, 35, 0.15);
    background-color: #fff;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header-nav-menu li.has-dropdown:hover .header-service-dropdown {
    display: block;
    opacity: 1;
}

.header-service-dropdown li {
    width: 100%;
    min-width: 145px;
    margin: 0;
    padding: 0;
}

.header-service-dropdown li a {
    color: rgb(0, 0, 0);
    padding: 14px 16px;
    width: 100%;
    display: block;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.3px;
    transition: all 0.2s ease;
}

.header-service-dropdown li a::after {
    display: none;
}

.header-service-dropdown li a:hover {
    font-weight: 700;
    background-color: rgba(9,30,66,.04);
    color: #000000;
}

.header-dropdown-icon {
    margin-left: 5px;
    width: 10px;
    height: 6px;
    stroke: #ffffff;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-container.header-scrolled .header-dropdown-icon,
.header-container.bg-white .header-dropdown-icon {
    stroke: #000000;
}

/* 로그인/회원가입 구분선 */
.header-auth-divider {
    width: 1px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.3);
}

.header-container.header-scrolled .header-auth-divider,
.header-container.bg-white .header-auth-divider {
    background-color: rgba(0, 0, 0, 0.2);
}

/* 로그인/회원가입 링크 */
.header-auth-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-auth-links a {
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.header-container.header-scrolled .header-auth-links a,
.header-container.bg-white .header-auth-links a {
    color: #000000;
}

.header-auth-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF7545;
    transition: width 0.3s ease;
}

.header-auth-links a:hover::after {
    width: 100%;
}

.header-auth-links a:hover {
    color: #ffffff;
}

.header-container.header-scrolled .header-auth-links a:hover,
.header-container.bg-white .header-auth-links a:hover {
    color: #000000;
}


/* 햄버거 메뉴 */
.header-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.header-hamburger span {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    transition: 0.3s;
    display: block;
}

.header-container.header-scrolled .header-hamburger span,
.header-container.bg-white .header-hamburger span {
    background-color: #000000;
}

.header-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background-color: #000000;
}

.header-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.header-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background-color: #000000;
}

/* 모바일 메뉴 */
.header-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1000;
    transition: 0.3s;
    overflow-y: auto;
}

.header-mobile-menu.active {
    right: 0;
}

.header-mobile-menu-inner {
    padding: 100px 30px 30px;
}

.header-mobile-logo {
    text-align: center;
    margin-bottom: 50px;
}

.header-mobile-logo img {
    height: 40px;
}

.header-mobile-menu ul {
    list-style: none;
    padding: 0;
}

.header-mobile-menu ul li {
    text-align: center;
    margin-bottom: 30px;
}

.header-mobile-menu ul li a {
    font-size: 24px;
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 10px 0;
}

.header-mobile-menu ul li a:hover {
    color: #0074ff;
}

.header-mobile-cta {
    text-align: center;
    margin-top: 50px;
}

.header-mobile-cta .header-cta-wrap {
    width: 200px;
}

.header-mobile-cta .header-cta-button {
    padding: 15px 0;
}

.header-mobile-cta .header-cta-text {
    font-size: 18px;
}

.header-mobile-sns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.header-mobile-sns a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-mobile-sns img {
    width: 100%;
    height: 100%;
}

.footer-section {
    background-color: #000000;
    padding: 50px 20px 30px;
    border-top: 1px solid #222;
    font-family: 'Paperlogy', sans-serif;
}

.footer-section .footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section .footer-menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.footer-section .footer-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-section .footer-menu a:hover {
    color: #ffcb00;
}

.footer-section .footer-policy {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.footer-section .footer-policy .policy-button {
    background-color: transparent;
    border: 1px solid #444;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.footer-section .footer-policy .policy-button:hover {
    border-color: #ffcb00;
    color: #ffcb00;
}

.footer-section .footer-contact {
    text-align: center;
    margin-bottom: 25px;
}

.footer-section .footer-contact .contact-text {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
}

.footer-section .footer-contact .contact-text .label {
    color: #ffcb00;
    font-weight: bold;
}

.footer-section .footer-bottom {
    text-align: center;
    font-size: 12px;
    color: #666;
    padding-top: 25px;
    border-top: 1px solid #222;
    line-height: 1.7;
}

.footer-section .footer-bottom p {
    margin: 4px 0;
}

/* 태블릿 */
@media (max-width: 1024px) {
    .footer-section {
        padding: 45px 20px 28px;
    }
}

/* 모바일 */
@media (max-width: 768px) {
    .footer-section {
        padding: 40px 15px 25px;
    }

    .footer-section .footer-menu {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 30px;
    }

    .footer-section .footer-menu a {
        font-size: 14px;
    }

    .footer-section .footer-policy {
        gap: 10px;
        margin-bottom: 30px;
    }

    .footer-section .footer-policy .policy-button {
        padding: 8px 16px;
        font-size: 12px;
    }

    .footer-section .footer-contact .contact-text {
        font-size: 14px;
        line-height: 1.7;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .footer-section .footer-bottom {
        font-size: 11px;
        padding-top: 20px;
    }
}

/* 작은 모바일 */
@media (max-width: 480px) {
    .footer-section .footer-contact .contact-text {
        font-size: 13px;
    }
}