/* ===========================
   common
=========================== */
.case .item.purple {
    --item-bg: var(--purple-bg);
    --item-main: var(--purple-main);
    --item-sub: var(--purple-sub);
}

.case .item.blue {
    --item-bg: var(--blue-bg);
    --item-main: var(--blue-main);
    --item-sub: var(--blue-sub);
}

.case .item.pink {
    --item-bg: var(--pink-bg);
    --item-main: var(--pink-main);
    --item-sub: var(--pink-sub);
}

.case .item.mint {
    --item-bg: var(--mint-bg);
    --item-main: var(--mint-main);
    --item-sub: var(--mint-sub);
}

.case .item.lightblue {
    --item-bg: var(--lightblue-bg);
    --item-main: var(--lightblue-main);
    --item-sub: var(--lightblue-sub);
}

.flower-list .des {
    font-family: var(--ft-base);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.3;
}

.content {
    width: 100%;
    font-weight: 500;
    font-size: 17px;
}

.title-wrap {
    width: 100%;
    padding: 40px 0;
}

.story-nav .title-wrap .sub,
.quick .title-wrap .sub {
    color: var(--black-500);
}

.flower-list .video-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 10;
    margin: 20px 0;
}

.flower-list .video-wrap-sm {
    width: 50%
}

.flower-list .video-wrap iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.title-wrap .title {
    font-family: var(--ft-title);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0;
}

.flower-list .point {
    color: var(--theme-color);
}

.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 12px;
    background-color: var(--theme-highlight);
    z-index: -1;
}

.flower-list .content .text-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.flower-list .content .subject {
    font-family: var(--ft-title);
    font-weight: 600;
    font-size: 28px;
    line-height: 1.2;
}

.flower-list .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--theme-color);
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    font-family: var(--ft-title);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.flower-list .caption {
    font-family: var(--ft-title);
    font-weight: 600;
    font-size: 24px;
    text-align: center;
    padding-bottom: 24px;
    color: var(--black-500);
}


.flower-list .implanttab .item a {
    display: block;
    padding: 20px 30px;
    background: #f5f5f5;
    color: #444;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 20px;
    transition: all 0.2s ease;
}

.flower-list .implanttab .item.active a {
    background: var(--theme-color);
    color: #fff;
}


/* ===========================
   common
=========================== */
body {
    color: var(--black-500);
}

.flower-list .case .item.purple {
    --item-bg: var(--purple-bg);
    --item-main: var(--purple-main);
    --item-sub: var(--purple-sub);
}

.case .item.blue {
    --item-bg: var(--blue-bg);
    --item-main: var(--blue-main);
    --item-sub: var(--blue-sub);
}

.case .item.pink {
    --item-bg: var(--pink-bg);
    --item-main: var(--pink-main);
    --item-sub: var(--pink-sub);
}

.case .item.mint {
    --item-bg: var(--mint-bg);
    --item-main: var(--mint-main);
    --item-sub: var(--mint-sub);
}

.case .item.lightblue {
    --item-bg: var(--lightblue-bg);
    --item-main: var(--lightblue-main);
    --item-sub: var(--lightblue-sub);
}

.flower-list .inner {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 20px 40px;
}

.flower-list .story-nav .inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px 40px;
}

/* ===========================
   visual
=========================== */
/* .visual {
    width: 100%;
    margin: 0 auto; 
}

.visual img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
} */



/* ===========================
   visual
=========================== */
.flower-list .visual {
    position: relative;
    background: 
        linear-gradient(135deg, #F7EEF4 0%, #FFF7E9 100%);
    width: 100%;
}

.flower-list .visual .inner {
    width: 100%;
    max-width:1920px;
    padding: 100px 0 0 0;
}

.flower-list .visual .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.flower-list .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}


.flower-list .visual .bg-group-photo {
    width: 100%;
}

.flower-list .visual .bg-group-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.flower-list .visual .video-card {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 520px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 10;
    border-radius: 8px;
}

.flower-list .visual .video-card .video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    /* 최대 크기 설정 (원하는 크기로 변경 가능) */
    padding-bottom: 56.25%;
    /* 16:9 비율 유지 (9 / 16 * 100) */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.flower-view .list .video-caption {
    position: absolute;
    right: -300px;
    bottom: 10px;
    text-align: left;
}

.flower-view .list .video-caption .des {
    font-size: 15px;
    color: #444;
    line-height: 1.4;
    font-weight: 500;
    padding-left: 12px;
    border-left: 3px solid #2ecc71;
}

.flower-view .list .btn-wrap {
    width: 100%;
}


/* ===========================
   story-nav
=========================== */
.story-nav {
    width: 100%;
    padding: 0;
    background: var(--black-100);
}

.story-nav .inner {
    display: flex;
    align-items: stretch;
    gap: 40px;
    padding-top: 40px;
}

.story-nav .story-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.story-nav .title {
    font-family: var(--ft-title);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.3;
}

.story-nav .sub {
    font-family: var(--ft-title);
    font-weight: 600;
    font-size: 14px;
    padding-bottom: 24px;
}

.story-nav .control {
    display: flex;
    gap: 10px;
}

.story-nav .control .swiper-button-prev,
.story-nav .control .swiper-button-next {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    margin-top: 0;
    width: 40px;
    height: 40px;
    margin: 0;
    color: transparent;
    background: url("../images/arrow.svg") no-repeat center;
}

.story-nav .control .swiper-button-next {
    transform: scaleX(-1);
}

