/* ================================
   COMMON
================================ */
.page-wrap.about-page {
    font-family: inherit;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

.py-120 {
    padding: 120px 0;
}

.mb-40 {
    margin-bottom: 40px;
}

/* CONTAINER 기본 */
.container {
    margin: 0 auto;
}

/* ================================
   ABOUT TAB
================================ */
.about-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.about-tab-btn {
    font-size: var(--title);
    font-weight: 600;
    letter-spacing: 1px;
    padding: 8px 16px;
    position: relative;
    border: 1px solid;
}

.about-tab-btn:hover,
.about-tab-btn.active {
    color: #000;
    background-color: #f7f7f9;
}

.about-tab-btn.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: #000;
    margin: 0 auto;
    width: 100%;
}


/* ================================
   STORY TEXT
================================ */


.story-text {
    max-width: 780px;
    margin: 0 auto;
    font-size: var(--title);
}

.story-text p {
    margin: 26px 0;
}

.story-quote {
    font-size: 22px;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 35px;
}

.sec-title {
    margin-bottom: 24px;
}

.sec-subtitle {
    margin-bottom: 40px;
}


/* ================================
   PEOPLE SECTION
================================ */
.yd-people {
    padding: 120px 0 0 0;
}

.yd-person-row {
    display: flex;
    align-items: center;
    gap: 70px;
    margin-bottom: 120px;
}

.yd-person-row.reverse {
    flex-direction: row-reverse;
}

.yd-person-text {
    flex: 1;
}

.yd-person-title {
    font-size: 32px;
    margin-bottom: 12px;
}

.yd-person-sub {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 600;
}

.yd-person-quote {
    margin-top: 30px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
}

.yd-person-img {
    flex: 1;
}

.yd-person-img img {
    width: 100%;
    border-radius: 18px;
    display: block;
}

/* ================================
   CONCEPT
================================ */
.about-concept {
    padding: 120px 0;
}

.concept-desc {
    max-width: 840px;
    margin: 0 auto 80px;
    font-size: var(--title);
}

.main-concept-img {
    width: 100%;
    max-width: 1080px;
    margin: 40px auto 80px;
    display: block;
    border-radius: 12px;
}

/* CONCEPT BOX GRID */
.row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.concept-box {
    border: 1px solid #ddd;
    padding: 32px 26px;
    border-radius: 16px;
    background: #fff;
}

.concept-box h4 {
    font-size: 26px;
    margin-bottom: 8px;
    font-weight: 900;
}

.concept-box h5 {
    font-size: var(--title);
    margin-bottom: 16px;
    font-weight: 600;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
    .yd-person-row {
        flex-direction: column;
    }

    .yd-person-row.reverse {
        flex-direction: column;
    }

    .row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .row {
        grid-template-columns: 1fr;
    }

    .about-tabs {
        gap: 18px;
        flex-wrap: wrap;
    }

    .about-tab-btn {
        font-size: var(--body);
    }

    .story-text {
        font-size: var(--body);
    }
}






.journey-wrap {
    max-width: 1200px;
    margin: auto;
    padding: 80px 0;
}

.journey-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.journey-hero-time {
    color: #333;
    font-size: 3rem;
    font-weight: 700;
}

.journey-hero-title {
    color: #333;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.journey-hero-sub {
    color: #333;
    font-size: var(--title);
}

.journey-section {
    padding: 90px 0;
    border-bottom: 1px solid #eee;
}
.journey-section:last-child {
    border-bottom: 0;
}
.journey-grid {
    display: flex;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.journey-text {
    flex: 0 0 45%;
    max-width: 500px;
    color: #333;
}


.journey-image {
    flex: 1;
    width: 100%;
    min-width: 0;
    /* 이것이 핵심 */
    overflow-x: hidden;
}

.img-swiper {
    width: 100%;
    max-width: 100%;
    /* ★ 이미지의 최대 너비 제한 */
    overflow: hidden;
    position: relative;
    border-radius: 1rem;
}

.img-swiper .swiper-slide {
    width: 100%;
    height: 450px;
    /* ★ 이미지 높이 고정 (PC용) */
    overflow: hidden;
}

.img-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ★ 화면이 길어져도 사진 비율 유지 */
    display: block;
}





