/* 데스크탑과 태블릿에서는 br 숨김 (한 줄) */
.mobile_br {
    display: none;
}

/* ===== 지노블 스토리 메인 섹션 ===== */
.story_main_section {
    position: relative;
    width: 100%;
    height: 580px; /* 데스크탑 기본 높이 */
    margin-top: 70px; /* top_banner 높이만큼 여백 - 기본값 */
    background-image: url('/theme/gnoble/images/about/main_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.story_main_container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story_main_content {
    text-align: center;
    color: #FFFFFF;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story_main_title {
    font-size: 40px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 60px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.story_navigation {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    /* background: rgba(0, 0, 0, 0.3); */
    /* backdrop-filter: blur(10px); */
    /* border-radius: 10px 10px 0 0; */
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
}

.story_nav_item {
    flex: 1;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(72, 67, 60, 0.8);
    text-decoration: none;
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.story_nav_item:last-child {
    border-right: none;
}

.story_nav_item span {
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    display: block;
}

.story_nav_item.active span {
    color: #D4AF5F;
    font-weight: 600;
}

.story_nav_item:hover span {
    color: #D4AF5F;
}

.story_nav_item:hover {
    background: rgba(72, 67, 60, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.story_nav_item:focus {
    outline: 2px solid #D4AF5F;
    outline-offset: 2px;
}

.story_nav_item:active {
    transform: translateY(0);
}

/* ===== 반응형 디자인 ===== */

/* 1. 데스크탑 (1200px 이상) - 기본 스타일 */
@media (min-width: 1200px) {
    .story_main_section {
        height: 580px;
        margin-top: 70px; /* 데스크탑 top_banner 높이 */
    }
    
    .story_main_title {
        font-size: 40px; /* 데스크탑 */
        margin-bottom: 60px;
    }
    
    .story_navigation {
        max-width: 1200px;
    }
    
    .story_nav_item {
        padding: 20px 0;
    }
    
    .story_nav_item span {
        font-size: 18px; /* 데스크탑 */
    }
}

/* 2. 태블릿 (768px ~ 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .story_main_section {
        height: 520px; /* 태블릿 중간값 */
        margin-top: 60px; /* 태블릿 top_banner 높이 */
    }
    
    .story_main_title {
        font-size: 35px; /* 태블릿 중간값 */
        margin-bottom: 50px;
    }
    
    .story_navigation {
        max-width: 100%;
    }
    
    .story_nav_item {
        padding: 18px 0;
    }
    
    .story_nav_item span {
        font-size: 16px; /* 태블릿 중간값 */
    }
}

/* 3. 모바일 (480px ~ 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    /* 모바일에서는 br 표시 (두 줄) */
    .mobile_br {
        display: block;
    }
    
    .story_main_section {
        height: 480px; /* 모바일 중간값 */
        margin-top: 55px; /* 모바일 top_banner 높이 */
    }
    
    .story_main_container {
        padding: 0 15px;
    }
    
    .story_main_title {
        font-size: 32px; /* 모바일 중간값 */
        margin-bottom: 40px;
    }
    
    .story_navigation {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        /* background: rgba(0, 0, 0, 0.4);
        border-radius: 10px 10px 0 0; */
        gap: 0;
    }
    
    .story_nav_item {
        padding: 15px 0;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .story_nav_item:nth-child(2n) {
        border-right: none;
    }
    
    .story_nav_item:nth-child(n+3) {
        border-bottom: none;
    }
    
    .story_nav_item span {
        font-size: 15px; /* 모바일 중간값 */
    }
}

/* 4. 작은 모바일 (480px 이하) */
@media (max-width: 479px) {
    /* 작은 모바일에서도 br 표시 (두 줄) */
    .mobile_br {
        display: block;
    }
    
    .story_main_section {
        height: 435px; /* 작은 모바일 */
        margin-top: 55px; /* 작은 모바일 top_banner 높이 */
    }
    
    .story_main_container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .story_main_title {
        font-size: 30px; /* 작은 모바일 */
        margin-bottom: 35px;
    }
    
    .story_navigation {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        /* background: rgba(0, 0, 0, 0.4);
        border-radius: 10px 10px 0 0; */
        gap: 0;
    }
    
    .story_nav_item {
        padding: 12px 0;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .story_nav_item:nth-child(2n) {
        border-right: none;
    }
    
    .story_nav_item:nth-child(n+3) {
        border-bottom: none;
    }
    
    .story_nav_item span {
        font-size: 13px; /* 작은 모바일 */
    }
}

/* ===== 스토리 타이틀 섹션 ===== */
.story_title_section {
    background-color: #FFFFFF;
    padding: 100px 0 40px 0; /* 데스크탑 기본값 */
}

.story_title_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.story_title {
    font-size: 40px; /* 데스크탑 기본값 */
    font-weight: 700;
    color: #333333;
    text-align: left;
    margin: 0;
    line-height: 1.2;
}

/* 1. 데스크탑 (1200px 이상) - 기본 스타일 */
@media (min-width: 1200px) {
    .story_title_section {
        padding: 100px 0 40px 0; /* 데스크탑 */
    }
    
    .story_title {
        font-size: 40px; /* 데스크탑 */
    }
}

/* 2. 태블릿 (768px ~ 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .story_title_section {
        padding: 87px 0 35px 0; /* 태블릿 중간값 */
    }
    
    .story_title {
        font-size: 35px; /* 태블릿 중간값 */
    }
}

/* 3. 모바일 (480px ~ 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .story_title_section {
        padding: 81px 0 32px 0; /* 모바일 중간값 */
    }
    
    .story_title_container {
        padding: 0 15px;
    }
    
    .story_title {
        font-size: 32px; /* 모바일 중간값 */
    }
}

