/* --- 1. 디자인 시스템 변수 정의 (Pure CSS Tokens) --- */
:root {
    --white: #FFFFFF;
    --black: #000000;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #666666;

    /*--brand-primary: #2E3A43;*/
    --brand-primary: #2c4a3e;
    --brand-light-sub: #8EA7B8;

    --brand-red-light: #fbece9;
    --brand-red-middle: #F7D4CD;
    --brand-red-normal: #F3A4B0;
    /*--brand-red-normal: #e28f83*/
    --brand-red-dark: #d07c70;

    --brand-green: #2b3d32;      /* 메인의 깊고 차분한 딥 그린 */
    --brand-green-light: #e8efe8;
    --brand-green-normal: #739072;

    --brand-yellow-light: #EADBC8;

    --point-bluegreen: #1BA39C;
    --point-orange: #F9887A;
    --point-purple: #B88FDA;
    --point-yellow: #F8B746;
    --point-green: #96CC64;

    --point-main-blue: #2D8399;
    --point-main-pink: #D2748A;

    --brand-gold: #bfa37a;       /* 따뜻함을 불어넣는 골드 브라운 */
    --bg-cream: #faf7f2;
    --card-bg: #ffffff;
    --text-dark: #2c2a29;
    --text-muted: #7d7771;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(138, 124, 207, 0.15), 0 4px 6px -2px rgba(138, 124, 207, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* 웨이브 밑줄 */
.underline-offset-8 {
    text-underline-offset: 8px;
}
.decoration-wavy {
 -webkit-text-decoration-style: wavy;
 text-decoration-style: wavy;
}
.decoration-coral-200 {
 -webkit-text-decoration-color: var(--brand-red-middle);
 text-decoration-color: var(--brand-red-middle);
}

.underline {
 -webkit-text-decoration-line: underline;
 text-decoration-line: underline;
}


/* 기본 초기화 및 폰트 세팅 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    /*font-family: 'Noto Sans KR', sans-serif;*/
    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    color: var(--black);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, li {
    list-style: none;
}

.title-text {
    font-weight: 700;
    color: #2E2A27;
    border-bottom: 2px solid #E8DFD8; /* 부드러운 포인트 하이라이트 */
    padding-bottom: 2px;
}

/* 유틸리티 클래스 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.common-pad {
    padding: 150px 0;
}

.diff-common-pad {
    padding: 50px 0;
}


.section-tag {
    display: inline-block;
    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--brand-primary); /* 깊이감 있는 프리미엄 다크 그린 */
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-tag.invert {
    color: var(--brand-red-normal); /* 부드러운 골드/베이지 톤 포인트 */
}

h2 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--black);
    margin-bottom: 25px;
}

.section-desc {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 60px;
    margin: 0 auto 100px;
    text-align: center;
    max-width: 900px;
}

/* 버튼 디자인 */
.btn-group {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.btn-group.centered {
    justify-content: center;
}


/* 반응형 디자인 (태블릿 및 모바일) */
@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }

}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 40px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn.primary {
    background-color: var(--white);
    color: var(--brand-primary);
    border-radius: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.btn.primary:hover {
    transform:translateY(-3px);
}

.btn.outline {
    /*background-color: transparent;*/
    /*color: var(--brand-primary);*/
    /*border-radius: 60px;*/
    /*border: 1px solid var(--brand-primary);*/
    text-decoration:none;
    padding:18px 40px;
    border-radius:60px;
    backdrop-filter:blur(15px);
    background:rgba(255,255,255,.25);
    border:1px solid rgba(255,255,255,.5);
    color:#36454F;
    transition:.3s;
}

.btn.outline:hover {
    background:rgba(255,255,255,.65);
}

.btn.outline.white {
    color: var(--white);
    border-color: var(--white);
}

.btn.outline.white:hover {
    background-color: var(--white);
    color: var(--brand-primary);
}

/* 헤더 디자인 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;
    background-color: var(--white);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
    z-index: 1002;
}
header.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 1px solid #eeeeee;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}


/* 햄버거 메뉴 토글 버튼 */
.menu-trigger {
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-trigger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

header.scrolled .menu-trigger span {
    background-color: var(--brand-primary);
}

.menu-trigger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--white) !important;
}
.menu-trigger.active span:nth-child(2) {
    opacity: 0;
}
.menu-trigger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--white) !important;
}

/* 우측 슬라이드 오버레이 내비게이션 */
.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background-color: var(--brand-primary);
    z-index: 999;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 120px 60px 60px;
    color: var(--white);
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}

.side-menu.open {
    right: 0;
}

.menu-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.main-nav > ul > li {
    margin-bottom: 30px;
}

.main-nav > ul > li > a {
    font-size: 24px;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.main-nav > ul > li > a span {
    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    font-size: 16px;
    color: var(--brand-light-sub);
    margin-right: 10px;
}

.sub-nav {
    padding-left: 30px;
    display: none;
}

.sub-nav li {
    margin-bottom: 6px;
}

.sub-nav li a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}

.sub-nav li a:hover, .main-nav > ul > li > a:hover {
    color: var(--brand-light-sub);
}

.menu-intro {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    margin-top: 40px;
}

.menu-intro h3 {
    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--brand-light-sub);
}

.menu-intro p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.btn-menu-res {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--brand-light-sub);
    color: var(--brand-primary);
    font-weight: 500;
    font-size: 14px;
    border-radius: 4px;
}

/* 메인 비주얼 (Hero) */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.35)),
    url("../img/attach/grass_01.jpg"); /*창문이 있는 까페*/
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
}

.hero-content .en-sub {
    color: var(--brand-primary);
    display: inline-block;
    padding: 5px 18px;
    background: rgba(255, 255, 255, .4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 20px;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 30px;

}

.hero-content h1 {
    font-size: 64px;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 40px;
    color: var(--point-main-blue);
}

.sub-highlight {
    color: var(--point-main-pink);
}

.highlight {
    /*color: var(--gray-200);*/
    color: var(--brand-red-normal);
}
.main-highlight {
    /*color: var(--gray-200);*/
    color: var(--brand-red-normal);
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.9;
    color: var(--gray-600);
}

/*.scroll-down {*/
/*    position: absolute;*/
/*    bottom: 40px;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    z-index: 2;*/
/*    color: var(--white);*/
/*    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;*/
/*    font-size: 12px;*/
/*    letter-spacing: 2px;*/
/*}*/

/*.scroll-down::after {*/
/*    content: '';*/
/*    display: block;*/
/*    width: 100%;*/
/*    height: 50px;*/
/*    width: 1px;*/
/*    background-color: rgba(255,255,255,0.5);*/
/*    margin: 15px auto 0;*/
/*}*/

.scroll-down{
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 4px;
    font-weight: 700;
    font-size: 12px;
    color: var(--gray-500);
    z-index: 10;
    animation: float 2s infinite;
}

@keyframes float{
    0%{
        transform:translateX(-50%) translateY(0);
    }
    50%{
        transform:translateX(-50%) translateY(10px);
    }
    100%{
        transform:translateX(-50%) translateY(0);
    }
}


/* 01. 학교 소개 - 4열 그리드 카드 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.sub-grid-1 {
    display: grid;
    gap: 30px 40px;
    margin-bottom: 45px;
}

.sub-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: var(--brand-light-sub);
}

/*.card-num {*/
/*    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;*/
/*    font-size: 24px;*/
/*    color: var(--brand-light-sub);*/
/*    margin-bottom: 20px;*/
/*}*/

.card-num {
    display: flex;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    color: var(--gray-600);
    background-color: var(--gray-200);
    justify-content: center;
    align-items: center;

    font-size: 24px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--black);
}

.card p {
    font-size: 14px;
    color: #777777;
}


.card {
    background-color: var(--white);
    padding: 40px 30px;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    text-align: left;
    /*transition: all 0.3s;*/

    border-radius: 35px;
    background: rgba(255, 255, 255, .45);
    backdrop-filter: blur(30px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .06);

    opacity:0;
    transform:translateY(60px);
}


.mujicard:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: var(--brand-light-sub);
}

.mujicard-num {
    display: flex;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    color: var(--gray-600);
    background-color: var(--gray-200);
    justify-content: center;
    align-items: center;

    font-size: 24px;
    margin-bottom: 20px;
}

.mujicard-desc {
    display: flex;
    padding: 10px 20px;
    /*width: 3.5rem;*/
    /*height: 3.5rem;*/
    border-radius: 1rem;
    color: var(--gray-600);
    background-color: var(--gray-200);
    justify-content: center;
    align-items: center;
}

