@import url("base.css");
@import url("header.css");
@import url("footer.css");


/* ==============================
    Layout
============================== */
#sContainer {
    position: relative;
    margin-bottom: 200px;
}


/* ==============================
    Sub Visual
============================== */
.sub_visual {
    width: 100%;
    margin-bottom: 50px;
    padding: 0;
}

.sub_visual_bg {
    position: relative;
    width: 100%;
    height: 620px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    background: url('/img/sub/bg_01.png') center center / cover no-repeat;
}

.sub_visual_bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;

    background: rgba(0, 0, 0, 0.48);
}

.sub_visual_inner {
    max-width: 1520px;
    width: calc(100% - 40px);
    margin: 0 auto;
}

.sub_visual_text {
    position: relative;
    z-index: 2;

    text-align: center;
    color: #fff;
}

.sub_visual_text .plus {
    font-family: 'Pretendard_SB';
    font-size: 40px;
    line-height: 1;
}

.sub_visual_text h2 {
    margin: 10px 0;

    font-family: 'Pretendard_SB';
    font-size: 48px;
}

.sub_visual_text p {
    margin: 0;

    font-size: 20px;
    color: #eee;
}


/* ==============================
    Sub Title
============================== */
.sub_title {
    margin-bottom: 80px;
    text-align: center;
}

.sub_title span {
    display: block;
    margin-bottom: 16px;

    font-size: 16px;
    font-weight: 700;
    color: #1459aa;
    letter-spacing: 0.16em;
}

.sub_title h2 {
    margin-bottom: 24px;

    font-size: 48px;
    font-weight: 800;
    color: #111;
}

.sub_title p {
    font-size: 22px;
    line-height: 1.6;
    color: #444;
}


.floor-section {
    width: 100%;
    padding: 80px 0;
    background: #fff;
}

.floor-inner {
    max-width: 1520px;
    width: calc(100% - 40px);
    margin: 0 auto;
    display: flex;
    gap: 70px;
}

/* 왼쪽 탭 */
.floor-tabs {
    width: 365px;
    flex-shrink: 0;
}

.floor-tab {
    width: 100%;
    height: 84px;
    border: 0;
    border-bottom: 1px solid #e6e6e6;
    background: #f7f7f7;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
    transition: all 0.25s ease;
}

.floor-tab strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 7px;
}

.floor-tab span {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

.floor-tab.active {
    background: #1358aa;
}

.floor-tab.active strong,
.floor-tab.active span {
    color: #fff;
}

.floor-tab:hover {
    background: #1358aa;
}

.floor-tab:hover strong,
.floor-tab:hover span {
    color: #fff;
}

/* 오른쪽 컨텐츠 */
.floor-content {
    flex: 1;
}

.floor-panel {
    display: none;
}

.floor-panel.active {
    display: block;
}

.main-photo {
    position: relative;
    width: 100%;
    height: 630px;
    overflow: hidden;
    background: #eee;
}

.main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease;
}