/* 4. 작은 모바일 (480px 이하) */
@media (max-width: 479px) {
    .story_title_section {
        padding: 75px 0 30px 0; /* 작은 모바일 */
    }
    
    .story_title_container {
        padding: 0 15px;
    }
    
    .story_title {
        font-size: 30px; /* 작은 모바일 */
    }
}

/* ===== 스토리 섹션1 ===== */
.story_section1 {
    background-image: url('/theme/gnoble/images/about/story_section01_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0; /* 데스크탑 기본값 */
    width: 100%;
}

.story_section1_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.story_section1_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.story_section1_logo {
    margin-bottom: 20px;
}

.story_section1_logo img {
    width: 370px;
    height: auto;
}

.story_section1_text {
    color: #FFFFFF;
}

.story_section1_subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 40px;
    font-weight: 700;
    color: #D4AF5F;
    margin: 0;
    line-height: 1.4;
}

.story_section1_title {
    font-family: 'Noto Serif KR', serif;
    font-size: 40px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* 1. 데스크탑 (1200px 이상) - 기본 스타일 */
@media (min-width: 1200px) {
    .story_section1 {
        padding: 100px 0; /* 데스크탑 */
    }
    
    .story_section1_logo {
        margin-bottom: 20px; /* 데스크탑 */
    }
    
    .story_section1_logo img {
        width: 370px; /* 데스크탑 */
    }
    
    .story_section1_subtitle {
        font-size: 40px; /* 데스크탑 */
    }
    
    .story_section1_title {
        font-size: 40px; /* 데스크탑 */
    }
}

/* 2. 태블릿 (768px ~ 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .story_section1 {
        padding: 80px 0; /* 태블릿 중간값 */
    }
    
    .story_section1_logo {
        margin-bottom: 18px; /* 태블릿 중간값 */
    }
    
    .story_section1_logo img {
        width: 325px; /* 태블릿 중간값 */
    }
    
    .story_section1_subtitle {
        font-size: 35px; /* 태블릿 중간값 */
    }
    
    .story_section1_title {
        font-size: 35px; /* 태블릿 중간값 */
    }
}

/* 3. 모바일 (480px ~ 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .story_section1 {
        padding: 60px 0; /* 모바일 중간값 */
    }
    
    .story_section1_container {
        padding: 0 15px;
    }
    
    .story_section1_logo {
        margin-bottom: 15px; /* 모바일 중간값 */
    }
    
    .story_section1_logo img {
        width: 302px; /* 모바일 중간값 */
    }
    
    .story_section1_subtitle {
        font-size: 32px; /* 모바일 중간값 */
    }
    
    .story_section1_title {
        font-size: 32px; /* 모바일 중간값 */
    }
}