.mujicard h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--black);
}

.mujicard p {
    font-size: 14px;
    color: #777777;
}

.mujicard {
    background-color: var(--white);
    padding: 10px 20px;
    border: 1px solid #eeeeee;
    text-align: left;

    border-radius: 1rem;
    background: rgba(255, 255, 255, .45);
    backdrop-filter: blur(30px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .06);

    opacity:0;
    transform:translateY(60px);
}

.green-card {
    color: var(--brand-green-normal);
    background-color: var(--brand-green-light);
}

.red-card {
    color: var(--brand-red-normal);
    background-color: var(--brand-red-light);
}


.red-btn {
    background-color: var(--brand-red-normal);;
    border-radius: 45px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.08);
}
.yellow-btn {
    background-color: var(--point-yellow);
    border-radius: 45px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.08);
}
.green-btn {
    background-color: var(--point-green);
    border-radius: 45px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.08);
}
.red-btn:hover, yellow-btn:hover, .green-btn:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    transition: transform 0.6s ease;
}

.about-section {
    max-width: 900px;
    margin: 0 auto;
}
/* 02. 차별화 섹션 좌우 배치 구조 */
.diff-section {
    display: flex;
    width: 100%;
    /*background-color: #1e332a;*/
    /*color: var(--white);*/
    min-height:100vh;
    background:#f6fafc;
}

.diff-left {
    width: 50%;
    position: relative;
    min-height: 500px;
}

.diff-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*filter:brightness(.9);*/
}

.diff-title-box {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.diff-title-box h2 {
    color: var(--white);
    font-size: 38px;
    font-weight: 500;
}

.diff-right {
    width: 50%;
    padding-left: 40px;
    padding-right: 40px;
    display: flex;
    align-items: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 40px;
}

.grid-1 {
    display: grid;
    gap: 50px 40px;
}

.diff-item .num {
    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    font-size: 24px;
    color: var(--brand-light-sub);
    /*margin-bottom: 10px;*/
}

.diff-item h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
}

.diff-item p {
    font-size: 16px;
    color: #777777;
}

.diff-item {
    background-color: var(--white);
    padding: 30px 20px;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    text-align: left;
    /*transition: all 0.3s;*/

    border-radius: 35px;
    background: rgba(255, 255, 255, .45);
    backdrop-filter: blur(30px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .06);

    opacity:0;
    transform:translateX(60px);
}

.sub-diff-item .num {
    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    color: var(--brand-light-sub);
    margin-bottom: 10px;
}

.sub-diff-item h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
}

.sub-diff-item p {
    color: var(--gray-600);;
}

.sub-diff-item {
    background-color: var(--white);
    padding: 30px 30px;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    text-align: left;

    border-radius: 35px;
    background: rgba(255, 255, 255, .45);
    backdrop-filter: blur(30px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .06);

    opacity:0;
    transform:translateX(60px);
}

/* 03. 프로그램 상세 비대칭 분할 구조 */
.program-section {
    background: #fbfcfd;
}

.split-box {
    display: flex;
    align-items: center;
    gap: 80px;
}

.split-left, .split-right {
    width: 50%;
}

.circle-wrap {
    width: 560px;
    height: 560px;
    border-radius: 50%;
    /*background: rgba(255, 255, 255, .5);*/
    background: var(--brand-red-light);
    backdrop-filter: blur(30px);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 40px 80px rgba(0, 0, 0, .05);
}
.circle-image {
    width: 430px;
    height: 430px;
    border-radius: 50%;
    overflow: hidden;
}
.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*리뉴얼 - 동그라미 소개 형 이미지*/
.circle-wrap-rn {
    width: 310px;
    height: 310px;
    border-radius: 50%;
    background: var(--brand-red-light);
    backdrop-filter: blur(30px);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 40px 80px rgba(0, 0, 0, .05);
}

.circle-wrap-rn:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    transition: transform 0.6s ease;
}

.circle-image-rn {
    width: 290px;
    height: 290px;
    border-radius: 50%;
    overflow: hidden;
}
.circle-image-rn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle-bottom {
    /*text-align: center;*/
    margin-top: 10px;
    font-size: 22px;
    font-weight: 400;
    color: var(--brand-light-sub);
}

.img-wrapper {
    width: 100%;
    height: 550px;
    border-radius: 4px;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-list {
    margin-top: 40px;
}

.step-item {
    border-bottom: 1px solid #eeeeee;
    padding: 20px 0;
}

.step-item:last-child {
    border-bottom: none;
}

.step-lbl {
    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    font-size: 16px;
    color: var(--brand-green-normal);
    display: block;
    margin-bottom: 5px;
}

.step-item h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--black);
}

.step-item p {
    font-size: 14px;
    color: var(--gray-600);
}

/* 05. 대표 소개 (디렉터) 구조 */
.director-section {
    background-color: rgba(251, 236, 233, 0.5);
}

.director-profile-box {
    display: flex;
    gap: 60px;
    margin-top: 60px;
    /*background-color: var(--white);*/
    padding: 50px;
    border-radius: 4px;
}

/* 사진 */
.profile-img-area {
    width:45%;
    position:relative;
}

.profile-img-area img {
    width:100%;
    border-radius:40px;
    display:block;
    box-shadow:0 40px 80px rgba(0,0,0,.08);
}

/* 경력 */
.experience{
    position:absolute;
    right:-30px;
    bottom:80px;
    width:170px;
    height:170px;
    border-radius:50%;
    background:rgba(255,255,255,.75);
    backdrop-filter:blur(25px);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.experience span{
    font-size:48px;
    font-weight:600;
    color:#87a3b5;
}

.experience small{
    text-align:center;
    color:#66757f;
}


.profile-info-area {
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.timeline-section {
    display: flex;
    width: 100%;
    /*background-color: #1e332a;*/
    /*color: var(--white);*/
    min-height:100vh;
    /*background-color: rgba(251, 236, 233, 0.5);*/
    background-color: var(--bg-cream);
}


.info-block h3 {
    font-size: 20px;
    color: var(--brand-primary);
    margin-bottom: 12px;
    border-left: 3px solid var(--brand-light-sub);
    padding-left: 10px;
}

.info-block p {
    font-size: 16px;
    color: #555555;
}

.bullet-list li {
    position: relative;
    padding-left: 15px;
    font-size: 16px;
    color: #555555;
    margin-bottom: 6px;
}

.bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 1px;
    background-color: var(--brand-light-sub);
}

/* 06. 연간 여정 타임라인 */
.timeline-wrap {
    position: relative;
    max-width: 900px;
    margin: 80px auto 0;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #dce8ef;
    transform: translateX(-50%);
}

.timeline-node:nth-child(even) {
    left: 0;
    text-align: right;
}

.timeline-node:nth-child(odd) {
    left: 50%;
    text-align: left;
}

.node-dot {
    position: absolute;
    top: 5px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: white;
    border: 2px solid #dce8ef;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .05);
    flex-shrink: 0;
    z-index: 2;
}

.timeline-node:nth-child(even) .node-dot {
    right: -45px;
}

.timeline-node:nth-child(odd) .node-dot {
    left: -45px;
}


.timeline-node {
    position: relative;
    width: 50%;
    margin-bottom: 60px;
    padding: 0 60px;

    opacity:0;
    transform:translateY(60px);
}


.node-content small {
    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    font-size: 13px;
    /*color: var(--brand-light-sub);*/
    font-weight: 600;
    letter-spacing: 1px;
}

.node-content h3 {
    font-size: 18px;
    margin: 5px 0 10px;
    color: var(--black);
}

.node-content p {
    font-size: 14px;
    color: var(--gray-600);
}



/* 06. 5가지 철학 */
.five-wrap {
    position: relative;
    max-width: 900px;
    margin: 80px auto 0;
    padding: 20px 0;
}

.five-line {
    position: absolute;
    left: 10%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #dce8ef;
    transform: translateX(-50%);
}

.five-node-dot {
    position: absolute;
    top: 5px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: white;
    border: 2px solid #dce8ef;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .05);
    flex-shrink: 0;
    z-index: 2;

    left: 45px;

    font-size: 36px;
    color: var(--brand-red-normal);
    text-align: center;
    padding-top: 15px;

}

.five-node {
    position: relative;
    /*width: 50%;*/
    margin-bottom: 60px;
    padding: 0 60px 0 160px;

    opacity: 1;
    transform: translateY(0);

}


.five-node-content small {
    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    font-size: 13px;
    /*color: var(--brand-light-sub);*/
    font-weight: 600;
    letter-spacing: 1px;
}

.five-node-content h3 {
    font-size: 24px;
    font-weight: 500;
    margin: 5px 0 10px;
    color: var(--black);
}

.five-node-content p {
    font-size: 18px;
    color: var(--gray-600);
}

/* 07. 칼럼 & 후기 교차 배열 구조 */
.review-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.review-row.reverse {
    flex-direction: row-reverse;
}

.review-img, .review-text {
    width: 50%;
}

.review-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 35px;
    filter: contrast(0.9) opacity(0.8);
}

