@font-face {
    font-family: "Aritaburi";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/Arita-buri-SemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

.jm-body {
    min-height: 100vh;
    font-family: "Pretendard", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #191818;
    background: #ffffff;
}

.jm-body a {
    color: inherit;
    text-decoration: none;
}

.jm-body img {
    display: block;
    max-width: 100%;
}

.m_br {
    display: none;
}

.jm-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.container {
    position: relative;
    max-width: 1720px;
    margin: 0 auto;
    padding: 0 40px;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 90px;
    background: rgba(26, 26, 36, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

#header.scrolled {
    height: 80px;
    background: rgba(26, 26, 36, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

#header .logo {
    display: flex;
    align-items: center;
    width: 150px;
    height: 100%;
}

#header .logo a {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.logo-white,
.logo-color {
    display: block;
    width: 100%;
    max-height: 44px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-white {
    position: relative;
    opacity: 1;
}

.logo-color {
    display: none;
    opacity: 0;
}

.gnb-wrap {
    display: block;
}

.gnb {
    display: flex;
    gap: 50px;
    list-style: none;
}

.gnb li a {
    position: relative;
    padding: 10px 0;
    color: #eeeeee;
    font-size: 16px;
    font-weight: 500;
}

.gnb li a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: #e2b07e;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    content: "";
}

.gnb li a:hover {
    color: #e2b07e;
}

.gnb li a:hover::after {
    width: 100%;
}

.m-menu-btn {
    display: none;
    color: #eeeeee;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.mobile-menu-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.95);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    opacity: 0;
}

.mobile-menu-overlay.active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    transition: transform 0.3s;
    cursor: pointer;
}

.mobile-menu-close:hover {
    color: #e2b07e;
    transform: rotate(90deg);
}

.mobile-menu-list {
    list-style: none;
    text-align: center;
}

.mobile-menu-list li {
    margin: 30px 0;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
}

.mobile-menu-list li a {
    color: #ffffff;
    font-family: "Aritaburi", serif;
    font-size: 28px;
    font-weight: 300;
}

.mobile-menu-list li a:hover {
    color: #e2b07e;
}

.mobile-menu-overlay.active .mobile-menu-list li:nth-child(1) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-list li:nth-child(2) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-list li:nth-child(3) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-list li:nth-child(4) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-list li:nth-child(5) {
    transition-delay: 0.5s;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-list li:nth-child(6) {
    transition-delay: 0.6s;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-list li:nth-child(7) {
    transition-delay: 0.7s;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-list li:nth-child(8) {
    transition-delay: 0.8s;
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1280px) {
    .gnb {
        gap: 30px;
    }

    .gnb li a {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    #header .logo {
        width: 160px;
    }

    .gnb-wrap {
        display: none;
    }

    .m-menu-btn {
        display: block;
    }

    #header,
    #header.scrolled {
        height: 70px;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 20px;
    }

    #header .logo {
        width: 140px;
    }
}

.jm-hero {
    position: relative;
    display: flex;
    align-items: center;
    height: 560px;
    min-height: 560px;
    padding: 128px 0 74px;
    overflow: hidden;
    background: url("/img/sign.png") no-repeat center / cover;
}

.jm-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(16, 16, 24, 0.9) 0%, rgba(16, 16, 24, 0.76) 48%, rgba(16, 16, 24, 0.46) 100%),
        linear-gradient(180deg, rgba(16, 16, 24, 0.44) 0%, rgba(16, 16, 24, 0.84) 100%);
}

.jm-hero__content {
    position: relative;
    z-index: 1;
}

.jm-kicker {
    display: inline-flex;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 800;
    color: #e2b07e;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.jm-hero h1 {
    max-width: 820px;
    font-family: "Aritaburi", serif;
    font-size: clamp(42px, 5.4vw, 68px);
    font-weight: 600;
    line-height: 1.14;
    color: #ffffff;
}

.jm-hero p {
    max-width: 720px;
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.78);
}

.jm-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.jm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
}

.jm-btn--primary {
    color: #191818 !important;
    background: #e2b07e;
    border-color: #e2b07e;
}

.jm-btn--ghost {
    color: #ffffff !important;
}

.jm-section {
    padding: 110px 0;
    background: #ffffff;
}

.jm-section--related {
    background: #dfdfdf;
}

.jm-section--board {
    padding: 82px 0 100px;
    color: #191818;
    background: #ffffff;
}

.jm-board-panel {
    padding-top: 8px;
}

.jm-board-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding: 15px 0;
    color: #5f5851;
    font-size: 15px;
    font-weight: 700;
    border-top: 2px solid #191818;
    border-bottom: 1px solid #ded8d2;
}