/* 4. 작은 모바일 (480px 이하) */
@media (max-width: 479px) {
    .story_section1 {
        padding: 50px 0; /* 작은 모바일 */
    }
    
    .story_section1_container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .story_section1_logo {
        margin-bottom: 12px; /* 작은 모바일 */
    }
    
    .story_section1_logo img {
        width: 280px; /* 작은 모바일 */
    }
    
    .story_section1_subtitle {
        font-size: 30px; /* 작은 모바일 */
    }
    
    .story_section1_title {
        font-size: 30px; /* 작은 모바일 */
    }
}

/* ===== 스토리 섹션2 ===== */
.story_section2 {
    background-color: #FFFFFF;
    padding: 100px 0; /* 데스크탑 기본값 */
}

.story_section2_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.story_section2_content {
    display: flex;
    align-items: stretch;
    height: 400px;
}

.story_section2_left {
    flex: 1.28;
    height: 400px;
}

.story_section2_left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story_section2_right {
    flex: 1;
    height: 400px;
    background-color: #48433C;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.story_section2_brand {
    font-family: 'Noto Serif KR', serif;
    font-size: 32px;
    font-weight: 700;
    color: #D4AF5F;
    margin-bottom: 30px;
    line-height: 1.2;
}

.story_section2_text {
    color: #FFFFFF;
}

.story_section2_text p {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    /* margin-bottom: 12px; */
    color: #FFFFFF;
}

.story_section2_text p:last-child {
    margin-bottom: 0;
}

.story_section2_bottom {
    text-align: center;
    margin-top: 60px;
}

.story_section2_bottom_text {
    margin-bottom: 40px;
}

.story_section2_bottom_text p {
    font-family: 'Noto Serif KR', serif;
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.story_section2_bottom_text p:last-child {
    margin-bottom: 0;
}

.story_section2_middle_text {
    margin: 30px auto;
    max-width: 800px;
    text-align: center;
}

.story_section2_middle_text p {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #666666;
    text-align: center;
    margin: 0;
}

.story_section2_divider {
    width: 1px;
    height: 80px; /* 데스크탑 기본값 */
    background-color: #333333;
    margin: 0 auto 30px;
}

.story_section2_call {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    line-height: 1.4;
}

/* 1. 데스크탑 (1200px 이상) - 기본 스타일 */
@media (min-width: 1200px) {
    .story_section2 {
        padding: 100px 0; /* 데스크탑 */
    }
    
    .story_section2_right {
        padding: 60px;
        min-height: 400px;
    }
    
    .story_section2_brand {
        font-size: 40px; /* 데스크탑 */
    }
    
    .story_section2_text p {
        font-size: 18px; /* 데스크탑 */
    }
    
    .story_section2_bottom {
        margin-top: 60px;
    }
    
    .story_section2_bottom_text p {
        font-size: 40px; /* 데스크탑 */
    }
    
    .story_section2_middle_text {
        margin: 30px auto;
        max-width: 800px;
        text-align: center;
    }
    
    .story_section2_middle_text p {
        font-size: 18px; /* 데스크탑 */
    }
    
    .story_section2_divider {
        height: 80px; /* 데스크탑 */
    }
    
    .story_section2_call {
        font-size: 40px; /* 데스크탑 */
    }
}

/* 2. 태블릿 (768px ~ 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .story_section2 {
        padding: 80px 0; /* 태블릿 중간값 */
    }
    
    .story_section2_container {
        padding: 0 20px;
    }
    
    .story_section2_right {
        padding: 30px;
    }
    
    .story_section2_brand {
        font-size: 35px; /* 태블릿 중간값 */
    }
    
    .story_section2_text p {
        font-size: 16px; /* 태블릿 중간값 */
    }
    
    .story_section2_bottom {
        margin-top: 50px;
    }
    
    .story_section2_bottom_text p {
        font-size: 35px; /* 태블릿 중간값 */
    }
    
    .story_section2_middle_text {
        margin: 25px auto;
        max-width: 700px;
        text-align: center;
    }
    
    .story_section2_middle_text p {
        font-size: 16px; /* 태블릿 중간값 */
    }
    
    .story_section2_divider {
        height: 70px; /* 태블릿 중간값 */
    }
    
    .story_section2_call {
        font-size: 35px; /* 태블릿 중간값 */
    }
}