.program-tag {
    font-size: 20px;
    color: var(--brand-red-normal);
    font-weight: 400;
    display: block;
    margin-bottom: 15px;
}

.review-text h3 {
    font-size: 44px;
    line-height: 1.35;
    font-weight: 300;
    margin: 25px 0;
}

.review-text p {
    font-size: 15px;
    color: var(--gray-600);
}

/* 08. FAQ 섹션 양분 및 아코디언 UI */
.split-faq {
    display: flex;
    gap: 80px;
}

.faq-title-area {
    width: 35%;
}

.faq-list-area {
    width: 65%;
}

.faq-item {
    border-bottom: 1px solid #eeeeee;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #5C5652;
}

.faq-header .icon {
    font-family: monospace;
    font-size: 20px;
    color: #999999;
    transition: transform 0.3s;
}

.faq-body {
    display: none;
    padding: 0 10px 25px;
}

.faq-body p {
    font-size: 18px;
    color: var(--gray-600);
    background-color: var(--white);
    /*padding: 20px;*/
    border-radius: 4px;
}

.mainfaq-item {
    border-bottom: 1px solid #eeeeee;
}
.mainfaq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.mainfaq-header h3 {
    font-size: 18px;
    font-weight: 400;
    color: var(--black);
}

.mainfaq-header .icon {
    font-family: monospace;
    font-size: 20px;
    color: #999999;
    transition: transform 0.3s;
}

.mainfaq-body {
    display: none;
    padding: 0 10px 25px;
}

.mainfaq-body p {
    font-size: 16px;
    color: var(--gray-600);
    background-color: var(--white);
    padding: 20px;
    border-radius: 4px;
}
/*!* 오픈 스타일 정의 *!*/
/*.faq-item.active .faq-header h3 {*/
/*    color: var(--brand-primary);*/
/*}*/
/*.faq-item.active .faq-header .icon {*/
/*    transform: rotate(45deg);*/
/*    color: var(--brand-primary);*/
/*}*/

/* 09. CTA 섹션 */
.cta-section {
    position:relative;
    height:75vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:url(../img/attach/renew/main_membership.jpg) center center/cover no-repeat;

}

.cta-bg {
    position:absolute;
    inset:0;
    background:rgba(255,255,255,.25);
    backdrop-filter:blur(1px);

}

.cta-content {
    position:relative;
    z-index:2;
    width:550px;
    padding:30px;
    border-radius:40px;
    background:rgba(255,255,255,.35);
    /*backdrop-filter:blur(35px);*/
    text-align:center;
    box-shadow: 0 40px 80px rgba(0,0,0,.08);
}

.cta-content h2 {
    font-size:42px;
    font-weight:300;
    line-height:1.3;
    margin:25px 0;
}

.cta-content p {
    font-size:20px;
    line-height:2;
    color:#66757f;
    margin-bottom:45px;
}

.cta-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
}



/* 간이 콘택트 */
.quick-contact {
    display: flex;
    background-color: #f4f6f5;
    border-bottom: 1px solid #e5e9e7;
}

.contact-box {
    width: 33.333%;
    text-align: center;
    padding: 40px 20px;
    border-right: 1px solid #e5e9e7;
}

.contact-box:last-child {
    border-right: none;
}

.contact-box h3 {
    font-size: 16px;
    color: #777777;
    margin-bottom: 10px;
}

.contact-box p, tel {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 5px;
}

.contact-box span {
    font-size: 14px;
    color: #999999;
}

.about-contact {
    margin: 0 auto;
    text-align: center;
}
.about-contact-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 5열 */
    gap: 20px;
}
.about-contact-box {
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(251, 236, 233, 0.5);
    border: solid 1px var(--brand-red-light);
    border-radius: 15px;
    padding: 40px 20px;
    transition: all 0.3s ease;
    text-decoration: none; /* 링크일 경우 */
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.about-contact-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--brand-red-middle); /* 주은서클 브랜드 색상으로 변경 가능 */
}

.about-contact-box h3 {
    font-size: 16px;
    color: #777777;
    margin-bottom: 10px;
}

.about-contact-box p, .about-contact-box tel {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 5px;
}

.about-contact-box span {
    font-size: 14px;
    color: #999999;
}

/* 반응형 스타일 */

@media (max-width: 1180px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .five-line {
        left: 90px;
    }
    .five-node {
        width: 100%;
        left: 0 !important;
        padding-left: 160px;
        text-align: left !important;
    }
    .five-node .node-dot {
        left: 15px !important;
    }
}

@media (max-width: 768px) {
    .about-contact-list {
        grid-template-columns: repeat(2, 1fr); /* 모바일: 2열 */
    }
    .grid-3 {
        grid-template-columns: repeat(1, 1fr);
    }
    .btn.outline{
        padding: 10px 40px;
    }
}

@media (max-width: 480px) {

    .five-line {
        left: 30px;
    }

    .five-node-dot {
        position: absolute;
        top: 5px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: white;
        border: 2px solid #dce8ef;
        box-shadow: 0 15px 40px rgba(0, 0, 0, .05);
        flex-shrink: 0;
        z-index: 2;

        left: 0px;

        font-size: 24px;
        color: var(--brand-red-normal);
        text-align: center;
        padding-top: 10px;

    }

    .five-node {
        position: relative;
        /*width: 50%;*/
        margin-bottom: 60px;
        padding: 0 0 0 80px;

        opacity: 1;
        transform: translateY(0);

    }

    .grid-3 .card {
        padding: 20px 30px;
    }
    .sub-grid-2 {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px 40px;
    }
    .about-contact-box p, .about-contact-box tel {
        font-size: 18px;
    }
    .about-contact-box span {
        font-size: 16px;
    }
    .about-contact-list {
        grid-template-columns: 1fr; /* 작은 모바일: 1열 */
    }
}

/* 푸터 */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.footer-links {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links li a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}

.footer-links li a:hover {
    color: var(--brand-light-sub);
}