.jm-section-head {
    margin-bottom: 46px;
    text-align: center;
}

.jm-section-head--board {
    margin-bottom: 30px;
    text-align: center;
}

.jm-section-head h2 {
    font-family: "Aritaburi", serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 600;
    line-height: 1.2;
    color: #000000;
}

.jm-section--board .jm-section-head h2,
.jm-section--related .jm-section-head h2 {
    color: #191818;
}

.jm-section-head p {
    max-width: 700px;
    margin:0 auto 0;
    font-size: 17px;
    line-height: 1.75;
    color: #363636;
}

.jm-section--board .jm-section-head p,
.jm-section--related .jm-section-head p {
    color: #665f59;
}

.jm-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.jm-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e4ded8;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(25, 24, 24, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.jm-card:hover {
    border-color: rgba(165, 109, 61, 0.38);
    box-shadow: 0 22px 44px rgba(25, 24, 24, 0.12);
    transform: translateY(-3px);
}

.jm-card__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #211b18;
    color: #e2b07e;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.jm-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.jm-card:hover .jm-card__thumb img {
    transform: scale(1.05);
}

.jm-card__body {
    padding: 28px;
}

.jm-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    color: #a56d3d;
}

.jm-card__meta span + span::before {
    content: "/";
    margin-right: 10px;
    color: #c5ad96;
}

.jm-card h2 {
    margin: 0;
    font-size: 23px;
    line-height: 1.38;
    color: #191818;
}

.jm-card h2 a:hover {
    color: #a56d3d;
}

.jm-card p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.75;
    color: #665f59;
}

.jm-card__more {
    display: inline-flex;
    margin-top: 22px;
    font-size: 14px;
    font-weight: 800;
    color: #a56d3d !important;
}

.jm-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.jm-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

.jm-section--board .jm-pagination .page-numbers,
.jm-section--related .jm-pagination .page-numbers {
    color: #4c463f;
    background: #ffffff;
    border-color: #ded8d2;
}

.jm-pagination .current,
.jm-pagination .page-numbers:hover {
    color: #191818;
    background: #e2b07e;
    border-color: #e2b07e;
}

.jm-empty {
    padding: 78px 24px;
    text-align: center;
    background: #faf8f6;
    border: 1px solid #e4ded8;
    border-radius: 8px;
}

.jm-empty h2 {
    margin-bottom: 12px;
    font-size: 20px;
    color: #2f2f2f;
}

.jm-empty p {
    color: #665f59;
}

.jm-article-hero {
    display: flex;
    align-items: flex-end;
    height: 430px;
    min-height: 430px;
    padding: 150px 0 70px;
    background:
        linear-gradient(90deg, rgba(16, 16, 24, 0.92), rgba(16, 16, 24, 0.72)),
        url("/img/s2.webp") no-repeat center / cover;
}

.jm-back {
    display: inline-flex;
    margin-bottom: 30px;
    font-weight: 800;
    color: #e2b07e !important;
}

.jm-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 800;
    color: #e2b07e;
}

.jm-article-meta span + span::before {
    content: "/";
    margin-right: 10px;
    color: rgba(226, 176, 126, 0.45);
}

.jm-article-hero h1 {
    max-width: 900px;
    font-family: "Aritaburi", serif;
    font-size: clamp(38px, 5vw, 66px);
    font-weight: 600;
    line-height: 1.18;
    color: #ffffff;
}

.jm-article-hero p {
    max-width: 760px;
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.76);
}

.jm-article-body {
    color: #191818;
    background: #ffffff;
}

.jm-article-layout {
    display: block;
    max-width: 1000px;
    padding: 74px 0 108px;
}

.jm-article-content {
    font-family: "Pretendard", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #29231f;
    font-size: 18px;
    line-height: 1.55;
}

.jm-article-content > * + * {
    margin-top: 0.25em;
}

.jm-article-content p {
    margin: 0;
}

.jm-article-content h2,
.jm-article-content h3 {
    margin-top: 1.45em;
    color: #191818;
    line-height: 1.35;
}