.story-swiper {
    flex: 1;
    overflow: hidden;
}

.story-swiper .swiper-slide {
    width: auto;
    text-align: center;
}

.story-swiper .thumb {
    margin-bottom: 10px;
}

.story-swiper .thumb img {
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
}

.story-nav .thumb {
    width: 180px;
    height: 180px;
    min-width: 150px;
    min-height: 150px;
    margin: 0 auto;
    overflow: hidden;
    transition: .3s;
}

.story-nav .thumb img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
}

.story-nav .name {
    display: block;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.story-nav .name .bold{
    font-size: 20px;
    font-weight: 700;
}

.story-nav .item:hover .thumb,
.story-nav .item.active .thumb {
    transform: translateY(-5px);
}


/* ===========================
   case
=========================== */
.case .item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    border-radius: 16px;
    background: var(--item-bg);
    align-items: flex-end;
}

.case .item:nth-child(even) {
    flex-direction: row-reverse;
    align-items: flex-end;
}

.case .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    padding: 0 80px 40px;
}

.case .point {
    width: 40px;
    height: 40px;
    background: url(../images/icon_title.svg) no-repeat center;
}

.case .title {
    font-family: var(--ft-title);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--black-500);
    margin-bottom: 30px;
}

.case .title span {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.case .title span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 30%;

    background: var(--item-sub);

    z-index: -1;
}

.case .desc {
    margin-bottom: 40px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}

.case .desc .bold{
    font-size: 20px;
    font-weight: 700;
}


.case .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    padding: 16px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;

    background: var(--item-main);

    transition: .3s;
}

.case .btn:hover {
    filter: brightness(.9);
}

.case .thumb {
    display: flex;
    align-items: flex-end;
    flex-shrink: 0;
    height: 480px;
}

.case .thumb img {
    display: block;
    width: 100%;
    height: 100%;
}

/* ===========================
   quick
=========================== */

.flower-list .quick {
    background: var(--black-100);
    border-top: 1px solid var(--black-300);
}

.flower-list .quick .title {
    margin-bottom: 40px;
    text-align: center;
    color: var(--black-500);
    text-align: center;
}

.flower-list .quick .sub {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 4px;
}

.flower-list .quick .title {
    font-family: var(--ft-title);
    font-size: 32px;
    font-weight: 700;
}

.flower-list .quick .btn-group {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.flower-list .quick .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 320px;
    height: 72px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    transition: .3s;
}

.flower-list .quick .btn.kakao {
    background: #FDD000;
    color: #3c1e1e;
}

.flower-list .quick .btn.consult {
    background: #2DBF4B;
}

@media (max-width: 1024px) {

    .flower-list .inner {
        padding: 40px 20px;
    }

    .story-nav .inner {
        gap: 24px;
    }

    .story-nav .title {
        font-size: 28px;
    }

    .story-nav .thumb {
        width: 180px;
        height: 180px;
    }

    .story-nav .name {
        font-size: 18px;
    }

    .case .content {
        padding: 32px;
    }

    .case .title {
        font-size: 34px;
    }

    .case .desc {
        font-size: 18px;
    }

    .case .thumb {
        width: 480px;
    }

    .case .thumb img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .visual {
        width: 100%;
        overflow: hidden;
    }
    .flower-list .visual .inner{
        padding: 80px 0 0 0;
    }

    .visual img {
        object-fit: cover;
        object-position: center;
    }
    .flower-list .logo{
        margin-bottom: 40px;
    }

    .flower-list .visual .video-display-area{
        margin-bottom: 0;
    }
    .flower-list-inner {
        width: 100%;
        max-width: 100%;
        padding: 20px 16px;
        box-sizing: border-box;
    }

    .story-nav .inner {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
        overflow: hidden;
    }

    .story-nav .story-info {
        width: 100%;
    }

    .story-nav .control {
        display: none;
    }

    .story-swiper {
        width: 100%;
        min-width: 0;
        flex: none;
        overflow: hidden;
    }

    .story-nav .thumb {
        width: 150px;
        height: 150px;
        min-width: 120px;
        min-height: 120px;
        margin: 0 auto;
        overflow: hidden;
        transition: .3s;
    }

    .story-nav .name {
        margin-top: 12px;
        font-size: 16px;
        font-weight: 600;
    }

    .case .item {
        flex-direction: column-reverse;
        align-items: center;
        margin-bottom: 24px;
        padding-top: 24px;
    }

    .case .item:nth-child(even) {
        flex-direction: column-reverse;
    }

    .case .content {
        width: 100%;
        padding: 24px 20px;
        text-align: center;
        align-items: center;
    }

    .case .point {
        width: 32px;
        height: 32px;
        margin-bottom: 16px;
    }

    .case .title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .case .desc {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .case .btn {
        width: 100%;
        padding: 20px 40px;
        font-size: 18px;
    }

    .case .thumb {
        width: 100%;
        text-align: center;
        height: auto;
        padding: 0;
    }

    .case .thumb img {
        width: 100%;
        max-width: 360px;
        /* 모바일 화면에서 이미지가 과도하게 커지는 것 방지 */
        margin: 0 auto;
    }

    .flower-list .quick .title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .flower-list .quick .btn-group {
        width: 100%;
    }

    .flower-list .quick .btn {
        width: 100%;
    }

    @media (max-width: 480px) {

        .flower-list .quick .btn-group {
            flex-direction: column;
            gap: 12px;
            width: 100%;
            align-items: center;
        }

    }
}