/* 3. 모바일 (480px ~ 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .story_section2 {
        padding: 60px 0; /* 모바일 중간값 */
    }
    
    .story_section2_container {
        padding: 0 15px;
    }
    
    .story_section2_content {
        flex-direction: column;
        height: auto;
    }
    
    .story_section2_left {
        height: 300px;
        flex: none;
    }
    
    .story_section2_left img {
        width: 100%;
        height: 100%;
    }
    
    .story_section2_right {
        height: 250px;
        padding: 25px;
        align-items: flex-start;
        text-align: left;
        flex: none;
    }
    
    .story_section2_brand {
        font-size: 32px; /* 모바일 중간값 */
        margin-bottom: 15px;
    }
    
    .story_section2_text p {
        font-size: 15px; /* 모바일 중간값 */
    }
    
    .story_section2_bottom {
        margin-top: 40px;
    }
    
    .story_section2_bottom_text p {
        font-size: 32px; /* 모바일 중간값 */
    }
    
    .story_section2_middle_text {
        margin: 20px auto;
        max-width: 100%;
        padding: 0 20px;
        text-align: center;
    }
    
    .story_section2_middle_text p {
        font-size: 15px; /* 모바일 중간값 */
    }
    
    .story_section2_divider {
        height: 65px; /* 모바일 중간값 */
    }
    
    .story_section2_call {
        font-size: 32px; /* 모바일 중간값 */
    }
}

/* 4. 작은 모바일 (480px 이하) */
@media (max-width: 479px) {
    .story_section2 {
        padding: 50px 0; /* 작은 모바일 */
    }
    
    .story_section2_container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .story_section2_content {
        flex-direction: column;
        height: auto;
    }
    
    .story_section2_left {
        height: 200px;
        flex: none;
    }
    
    .story_section2_left img {
        width: 100%;
        height: 100%;
    }
    
    .story_section2_right {
        height: 200px;
        padding: 20px;
        align-items: flex-start;
        text-align: left;
        flex: none;
    }
    
    .story_section2_brand {
        font-size: 30px; /* 작은 모바일 */
        margin-bottom: 10px;
    }
    
    .story_section2_text p {
        font-size: 13px; /* 작은 모바일 */
    }
    
    .story_section2_bottom {
        margin-top: 30px;
    }
    
    .story_section2_bottom_text p {
        font-size: 30px; /* 작은 모바일 */
    }
    
    .story_section2_middle_text {
        margin: 15px auto;
        max-width: 100%;
        padding: 0 15px;
        text-align: center;
    }
    
    .story_section2_middle_text p {
        font-size: 13px; /* 작은 모바일 */
    }
    
    .story_section2_divider {
        height: 60px; /* 작은 모바일 */
    }
    
    .story_section2_call {
        font-size: 30px; /* 작은 모바일 */
    }
}

/* ===== 스토리 섹션3 ===== */
.story_section3 {
    background-image: url('/theme/gnoble/images/about/story_section03_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0; /* 데스크탑 기본값 */
    width: 100%;
    position: relative;
}

.story_section3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.story_section3_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.story_section3_content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.story_section3_text {
    font-family: 'Noto Serif KR', serif;
    font-size: 40px; /* 데스크탑 기본값 */
    font-weight: 700;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.story_section3_text:last-child {
    margin-bottom: 0;
}

.story_section3_gold {
    color: #D4AF60;
}

.story_section3_white {
    color: #FFFFFF;
}

/* 1. 데스크탑 (1200px 이상) - 기본 스타일 */
@media (min-width: 1200px) {
    .story_section3 {
        padding: 100px 0; /* 데스크탑 */
    }
    
    .story_section3_text {
        font-size: 40px; /* 데스크탑 */
    }
}

/* 2. 태블릿 (768px ~ 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .story_section3 {
        padding: 87px 0; /* 태블릿 중간값 */
    }
    
    .story_section3_text {
        font-size: 35px; /* 태블릿 중간값 */
    }
}

/* 3. 모바일 (480px ~ 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .story_section3 {
        padding: 81px 0; /* 모바일 중간값 */
    }
    
    .story_section3_container {
        padding: 0 15px;
    }
    
    .story_section3_text {
        font-size: 32px; /* 모바일 중간값 */
    }
}

/* 4. 작은 모바일 (480px 이하) */
@media (max-width: 479px) {
    .story_section3 {
        padding: 75px 0; /* 작은 모바일 */
    }
    
    .story_section3_container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .story_section3_text {
        font-size: 30px; /* 작은 모바일 */
    }
}