.jm-article-content a {
    color: #e2b07e;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.jm-article-content ul,
.jm-article-content ol {
    padding-left: 1.4em;
}

.jm-article-content img {
    display: block;
    width: 100% !important;
    max-width: 1000px;
    height: auto !important;
    margin: 18px 0;
    object-fit: contain;
    border-radius: 8px;
}

.jm-article-content figure,
.jm-article-content .wp-caption {
    width: 100% !important;
    max-width: 1000px !important;
    height: auto !important;
    margin: 26px 0;
}

.jm-article-content figure img,
.jm-article-content .wp-caption img {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    margin: 0;
    object-fit: contain;
}

.jm-article-content figcaption,
.jm-article-content .wp-caption-text {
    margin-top: 10px;
    color: #7a7168;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

.jm-article-content img.aligncenter {
    margin-right: auto;
    margin-left: auto;
}

.jm-article-content img.alignleft {
    float: none;
    margin: 18px 28px 18px 0;
}

.jm-article-content img.alignright {
    float: none;
    margin: 18px 0 18px auto;
}

.jm-article-content blockquote {
    padding: 24px;
    color: #2f2822;
    background: #faf7f3;
    border-left: 4px solid #e2b07e;
}

.jm-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid #e4ded8;
}

.jm-keywords span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    color: #e2b07e;
    font-size: 14px;
    font-weight: 800;
    background: rgba(226, 176, 126, 0.1);
    border: 1px solid rgba(226, 176, 126, 0.22);
    border-radius: 4px;
}

.quick-menu {
    display: flex;
    gap: 15px;
    flex-direction: column;
    position: fixed;
    right: 30px;
    bottom: 50px;
    z-index: 9999;
    visibility: visible;
    opacity: 1;
}

.quick-item {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    background: #ad8957;
    font-size: 24px;
    color: #4a3b2a;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: none;
}

.quick-item i {
    font-size: 24px;
    color: #ffffff;
    transition: color 0.3s ease;
}

.quick-top i,
.quick-item i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    font-style: normal;
    line-height: 1;
}

.quick-menu .xi-call::before,
.quick-menu .xi-kakaotalk::before,
.quick-menu .xi-naver-square::before,
.quick-menu .xi-arrow-up::before {
    font-family: "Pretendard", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 800;
    line-height: 1;
}

.quick-menu .xi-call::before {
    content: "☎";
}

.quick-menu .xi-kakaotalk::before {
    content: "톡";
    font-size: 0.82em;
}

.quick-menu .xi-naver-square::before {
    content: "N";
}

.quick-menu .xi-arrow-up::before {
    content: "↑";
}

.quick-item:hover {
    border: none;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    background: #c7b59d;
    transform: translateY(-5px);
}

.quick-item:hover i {
    color: #2e241b;
}

.quick-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: none;
    border-radius: 50%;
    background: #d4c5b0;
    font-size: 20px;
    color: #4a3b2a;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: none;
}

.quick-top:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    background: #c7b59d;
    color: #2e241b;
    transform: translateY(-5px);
}

.footer-wrap {
    padding: 100px 0 40px;
    background: #111111;
    color: #888888;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-logo-text {
    display: block;
    margin-bottom: 30px;
    color: #ffffff;
    font-family: "Aritaburi", serif;
    font-size: 24px;
    opacity: 0.5;
}

.footer-item {
    margin-bottom: 12px;
    color: #999999;
    font-size: 14px;
}

.footer-item b {
    margin-right: 8px;
    color: #dddddd;
}

.copyright {
    margin-top: 80px;
    padding-top: 40px;
    color: #444444;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid #222222;
}

@media (max-width: 1024px) {
    .jm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jm-article-layout {
        max-width: 1000px;
    }
}

@media (max-width: 720px) {
    .m_br {
        display: inline;
    }

    .jm-container {
        width: min(100% - 32px, 1180px);
    }

    .jm-hero {
        height: auto;
        min-height: 470px;
        padding: 150px 0 66px;
    }

    .jm-hero p,
    .jm-section-head p,
    .jm-article-hero p,
    .jm-article-content {
        font-size: 16px;
    }

    .jm-section {
        padding: 76px 0;
    }

    .jm-section--board {
        padding: 58px 0 72px;
    }

    .jm-section-head--board {
        margin-bottom: 24px;
    }

    .jm-board-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .jm-grid {
        grid-template-columns: 1fr;
    }

    .jm-article-hero {
        height: auto;
        min-height: 360px;
        padding: 144px 0 54px;
    }

    .jm-article-layout {
        padding: 52px 0 76px;
    }

    .footer-inner {
        gap: 40px;
        flex-direction: column;
        padding: 0 20px;
    }

    .quick-menu {
        gap: 10px;
        right: 10px;
        bottom: 30px;
    }

    .quick-item {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .quick-item i {
        font-size: 18px;
    }

    .quick-top {
        width: 30px;
        height: 30px;
        margin: 0 auto;
        font-size: 15px;
    }

}