/* 화살표 위치 이미지 중앙 */
.img-swiper .swiper-button-next,
.img-swiper .swiper-button-prev {
    background: transparent;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
    opacity: .5;
}

.img-swiper .swiper-button-next:after,
.img-swiper .swiper-button-prev:after {
    font-size: 12px;
}


.img-swiper .swiper-button-prev {
    left: 1.5rem;
}

.img-swiper .swiper-button-next {
    right: 1.5rem;
}

/* 도트 네비게이션 */
.img-swiper .swiper-pagination {
    bottom: 14px !important;
}

.img-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: transparent;
    border: 1px solid #fff
}

.img-swiper .swiper-pagination-bullet-active {
    background: #fff;
}



.j-time {
    font-size: var(--sub);
    margin-bottom: 1rem;
    font-weight: 600;
}

.j-sub {
    font-size: var(--body);
    margin-bottom: 6px;
    color: var(--dd-main);
}

.j-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 14px;
}

.j-body {
    line-height: 1.7;
    font-size: var(--body);
}

@media (max-width: 768px) {

    .journey-grid {
        flex-direction: column;
        gap: 30px;
    }

    .journey-image {
        order: -1;
        /* 이미지 먼저 */
        width: 100%;
    }

    .journey-text {
        width: 100%;
    }

    .j-title {
        font-size: 22px;
    }

    .img-swiper {
        max-width: 100%;
    }

    .img-swiper .swiper-slide {
        height: 250px;
        /* 모바일 최적 높이 */
    }


}

[data-animate="body"] {
    opacity: 0;
    transform: translateY(40px);
    transition: all .9s cubic-bezier(.25, .1, .25, 1);
}

[data-animate="body"].active {
    opacity: 1;
    transform: translateY(0);
}


.section-title {
    text-align: left;
    width: 100%;
    padding-bottom: 1rem;
    border-bottom: 1px solid;
    margin-bottom: 4rem;
}

.hero-section {
    height: 60vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

.hero-inner {
    position: relative;
    text-align: center;
    color: #fff;
}

.hero-top {
    font-size: .85rem;
    letter-spacing: .12em;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-sub {
    font-size: 1.35rem;
}

 

.bf-section {
    margin: 140px 0;
}

.bf-section hr {
    margin:4rem 0
}

.bf-grid {
    display: flex;
    gap: 60px;
    align-items: center;
}

.bf-section .bf-grid + .bf-grid {
    margin-top: 4rem;
}



.bf-section.alt .bf-grid {
    flex-direction: row-reverse;
}

.bf-text {
    flex: 1; 
    line-height: 1.7;
}

.bf-heading {
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 20px;
}

.bf-heading span {
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    margin-top: 4px;
    color:var(--dd-main)
}
.bf-body {
    margin-bottom: 2rem;
}
.bf-body p {
    margin-bottom: 1rem;
    color: var(--dd-body);
}

.bf-feature-title {
    font-size: var(--title);
    font-weight: 700;
    margin-bottom: 8px;
    color:var(--dd-main)
}

.bf-feature {
    font-size: var(--body);
    line-height: 2;
    padding-left: 1.5rem;
}

.bf-feature li {
    list-style: disc;
    color: var(--dd-body);
}

.bf-slide .swiper {
    width: 100% !important;
}

/* ====== FIX: 슬라이드 높이/레이아웃 보장 (Journey 페이지 동일 패치) ====== */
.bf-slide {
    flex: 1; 
    position: relative; 
    overflow: hidden;
    min-width: 0;
}

.bf-slide .swiper-wrapper,
.bf-slide .swiper-slide {
    height: 450px;
}

.bf-slide .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}


.reserve-sec {
    padding: 60px 0;
    text-align: center;
    background: #f7f7f9;

}

.reserve-title {
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 25px;
}

.reserve-desc {
    text-align: left;
    width: max-content;
    margin: 0 auto;
    line-height: 2;
}

.reserve-sec a {
    margin-top: 2rem;
}


/* 반응형 */
@media(max-width:1023px) {
    .bf-grid {
        flex-direction: column;
    }

    .bf-section.alt .bf-grid {
        flex-direction: column;
    }
}

@media(max-width:767px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .bf-heading {
        font-size: 1.85rem;
    }

    .bf-section {
        padding: 85px 0;
    }
}