.main-photo p {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 58px;
    line-height: 58px;
    margin: 0;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

/* 썸네일 */
.thumb-list {
    display: flex;
    gap: 10px;
    margin-top: 40px;
}

.thumb {
    width: 200px;
    height: 92px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.55;
    transition: all 0.25s ease;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb.active,
.thumb:hover {
    opacity: 1;
}


/* ==============================
   Responsive - Floor Section
============================== */

/* 1600px 이하 */
@media (max-width: 1600px) {
    .inner_1520,
    .floor-inner {
        width: calc(100% - 60px);
        max-width: 1520px;
    }

    .floor-inner {
        gap: 50px;
    }

    .floor-tabs {
        width: 320px;
    }

    .main-photo {
        height: 560px;
    }

    .thumb {
        width: 170px;
        height: 86px;
    }
}


/* 1280px 이하 */
@media (max-width: 1280px) {
    #sContainer {
        margin-bottom: 140px;
    }

    .sub_visual_bg {
        height: 520px;
    }

    .sub_visual_text h2 {
        font-size: 42px;
    }

    .sub_visual_text p {
        font-size: 18px;
    }

    .sub_title {
        margin-bottom: 60px;
    }

    .sub_title h2 {
        font-size: 42px;
    }

    .sub_title p {
        font-size: 20px;
    }

    .floor-section {
        padding: 60px 0;
    }

    .floor-inner {
        gap: 40px;
    }

    .floor-tabs {
        width: 280px;
    }

    .floor-tab {
        height: 76px;
    }

    .floor-tab strong {
        font-size: 18px;
    }

    .floor-tab span {
        font-size: 14px;
    }

    .main-photo {
        height: 500px;
    }

    .thumb-list {
        margin-top: 30px;
        gap: 8px;
    }

    .thumb {
        width: 150px;
        height: 78px;
    }
}


/* 1024px 이하 - 태블릿 */
@media (max-width: 1024px) {
    .inner_1520,
    .floor-inner {
        width: calc(100% - 40px);
    }

    .floor-inner {
        display: block;
    }

    /* 탭 메뉴 상단 가로형 */
    .floor-tabs {
        display: flex;
        width: 100%;
        margin-bottom: 35px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        border-bottom: 1px solid #e6e6e6;
        -webkit-overflow-scrolling: touch;
    }

    .floor-tabs::-webkit-scrollbar {
        height: 4px;
    }

    .floor-tabs::-webkit-scrollbar-thumb {
        background: #1358aa;
        border-radius: 10px;
    }

    .floor-tab {
        flex: 0 0 170px;
        height: 74px;
        border-bottom: 0;
        border-right: 1px solid #e6e6e6;
    }

    .floor-content {
        width: 100%;
    }

    .main-photo {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .main-photo p {
        height: 52px;
        line-height: 52px;
        font-size: 17px;
    }

    .thumb-list {
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .thumb-list::-webkit-scrollbar {
        height: 4px;
    }

    .thumb-list::-webkit-scrollbar-thumb {
        background: #bbb;
        border-radius: 10px;
    }

    .thumb {
        flex: 0 0 150px;
        width: 150px;
        height: 78px;
    }
}


/* 768px 이하 - 모바일 */
@media (max-width: 768px) {
    #sContainer {
        margin-bottom: 100px;
    }

    .sub_visual {
        margin-bottom: 40px;
    }

    .sub_visual_bg {
        height: 360px;
    }

    .sub_visual_text .plus {
        font-size: 28px;
    }

    .sub_visual_text h2 {
        font-size: 34px;
    }

    .sub_visual_text p {
        font-size: 16px;
        line-height: 1.5;
    }

    .sub_title {
        margin-bottom: 45px;
    }

    .sub_title span {
        margin-bottom: 12px;
        font-size: 13px;
        letter-spacing: 0.12em;
    }

    .sub_title h2 {
        margin-bottom: 18px;
        font-size: 34px;
    }

    .sub_title p {
        font-size: 17px;
        line-height: 1.55;
    }

    .sub_title p br {
        display: none;
    }

    .floor-section {
        padding: 45px 0;
    }

    .floor-tabs {
        margin-bottom: 28px;
    }

    .floor-tab {
        flex: 0 0 145px;
        height: 68px;
    }

    .floor-tab strong {
        margin-bottom: 5px;
        font-size: 17px;
    }

    .floor-tab span {
        font-size: 13px;
    }

    .main-photo {
        aspect-ratio: 4 / 3;
    }

    .main-photo p {
        height: 48px;
        line-height: 48px;
        font-size: 15px;
    }

    .thumb-list {
        margin-top: 20px;
        gap: 8px;
    }

    .thumb {
        flex: 0 0 120px;
        width: 120px;
        height: 66px;
    }
}


/* 480px 이하 - 작은 모바일 */
@media (max-width: 480px) {
    .inner_1520,
    .floor-inner {
        width: calc(100% - 30px);
    }

    .sub_visual_bg {
        height: 300px;
    }

    .sub_visual_text .plus {
        font-size: 24px;
    }

    .sub_visual_text h2 {
        font-size: 29px;
    }

    .sub_visual_text p {
        font-size: 15px;
    }

    .sub_title h2 {
        font-size: 29px;
    }

    .sub_title p {
        font-size: 16px;
    }

    .floor-section {
        padding: 35px 0;
    }

    .floor-tab {
        flex: 0 0 128px;
        height: 62px;
    }

    .floor-tab strong {
        font-size: 15px;
    }

    .floor-tab span {
        font-size: 12px;
        line-height: 1.25;
    }

    .main-photo {
        aspect-ratio: 1 / 0.82;
    }

    .main-photo p {
        height: 44px;
        line-height: 44px;
        font-size: 14px;
    }

    .thumb {
        flex: 0 0 105px;
        width: 105px;
        height: 58px;
    }
}