.copyright {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.left-bar-item {
    border-left: 3px solid #bfa37a;
    padding-left: 25px;
}
.left-bar-list {
    line-height: 1.5;
    margin-bottom: 15px;
}

/* 반응형 모바일 브레이크포인트 대응 */
@media (max-width: 1024px) {
    .grid-4, .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .split-box, .split-faq, .review-row, .review-row.reverse {
        flex-direction: column;
        gap: 40px;
    }
    .split-left, .split-right, .faq-title-area, .faq-list-area, .review-img, .review-text, .director-profile-box, .profile-img-area, .profile-info-area {
        width: 100%;
    }
    .director-profile-box {
        flex-direction: column;
    }
    .diff-section {
        flex-direction: column;
    }
    .diff-left, .diff-right {
        width: 100%;
    }
    .grid-1 {
        margin: 0 auto;
    }
    .sub-grid-1 {
        margin: 0 auto;
    }
    .step-list {
        padding-left: 40px;
    }
    .diff-title-box {
        top: 50px;
    }

    .timeline-line {
        left: 60px;
    }
    .timeline-node {
        width: 100%;
        left: 0 !important;
        padding-left: 120px;
        text-align: left !important;
    }
    .timeline-node .node-dot {
        left: 15px !important;
    }


}

@media (max-width: 768px) {
    .grid-4, .grid-2, .quick-contact {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .diff-title-box {
        position: relative;
        padding-top: 0;
    }
    .diff-title-box h2 {
        font-size: 30px;
    }
    .common-pad {
        padding: 50px 0;
    }
    .contact-box {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e9e7;
    }
    .step-list {
        padding-left: 20px;
    }
    .hero-content h1 {
        font-size: 36px;
    }

    .side-menu {
        max-width: 100%;
    }

    .review-text h3 {
        font-size: 36px;
        text-align: center;
    }

}

/* 디바이스 조건부 가시성 세팅 */
/*.pc-only { display: flex !important; }*/
.mobile-only { display: none !important; }

/* --------------------------------------------------------------------------
   [PC 환경 전용 스타일 선언]
   -------------------------------------------------------------------------- */
/* ==========================================================================
   [개정] 줄 맞춤이 완벽한 프리미엄 드롭다운 네비게이션 스타일
   ========================================================================== */

.main-navigation {
    height: 100%;
}

.gnb-depth1 {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 50px; /* 대메뉴 간의 간격 균일 부여 */
}

.gnb-item {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative; /* [핵심 변동] 소메뉴가 이 대메뉴의 가로 시작점을 기준으로 정렬되도록 선언 */
}

.depth1-link {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    text-decoration: none;
    position: relative;
    padding: 30px 0;
    transition: color 0.3s;
    white-space: nowrap;
}

.gnb-item:hover .depth1-link {
    color: var(--brand-light-sub); /* 브랜드 골드 베이지 */
}

/* 대메뉴 하단 바 활성화 효과 */
.depth1-link::after {
    content: '';
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--brand-light-sub);
    transition: width 0.3s;
}

.gnb-item:hover .depth1-link::after {
    width: 100%;
}

/* --------------------------------------------------------------------------
   [핵심 수정] 하위 소메뉴 드롭다운 박스
   -------------------------------------------------------------------------- */
.mega-dropdown {
    position: absolute;
    top: 85px;             /* 헤더 높이 끝나는 라인에 정확히 배치 */
    left: 50%;             /* 대메뉴의 중앙 기준으로 1차 정렬 */
    transform: translateX(-50%); /* 대메뉴 폭에 맞춰 소메뉴 전체판을 정확히 가운데 정렬 */
    width: auto;           /* 고정 전체 폭 해제, 소메뉴 콘텐츠 분량에 맞춤 */
    min-width: 180px;      /* 텍스트가 깨지거나 줄바꿈되지 않도록 최소폭 확보 */
    display: none;         /* jQuery fadeIn/Out 대상 */
    padding: 25px 10px 35px 10px;
    z-index: 1003;         /* 배경 커튼보다 위에 오도록 처리 */
}

.lnb-depth2 {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;             /* 세로 소메뉴 간 간격 */
    text-align: center;    /* 대메뉴 중앙선과 줄을 맞추기 위해 소메뉴 텍스트도 중앙 정렬 */
}

.lnb-depth2 li {
    white-space: nowrap;   /* 메뉴 글씨가 강제로 두 줄로 떨어지는 현상 방지 */
}

.lnb-depth2 a {
    font-size: 14px;
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 2px 0;
}

.lnb-depth2 a:hover {
    color: var(--brand-primary);        /* 마우스 오버 시 브랜드 다크그린 변환 */
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   [배경판] 뒤에서 한꺼번에 떨어지는 공통 와이드 커튼 배경
   -------------------------------------------------------------------------- */
.gnb-bg-curtain {
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    height: 220px;         /* 소메뉴 개수(가장 긴 4개짜리) 높이에 딱 맞게 빌드 */
    background-color: rgba(255, 255, 255, 0.99);
    border-bottom: 1px solid #eaeaea;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    display: none;
    z-index: 1001;         /* 서브메뉴 글씨보다는 아래, 본문보다는 위 */
    backdrop-filter: blur(4px);
}

/* 결혼학개론 서브 매거진 전용 럭셔리 스타일시트 */

/* 1. 상단 구성: 자연주의 Hero 배너 */
.sub-hero {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/attach/renew/sub_top_01.jpg');
    background-size: cover;
    background-position: center;
    margin-top: 0;

    /*상단 보정값*/
    margin-top: 85px;
}
/*대메뉴 1*/
.sub_overview-hero {
    background-image: url('../img/attach/renew/sub_top_01.jpg');
}
.sub-greeting-hero {
    background-image: url('../img/attach/renew/sub_top_02.jpg');
}
.sub-aim-hero {
    background-image: url('../img/attach/renew/sub_top_03.jpg');
}
.sub-feature-hero {
    background-image: url('../img/attach/renew/sub_top_04.jpg');
}

/*대메뉴 2*/
.sub-donggeurami-hero {
    background-image: url('../img/attach/renew/sub_top_05.jpg');
}
.sub-firstmarriage-hero {
    background-image: url('../img/attach/renew/sub_top_06.jpg');
}
.sub-remarriage-hero {
    background-image: url('../img/attach/renew/sub_top_07.jpg');
}
.sub-middleage-hero {
    background-image: url('../img/attach/renew/sub_top_08.jpg');
}

/*대메뉴 3*/
.sub-membership-hero {
    background-image: url('../img/attach/renew/sub_top_09.jpg');
}

/*대메뉴 4*/
.sub-column-hero {
    background-image: url('../img/attach/renew/sub_top_10_1.jpg');
}
.sub-epilogue-hero {
    background-image: url('../img/attach/renew/sub_top_11.jpg');
}
.sub-review-hero {
    background-image: url('../img/attach/renew/sub_top_12.jpg');
}

/*대메뉴 5*/
.sub-faq-hero {
    background-image: url('../img/attach/renew/sub_top_13.jpg');
}
.sub-about-hero {
    background-image: url('../img/attach/renew/sub_top_14.jpg');
}
.sub-location-hero {
    background-image: url('../img/attach/renew/sub_top_15_1.jpg');
}

.sub-policy-hero {
    background-image: url('../img/attach/renew/sub_top_15.jpg');
}

/*안쓰는 메뉴*/
.sub-intention-hero {
    background-image: url('../img/attach/candle_02.jpg');
}
.sub-purpose-hero {
    background-image: url('../img/attach/meditation_03.jpg');
}
.sub-career-hero {
    background-image: url('../img/attach/career_01.jpg');
}



.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 51, 42, 0.20); /* 프리미엄 다크 그린 컬러 코드 혼합 광원 오버레이 */
    /*background-color: rgba(135, 134, 134, 0.55);*/
    z-index: 1;
}

.hero-text-box {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.magazine-title {
    font-size: 42px;
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--white);
}

.magazine-lead {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.magazine-lead-mid {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

/* 2. 본문 검색 및 필터 UI 디자인 */
.library-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
}

.category-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    background: none;
    border: 1px solid #dddddd;
    padding: 10px 22px;
    font-size: 14px;
    border-radius: 30px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--brand-primary);
    color: var(--white);
    border-color: var(--brand-primary);
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 350px;
}

.lectureSearch {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fafafa;
    outline: none;
    transition: all 0.3s;
}

.lectureSearch:focus {
    border-color: var(--brand-primary);
    background-color: var(--white);
}

.search-submit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--brand-primary);
    cursor: pointer;
    font-size: 16px;
}

/* 3. 3열 반응형 콘텐츠 라이브러리 및 Hover 매커니즘 */
.magazine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
}

.magazine-card {
    background-color: var(--white);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s;
}

/* 카드 Hover 시 넷플릭스 확대감 및 섀도우 연출 */
.magazine-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
}

.card-thumb {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background-color: #000000;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.magazine-card:hover .card-thumb img {
    transform: scale(1.08);
}

/* Hover 시 중앙 Play 버튼 노출 장치 */
.card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 51, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.magazine-card:hover .card-hover-overlay {
    opacity: 1;
}

.play-icon-circle {
    width: 55px;
    height: 55px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    font-size: 18px;
    padding-left: 4px; /* 삼각 재생 아이콘 중앙 맞춤 미세 조정 */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.magazine-card:hover .play-icon-circle {
    transform: scale(1.1);
}

.badge-cat {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--brand-primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 2px;
    z-index: 3;
    letter-spacing: 0.5px;
}

.card-meta {
    padding: 20px 5px;
}

.post-date {
    display: block;
    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    font-size: 13px;
    color: var(--brand-light-sub);
    margin-bottom: 8px;
    font-weight: 600;
}

.card-meta h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.4;
    margin-bottom: 12px;
    word-break: keep-all;
    transition: color 0.3s;
}

.magazine-card:hover .card-meta h3 {
    color: var(--brand-primary);
}

.card-meta p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 4. 상세 페이지: 모달 오버레이 팝업 시스템 (넷플릭스 뷰어 상세 모티브) */
.detail-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.modal-window {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 90vh;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    animation: modalSlideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes modalSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--white);
    font-size: 32px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    line-height: 40px;
    text-align: center;
    transition: background 0.2s;
}

.modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.modal-scroll-body {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

/* 유튜브 플레이어 박스 배율 차단 및 시네마틱 가두기 */
.video-hero-player {
    position: relative;
    width: 100%;
    background-color: #000000;
}

.video-placeholder {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 와이드 비율 구현 */
    height: 0;
    overflow: hidden;
}

.video-placeholder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 모달 본문 상세 구조 */
.modal-detail-content {
    padding: 40px;
    background-color: var(--white);
}

.content-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.modal-vol-info {
    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: var(--brand-light-sub);
    margin-left: 15px;
    font-weight: 600;
}

.content-header h2 {
    font-size: 28px;
    margin-top: 15px;
    margin-bottom: 0;
}

.content-body-split {
    display: flex;
    gap: 50px;
    margin-bottom: 5px;
}

.main-desc-side {
    width: 100%;
}

.core-point-side {
    width: 40%;
    background-color: #f8faf9;
    padding: 25px;
    border-radius: 4px;
    border-top: 2px solid var(--brand-primary);
}

.main-desc-side h3, .core-point-side h3 {
    font-size: 18px;
    color: var(--brand-primary);
    margin-bottom: 15px;
    font-weight: 700;
}


.core-point-wide {
    width: 100%;
    background-color: #f8faf9;
    padding: 25px;
    border-radius: 4px;
    border-top: 2px solid var(--brand-primary);
}

.core-point-wide h3 {
    font-size: 18px;
    color: var(--brand-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.main-desc-side p {
    font-size: 15px;
    color: #444444;
    line-height: 1.7;
    word-break: keep-all;
}

.point-list li {
    /*font-size: 14px;*/
    color: #555555;
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.4;
}

.point-list li i {
    color: var(--brand-light-sub);
    margin-top: 3px;
}

/* 내비게이션 바 (이전글/다음글) */
.prev-next-nav {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    padding: 20px 0;
    margin-top: 40px;
    margin-bottom: 40px;
}

.nav-arrow-btn {
    background: none;
    border: none;
    font-size: 14px;
    color: #555555;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.nav-arrow-btn:hover {
    color: var(--brand-primary);
    font-weight: 500;
}

/* 모달 하단 큐레이션 영역 */
.recommendation-zone {
    margin-top: 30px;
}

.rec-zone-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--black);
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rec-card {
    cursor: pointer;
}

.rec-thumb {
    width: 100%;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.rec-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rec-card h5 {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* SVG Diagram Styles */
.diagram-wrapper {
    position: relative;
    width: 100%;
    margin: -70px auto;
}

svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* --------------------------------------------------------------------------
   [모바일/태블릿 반응형 변곡점 분기 분할 정의]
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .pc-only { display: none !important; }
    .mobile-only { display: flex !important; }

    header { height: 65px; }
    .sub-hero { margin-top: 65px; } /* 서브페이지 상단 여백 보정값 축소 */

    /* 햄버거 메뉴 아이콘 트리거 디자인 */
    .menu-trigger {
        background: none; border: none; width: 30px; height: 24px;
        position: relative; cursor: pointer; display: flex;
        flex-direction: column; justify-content: space-between; padding: 0;
    }
    .menu-trigger span {
        display: block; width: 100%; height: 2px; background-color: var(--brand-primary);
        transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
    }
    /* 오픈 상태 애니메이션 진입 */
    .menu-trigger.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
    .menu-trigger.active span:nth-child(2) { opacity: 0; }
    .menu-trigger.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

    /* 모바일 서랍 레이아웃 구성 */
    .mobile-nav-side {
        position: fixed; top: 65px; right: -100%; width: 100%; height: calc(100vh - 65px);
        z-index: 999; transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    .mobile-nav-side.open { right: 0; }

    .m-nav-inner {
        position: absolute; top: 0; right: 0; width: 280px; height: 100%;
        background-color: var(--white); z-index: 10; padding: 30px 20px;
        display: flex; flex-direction: column; justify-content: space-between;
        box-shadow: -5px 0 20px rgba(0,0,0,0.05);
    }
    .m-nav-overlay {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        background-color: rgba(0,0,0,0.5); z-index: 5; display: none;
    }

    .m-nav-header { border-bottom: 1px solid #f4f4f4; padding-bottom: 15px; margin-bottom: 20px; }
    .m-logo { font-size: 22px; font-weight: 700; color: var(--brand-primary); }

    /* 모바일 스크롤 가능한 아코디언 메뉴 */
    .m-gnb { list-style: none; padding: 0; margin: 0; overflow-y: auto; flex-grow: 1; }
    .m-gnb-item { border-bottom: 1px solid #f9f9f9; }

    .m-depth1-link {
        display: flex; justify-content: space-between; align-items: center;
        padding: 15px 5px; font-size: 18px; font-weight: 500; color: #333333;
        text-decoration: none; transition: color 0.2s;
    }
    .m-depth1-link i { font-size: 12px; color: #999; transition: transform 0.3s; }

    /* 활성화 시 색상 변환 및 화살표 회전 */
    .m-gnb-item.active .m-depth1-link { color: var(--brand-light-sub); }
    .m-gnb-item.active .m-depth1-link i { transform: rotate(180deg); color: var(--brand-light-sub); }

    .m-lnb-depth2 { list-style: none; padding: 5px 0 15px 15px; margin: 0; display: none; }
    .m-lnb-depth2 li a {
        display: block; padding: 8px 0; font-size: 16px; color: var(--gray-600); text-decoration: none;
    }
    .m-lnb-depth2 li a:hover { color: var(--brand-primary); }

    .m-nav-footer { margin-top: 20px; }
    .btn-m-contact {
        display: block; width: 100%; background-color: var(--brand-primary); color: var(--white);
        text-align: center; padding: 12px 0; border-radius: 4px; font-size: 14px;
        text-decoration: none; font-weight: 500;
    }
}



/* 모바일 분기점 가변 레이아웃 보정 */
@media (max-width: 1024px) {
    .magazine-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .content-body-split {
        flex-direction: column;
        gap: 30px;
    }
    .main-desc-side, .core-point-side {
        width: 100%;
    }
    .detail-modal-overlay {
        padding: 10px;
    }
    .modal-window {
        height: 95vh;
    }
}

@media (max-width: 768px) {
    .magazine-grid, .recommend-grid {
        grid-template-columns: 1fr;
    }
    .library-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    .category-filters {
        display: block;
        /*overflow-x: auto;*/
        width: 100%;
        padding-bottom: 10px;
        /*white-space: nowrap;*/
    }
    .filter-btn {
        margin-bottom: 5px;
    }
    .search-box {
        max-width: 100%;
    }
    .magazine-title {
        font-size: 32px;
    }
    .modal-detail-content {
        padding: 20px;
    }
}


.show-y {
    opacity: 1;
    transform: translateY(0);
    transition: 1s;
}

.show-x{
    opacity:1;
    transform:translateX(0);
    transition:1s;
}


/*!* ==========================================================*/
/*   서브 상세페이지
/*   ========================================================== *!*/
 .sub-container {
     max-width: 860px;
     margin: 60px auto;
     margin-bottom: 100px;
     padding: 0 24px;

     color: #4A4643; /* 부드러운 차콜 브라운 */
     line-height: 1.85;
     word-break: keep-all; /* 한글 단어 단위 줄바꿈 */
 }

.contents-image {
    position: relative;
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/attach/cup_08.jpg');
    background-size: cover;
    background-position: center;
    margin-top: 0;
    border-radius: 15px;
}
.overview-image {
    background-image: url('../img/attach/renew/main_01.jpg');
}


/* 이주은 대표이야기 -  반응형 카드 박스 */
.card-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    background-image: url('../img/attach/renew/main_bg_02.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    border: 1.5px solid #f3d4d4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 6%;
    margin-bottom: 40px;
}

/* 왼쪽 텍스트 스타일 */
.text-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    z-index: 2;
}

.question-item {
    /*font-size: clamp(15px, 1.8vw, 19px);*/
    font-size: 20px;
    font-weight: 700;
    color: #CC748C;    /*#a85c62;*/
    line-height: 1.5;
    margin-bottom: 20px;
}

/* 오른쪽 이미지 영역 스타일 */
.image-content {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
}

.person-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

/* 태블릿 및 모바일 대응 (반응형 쿼리) */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
        gap: 10px;
    }

    .text-content {
        align-items: center;
        gap: 18px;
    }

    .person-img {
        max-width: 240px;
    }
}


/* 결혼애착학교 왜 필요한가 -  반응형 카드 박스 */
.card-container2 {
    position: relative;
    width: 100%;
    max-width: 900px;
    background-image: url('../img/attach/renew/main_bg_02.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    border: 1.5px solid #f3d4d4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /*display: flex;*/
    /*justify-content: space-between;*/
    align-items: center;
    padding: 60px 6%;
    margin-bottom: 40px;
}

/* 왼쪽 텍스트 스타일 */
.text-content2 {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    z-index: 2;
}

.question-item1 {
    font-size: 20px;
    font-weight: 700;
    color: #CC748C;    /*#a85c62;*/
    line-height: 1.5;
    padding-left: 50px;
}
.question-item2 {
    font-size: 20px;
    font-weight: 700;
    color: #CC748C;    /*#a85c62;*/
    line-height: 1.5;
    text-align: right;
    padding-right: 30px;
}
.question-item3 {
    font-size: 20px;
    font-weight: 700;
    color: #CC748C;    /*#a85c62;*/
    line-height: 1.5;
}
.question-item4 {
    font-size: 20px;
    font-weight: 700;
    color: #CC748C;    /*#a85c62;*/
    line-height: 1.5;
    text-align: right;
}

/* 사람 이미지 영역 스타일 */
.image-content-c {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
    margin-top: -60px;
    z-index: 2;
}

.person-img2 {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

.donggeurami-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}

/*리뉴얼 - 동그라미 소개 형 이미지*/
.donggeurami-wrap-rn {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: var(--brand-primary);
    backdrop-filter: blur(1px);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 40px 80px rgba(0, 0, 0, .05);
}

.donggeurami-wrap-rn:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    transition: transform 0.6s ease;
}

.donggeurami-image-rn {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
}
.donggeurami-image-rn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.donggeurami-bottom {
    margin-top: 20px;
    font-size: 22px;
}
/* 태블릿 및 모바일 대응 (반응형 쿼리) */
@media (max-width: 768px) {
    .card-container2 {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
        gap: 10px;
    }

    .text-content2 {
        align-items: center;
        gap: 18px;
    }

    .image-content-c {
        margin-top: 20px;
    }

    .person-img2 {
        max-width: 240px;
    }
}



/* 전체 컨테이너 박스 */
.content-box {
    width: 100%;
    max-width: 960px;
    background-color: #fffafb; /* 연한 배경색 */
    border: 1px solid #F3BEEE;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 40px;
    gap: 50px;
    margin-bottom: 40px;
}

.content-box-nonflex {
    width: 100%;
    max-width: 960px;
    background-color: #fffafb; /* 연한 배경색 */
    border: 1px solid #F3BEEE;
    border-radius: 20px;
    align-items: center;
    padding: 40px;
    /*margin-bottom: 40px;*/
}
.inner-contents {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* 이미지 영역 (물방울 + 원형 일러스트) */
.image-area {
    position: relative;
    flex-shrink: 0;
}

.num-img {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 70px;
    z-index: 2;
}

.gallery-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
}

/* 텍스트 영역 */
.text-area {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.text-area h3 {
    font-size: 28px;
    color: #333;
    line-height: 1.4;
}

.text-area p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}

/* 프로그램 소개의 각 상단 이미지+텍스트 */
.program-box {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 40px;
}
/* 이미지 영역 (물방울 + 원형 일러스트) */
.program-image-area {
    position: relative;
    flex-shrink: 0;
}
/* 텍스트 영역 */
.program-text-area {
    display: flex;
    flex-direction: column;
    /*gap: 15px;*/
}

.program-text-area .head-h3 {
    font-size: 24pt;
    line-height: 1.6;
}


.descript-box {
    width: 100%;
    max-width: 960px;
    background-color: #fffafb; /* 연한 배경색 */
    border: 1px solid #F3BEEE;
    border-radius: 20px;
    padding: 20px 20px;
    gap: 50px;
    margin-bottom: 40px;
}

.descript-box-blue {
    background-color: #F8FFFB; /* 연한 배경색 */
    border: 1px solid #C4D9F9;
}

.descript-box-purple {
    background-color: #F9F8FC; /* 연한 배경색 */
    border: 1px solid #E0CEF9;
}

.descript-box p{
    padding-left:90px;
}

.descript-number-title {
    display: flex;
    align-items: center;
    gap: 26px;
}

.descript-number-title img{
    width: 60px;
}

.descript-number-title h2 {
    font-size: 26px;
    font-weight: 600;
    margin-top: 10px;
    color: #5C5652;
}


/* 반응형 처리 (태블릿 및 모바일) */
@media (max-width: 768px) {
    .content-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px;
    }
    .program-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px;
    }

    .text-area {
        align-items: center;
    }

    .program-text-area {
        align-items: center;
    }

    .num-img {
        width: 60px;
        top: 0;
        left: 0;
    }

    .gallery-img {
        width: 200px;
        height: 200px;
    }

    .text-area h3 {
        font-size: 22px;
    }

    .program-text-area {
        font-size: 22px;
    }

    .text-area p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .descript-box p {
        padding-left: 0px;
    }
}

/* 전체 컨테이너 */
.inquiry-wrapper {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* 문의 카드 박스 */
.about-card {
    background-color: #fffafb; /* 연한 배경색 */
    border: 1px solid #F3BEEE;
    border-radius: 20px;
    padding: 50px 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.about-card-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color:#5C5652;
}

.about-card-desc {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 45px;
}

/* 일러스트 및 연락처 정보 정렬 */
.info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.illustration-area {
    flex-shrink: 0;
}

.contact-img {
    width: 280px;
    height: auto;
    border-radius: 15px;
    object-fit: contain;
}

.location-img {
    width: 280px;
    height: auto;
    border-radius: 50%;
    object-fit: contain;
}


.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    max-width: 400px;
}

.info-row {
    display: flex;
    font-size: 17px;
}

.info-row .label {
    width: 110px;
    font-weight: 600;
    color: #5C5652;
}

.info-row .value {
    color: #555;
}

/* 하단 버튼 그룹 스타일 */
.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.action-btn {
    border: 2px solid #ffffff;
    border-radius: 40px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #4a4a4a;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.action-btn .arrow {
    font-size: 15px;
    font-weight: normal;
}

/* 버튼별 색상 설정 */
.action-btn.pink {
    background-color: #ffd1d1;
}

.action-btn.orange {
    background-color: #ffe5c4;
}

.action-btn.green {
    background-color: #e2efc7;
}

/* 반응형 디자인 (태블릿 및 모바일) */
@media (max-width: 768px) {
    .about-card {
        padding: 30px 20px;
    }

    .about-card-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .about-card-desc {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .info-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .contact-info {
        align-items: center;
        width: 100%;
    }

    .info-row {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .info-row .label {
        width: 100%;
    }

    .button-container {
        flex-direction: column;
        align-items: stretch;
    }

    .action-btn {
        justify-content: center;
    }
}

/*!* ==========================================================*/
/*   강조 박스
/*   ========================================================== *!*/
.qustion-box {
    background-color: #FAF7F5; /* 따뜻하고 부드러운 크림 베이지 */
    border: 1px solid #EAE3DC;
    border-radius: 16px;
    padding: 40px 32px;
    margin-bottom: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); /* 은은한 그림자 */
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.qustion-box h3 {
    font-size: 1.25rem; /* 20px */
    font-weight: 300;
    color: #8C6A58; /* 온화한 로즈 브라운/웜 브라운 */
    margin: 0;
    line-height: 1.5;
    text-align: center;
    position: relative;
}

/*!* ==========================================================*/
/*   페이지 마무리 강조 영역*/
/*   ========================================================== *!*/
.finally-text {
    background: linear-gradient(135deg, #f8f7f6 0%, #f8f2ec 100%);
    /*border-left: 4px solid #A68B7C; !* 톤다운된 따뜻한 브라운 바 *!*/
    border-left: 4px solid #cdb3a6; /* 톤다운된 따뜻한 브라운 바 */
    border-radius: 0 12px 12px 0;
    padding: 24px 28px;
    margin-top: 20px;
}

.finally-text p {
    font-size: 1.15rem; /* 18.4px */
    font-weight: 500;
    color: #3A3532;
    margin: 0;
    line-height: 1.7;
}

.finally-text .title-text {
    font-weight: 700;
    color: #8C6A58;
}



/* 메인 카피 */
.main-copy-box {
    padding-bottom: 30px;
}
.main-copy-box p {
    font-size: 24pt;
    font-weight: 700;
    line-height: 1.6;
    margin: 0;
}

/* 본문 내용 */
.intro-text {
    font-size: 18px; /* 18px */
    font-weight: 400;
    color: #5C5652;
    margin-bottom: 20px;
}
.intro-text p {
    margin-bottom: 20px;
}

/*동그라미 설명 디자인 섹션 */
.card-desc-section {
    margin-bottom: 50px;
}
.card-desc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 15px;
    margin: 0 -15px;
}
.card-desc-cell {
    width: 50%;
    background-color: #faf8f5; /* 차분하고 안정감 있는 미색 크림톤 */
    border: 1px solid #eae5df;
    border-radius: 15px;
    padding: 25px 20px;
    vertical-align: top;
    box-shadow: 0 2px 5px rgba(0,0,0,0.01);
}
.card-desc-cell .num {
    font-size: 14pt;
    font-weight: 600;
    color: #c5a880;
    display: block;
    margin-bottom: 10px;
    font-family: 'Times New Roman', serif;
}
.card-desc-cell .question {
    font-weight: 400;
    color: #2c4a3e;
    margin: 0;
    word-break: keep-all;
    line-height: 1.5;
}

/* 하단 요약 시스템 박스 */
.system-box {
    background-color: #f4f6f5;
    border-left: 4px solid #2c4a3e;
    padding: 22px 25px;
    margin-bottom: 45px;
    border-radius: 0 4px 4px 0;
}
.system-box p {
    font-size: 12pt;
    color: #333333;
    margin: 0;
    font-weight: 500;
    word-break: keep-all;
}

/* 서브카피 영역 */
.sub-footer {
    text-align: center;
    background-color: #fafafa;
    border-top: 1px solid #eeeeee;
    padding: 30px 20px;
    margin-top: 20px;
}
.sub-footer .sub-copy {
    font-size: 32px;
    font-weight: 600;
    color: #666666;
    margin: 0;
    letter-spacing: 0.5px;
}


/*!* ==========================================================================*/
/*추가: 부부들의 고백 (Voice Section) 감성 디자인*/
/*========================================================================== *!*/
.voice-section {
    margin-bottom: 50px;
    padding: 10px 0;
}

.voice-title {
    font-size: 24pt;
    font-weight: 600;
    color: #666666;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    position: relative;
}

/* 2열 반응형 배치가 가능한 테이블 대용 격자 구조 */
.voice-grid {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 15px;
    margin: 0 -15px;
}

/* 세로 정렬을 위한 가상 행 처리 (위 코드가 테이블 레이아웃일 때) */
.voice-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.voice-card {
    flex: 1 1 calc(50% - 16px); /* 2열로 균등 분할 배치 */
    min-width: 280px;
    background-color: #ffffff;
    border: 1px solid #eae5df;
    /*border-left: 3px solid #c5a880; !* 브랜드 골드 베이지로 정서적 포인트 *!*/
    border-radius: 15px;
    padding: 22px 20px;
    position: relative;
    box-shadow: 0 4px 12px rgba(44, 74, 62, 0.03); /* 다크그린 베이스의 미세한 그림자 */
}

/* 폰트어썸 아이콘을 사용할 경우를 대비한 가벼운 쉼표 장식 CSS (선택사항) */
.voice-card::before {
    content: "“";
    position: absolute;
    top: 10px;
    left: 12px;
    font-family: 'Times New Roman', serif;
    font-size: 28pt;
    color: rgba(197, 168, 128, 0.15); /* 은은하게 깔리는 배경 말따옴표 */
    line-height: 1;
}

.voice-card p {
    font-size: 14pt;
    font-weight: 500;
    color: #444444;
    line-height: 1.5;
    margin: 0;
    padding-left: 10px;
    word-break: keep-all;
    font-style: italic; /* 고백의 뉘앙스를 살리는 이탤릭 무드 */
}

/* 모바일 화면 대응 리사이징 보정 */
@media (max-width: 768px) {
    .voice-card {
        flex: 1 1 100%; /* 모바일에서는 정갈하게 1열로 세로 나열 */
        text-align: center;
    }
}

@media (max-width: 480px) {
    .overview-image {
        background-image: url('../img/attach/renew/main_m_01.jpg');
    }
}


     /* 공통 아이콘/메타 텍스트 스펙 */
 .meta-group {
     display: flex;
     gap: 15px;
     font-size: 13px;
     color: #888888;
 }
.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}
.meta-item.like { color: #c5a880; font-weight: 500; }

/* ==========================================================================
   2. 리스트 페이지 스타일
   ========================================================================== */
.board-list-wrapper {
    display: block;
}
.board-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 2px solid #2c4a3e;
}
.board-item {
    border-bottom: 1px solid #eae5df;
    padding: 25px 15px;
    transition: background-color 0.2s ease;
    cursor: pointer;
}
.board-item:hover {
    background-color: #faf8f5;
}
.board-item .list-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c4a3e;
    margin: 0 0 10px 0;
    word-break: keep-all;
}
.board-item .list-excerpt {
    font-size: 14px;
    color: #666666;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 두 줄 이상은 말줄임표 처리 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 페이징 넘버 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}
.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #eae5df;
    border-radius: 3px;
    font-size: 14px;
    color: #666666;
    cursor: pointer;
    transition: all 0.2s ease;
}
.page-btn:hover {
    border-color: #2c4a3e;
    color: #2c4a3e;
}
.page-btn.active {
    background-color: #2c4a3e;
    border-color: #2c4a3e;
    color: #ffffff;
    font-weight: 600;
}

/* ==========================================================================
   3. 상세 페이지 스타일 (기본 숨김)
   ========================================================================== */

.detail-header {
    border-bottom: 1px solid #2c4a3e;
    padding-bottom: 20px;
    margin-bottom: 30px;
}
.detail-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c4a3e;
    margin: 0 0 15px 0;
    word-break: keep-all;
}
.detail-body {
    font-size: 15px;
    color: #444444;
    line-height: 1.8;
    min-height: 250px;
    padding: 10px 5px;
    word-break: keep-all;
    white-space: pre-wrap; /* 줄바꿈 유지 */
}

/* 목록보기 버튼 */
.btn-area {
    text-align: center;
    margin: 40px 0;
}
.btn-list {
    display: inline-block;
    padding: 12px 35px;
    background-color: #ffffff;
    border: 1px solid #2c4a3e;
    color: #2c4a3e;
    font-size: 14px;
    font-weight: 500;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-list:hover {
    background-color: #2c4a3e;
    color: #ffffff;
}

/* 이전글 / 다음글 네비게이션 */
.prev-next-nav {
    border-top: 1px solid #eae5df;
    border-bottom: 1px solid #eae5df;
    margin-top: 40px;
}
.nav-row {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    font-size: 14px;
    cursor: pointer;
}
/*.nav-row:first-child {*/
/*    border-bottom: 1px solid #f4f0ea;*/
/*}*/
.nav-row:hover {
    background-color: #faf8f5;
}
.nav-label {
    width: 80px;
    font-weight: 600;
    color: #888888;
    display: flex;
    align-items: center;
}
.nav-row.prev .nav-label { color: #c5a880; }
.nav-title {
    flex: 1;
    color: #444444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 20px;
}
.nav-none {
    color: #aaaaaa;
    font-style: italic;
}

/* --- Elegant Location Tab Menu --- */
.tab_menu_area {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}
.tab_btn {
    background-color: transparent;
    border: 1px solid rgba(43, 61, 50, 0.15);
    color: var(--brand-green);
    padding: 15px 35px;
    font-family: 'Noto Serif KR', serif;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.4s ease;
}
.tab_btn.active {
    background-color: var(--brand-green);
    border-color: var(--brand-green);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(43, 61, 50, 0.15);
}
.tab_btn:hover:not(.active) {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}

/* --- Map & Info Container Grid --- */
.location_container {
    display: none; /* 기본 숨김 */
    animation: fadeIn 0.6s ease forwards;
}
.location_container.active {
    display: block;
}

/* 지도 영역 스타일링 */
.map_wrapper {
    width: 100%;
    height: 480px;
    background-color: #f1ede6;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(163, 150, 133, 0.12);
    border: 1px solid rgba(43, 61, 50, 0.05);
    overflow: hidden;
    margin-bottom: 45px;
}

/* 구글 인포윈도우 내부 폰트 대응 정의 */
.gm-style-iw-d {
    font-family: 'Noto Serif KR', serif !important;
    color: var(--brand-green) !important;
}

/* 하단 텍스트 정보 리스트 디자인 */
.list_sec {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.list_sec.single_col {
    grid-template-columns: 1fr;
}
.list_sec.two_col {
    grid-template-columns: repeat(2, 1fr);
}

.list_sec .item {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 35px 30px;
    border: 1px solid rgba(43, 61, 50, 0.04);
    box-shadow: 0 8px 25px rgba(163, 150, 133, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.list_sec .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(43, 61, 50, 0.08);
}

.list_sec .item h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--brand-green);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.list_sec .item h3::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--brand-gold);
    border-radius: 50%;
}
.list_sec .item p {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 300;
    line-height: 1.8;
}
.list_sec .item p .highlight {
    color: var(--brand-gold);
    font-weight: 500;
}
.list_sec .item p .sub_text {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

/* --- Animation --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive View --- */
@media (max-width: 768px) {
    .sub_overview { padding: 60px 0 80px; }
    .intro_sec h2 { font-size: 28px; }
    .tab_menu_area { flex-direction: column; align-items: center; gap: 10px; }
    .tab_btn { width: 100%; max-width: 320px; text-align: center; }
    .map_wrapper { height: 350px; }
    .list_sec { grid-template-columns: 1fr !important; gap: 20px; }
}


/* ==========================================================================
   4. 모바일 반응형 대응 (Media Query)
   ========================================================================== */
@media (max-width: 768px) {
    .sub-header { padding: 45px 20px; }
    .sub-header h1 { font-size: 22px; }
    .container { padding: 30px 15px 60px 15px; }

    .board-item { padding: 20px 10px; }
    .board-item .list-title { font-size: 16px; }
    .board-item .list-excerpt { font-size: 13px; margin-bottom: 10px; }

    .detail-title { font-size: 19px; }
    .detail-body { font-size: 14px; }

    .nav-row { padding: 12px 10px; font-size: 13px; }
    .nav-label { width: 60px; }

    .sub-container {
        margin: 40px auto;
        padding: 0 20px;
    }

    /*.intro-text p {*/
    /*    font-size: 1rem;*/
    /*}*/

    .qustion-box {
        padding: 28px 20px;
        gap: 14px;
    }

    .qustion-box h3 {
        font-size: 1.05rem;
    }

    .finally-text p {
        font-size: 1.05rem;
    }

    .sub-footer .sub-copy {
        font-size: 1.2rem;
    }
}

.text-p48 {
    font-size: 48px;
}
.text-p36 {
    font-size: 36px;
}
.text-p24 {
    font-size: 24px;
}
.text-p20 {
    font-size: 20px;
}
.text-p18 {
    font-size: 18px;
}
.text-p16 {
    font-size: 16px;
}
.text-p14 {
    font-size: 14px;
}

.text-w300 {
    font-weight: 300;
}
.text-w400 {
    font-weight: 400;
}
.text-w500 {
    font-weight: 500;
}
.text-w600 {
    font-weight: 600;
}
.text-w700 {
    font-weight: 700;
}

.text-lineh16 {
    line-height: 1.6;
}
.text-lineh18 {
    line-height: 1.8;
}
.text-lineh20 {
    line-height: 2.0;
}

.margin-t20 {
    margin-top: 20px;
}
.margin-t40 {
    margin-top: 40px;
}
.margin-b20 {
    margin-bottom: 20px;
}
.margin-b40 {
    margin-bottom: 40px;
}

.paragraph-top {
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
}
.align-center {
    text-align: center;
}

.margin-center {
    margin: 0 auto;
}
.text-italic {
    font-style: italic;
}
.text-serif {
    font-family: Gowun Batang, Georgia, serif;
}
.text-default {
    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}

.image img {
    max-width: 100%
}

@media (max-width: 768px) {
    .text-p36 {
        font-size: 1.5rem !important;
    }
}

.force_hidden {
    display: none !important;
}


/* 노트에 메모지 효과 */
.notebook-container {
    background-color: #fdfbf7;
    /* 줄노트 패턴 배경 */
    background-image: linear-gradient(#e5e0d8 1px, transparent 1px);
    background-size: 100% 32px;
    width: 100%;
    max-width: 900px;
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
}

/* 상단 제목 */
.notebook-title {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 40px;
    word-break: keep-all;
}

/* 메모지 그리드 레이아웃 */
.note-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* 메모지 기본 스타일 */
.sticky-note {
    padding: 30px 25px 25px 25px;
    min-height: 180px;
    position: relative;
    border-radius: 2px;
    /* 은은한 메모지 그림자 효과 */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.08),
    0 0 1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 마우스 호버 시 살짝 들리는 효과 */
.sticky-note:hover {
    transform: scale(1.02) rotate(0deg) !important;
    box-shadow: 8px 12px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* 각 메모지별 파스텔 톤 색상 및 자연스러운 기울임 */
.note-1 {
    background-color: #fffbcf; /* 파스텔 노랑 */
    transform: rotate(-1.5deg);
}

.note-2 {
    background-color: #e6f4fa; /* 파스텔 블루 */
    transform: rotate(1.2deg);
}

.note-3 {
    background-color: #f3e5f5; /* 파스텔 퍼플 */
    transform: rotate(1deg);
}

.note-4 {
    background-color: #f0fcf1; /* 파스텔 그린 */
    transform: rotate(-1deg);
}

/* 큰 따옴표 아이콘 */
.quote-mark {
    font-size: 1.8rem;
    color: #555;
    line-height: 1;
    margin-bottom: 10px;
    font-family: sans-serif;
}

/* 메모지 내부 텍스트 */
.note-text {
    font-family: 'Gamja Flower', cursive, sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #2c2c2c;
    word-break: keep-all;
}

/* 모바일 대응 (화면이 작아지면 1열로 변경) */
@media (max-width: 650px) {
    .note-grid {
        grid-template-columns: 1fr;
    }
    .notebook-container {
        padding: 30px 20px;
    }
    .notebook-title {
        font-size: 1.6rem;
    }
    .note-text {
        font-size: 1.25rem;
    }
}

/*리뉴얼 서브페이지 스타일*/
.sec-number-title {
    display: flex;
    align-items: center;
    gap: 12px;
    /*margin-top: 40px;*/
    /*margin-bottom: 20px;*/
}

.sec-number-title img{
    width: 65px;
}

.sec-number-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-top: 20px;
}


.text-color-primary {
    color: var(--brand-primary);
}

.text-color-bluegreen {
    color: var(--point-bluegreen);
}

.text-color-orange {
    color: var(--point-orange);
}

.text-color-purple {
    color: var(--point-purple);
}
.text-color-yellow {
    color: var(--point-yellow);
}
.text-color-green {
    color: var(--point-green);
}

.simple-box {
    width: 100%;
    background-color: #F8F8F8;
    padding: 15px 25px;
    border-radius: 15px;
    margin-top: 40px;
}
.simple-box li {
    margin-bottom: 8px;
    font-weight:500;
}
.check-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    color: #ffffff;
    font-size: 12px;
    border-radius: 50%;
    margin-right: 12px;
}

.check-icon-bluegreen {
    background-color: var(--point-bluegreen);
}

.check-icon-orange {
    background-color: var(--point-orange);
}

.check-icon-purple {
    background-color: var(--point-purple);
}
.check-icon-yellow {
    background-color: var(--point-yellow);
}

.white {
    color:#ffffff;
}
/* 라벨 스타일 */
.label {
    display: inline-block;
    width: 160px;
    font-weight: 600;
    color: #333;
    flex-shrink: 0;
}

/* 내용 스타일 */
.value {
    color: #555;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .value {
        display: block;
        padding-left:35px;
    }
}

@media (max-width: 480px) {

}

.footer {
    background-color: #333;
    color: #aaa;
    padding: 40px 20px;
    font-size: 14px;
    line-height: 1.8;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* 상단 메뉴 */
.footer-menu {
    border-bottom: 1px solid #444;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
}

.footer-menu .bar {
    margin: 0 10px;
    color: #555;
}

/* 회사 정보 및 고객센터 (좌우 배치) */
.footer-info {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.cs-title {
    color: #fff;
    font-weight: bold;
}

/* 저작권 */
.copyright {
    font-size: 13px;
    color: #777;
}

/* 반응형 처리: 모바일에서는 세로로 정렬 */
@media (max-width: 768px) {
    .footer-info {
        flex-direction: column;
        gap: 20px;
    }
}

.pl-20 {
    padding-left: 20px;
}