@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_03.jpg') 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;
}


/* 인트로 */
.dream_intro {
    display: grid;
    grid-template-columns: 1fr 620px;
    gap: 70px;
    align-items: center;
    margin-bottom: 110px;
}
.dream_lens_inner {
    max-width: 1520px;
    width: calc(100% - 40px);
    margin: 0 auto;
}
.intro_text span,
.section_title span,
.fitting_text span {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #1459aa;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
}

.intro_text h3 {
    font-size: 42px;
    line-height: 1.35;
    font-weight: 800;
    color: #111;
    margin-bottom: 30px;
}

.intro_text strong,
.fitting_text strong {
    display: block;
    font-size: 24px;
    color: #1459aa;
    font-weight: 800;
    margin-bottom: 18px;
}

.intro_text p,
.fitting_text p {
    font-size: 19px;
    line-height: 1.85;
    color: #555;
}

.intro_text p + p,
.fitting_text p + p {
    margin-top: 14px;
}

.intro_img {
    height: 470px;
    border-radius: 30px;
    overflow: hidden;
}

.intro_img img,
.advantage_img img,
.fitting_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 공통 제목 */
.section_title {
    text-align: center;
    margin-bottom: 50px;
}

.section_title span {
    margin-bottom: 14px;
}

.section_title h3 {
    font-size: 38px;
    font-weight: 800;
    color: #111;
}

/* 대상 */
.target_section {
    padding: 80px 70px;
    border-radius: 34px;
    background: #f5f8fc;
    margin-bottom: 110px;
}

.target_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
}

.target_card {
    padding: 45px 48px;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.04);
}

.target_card h4 {
    font-size: 26px;
    font-weight: 800;
    color: #111;
    margin-bottom: 24px;
}

.target_card li {
    position: relative;
    padding-left: 18px;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.target_card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #1459aa;
}

/* 장점 */
.advantage_section {
    margin-bottom: 110px;
}

.advantage_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage_card {
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4e8ef;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

.advantage_img {
    height: 270px;
    overflow: hidden;
}

.advantage_img img {
    transition: transform 0.35s ease;
}

.advantage_card:hover .advantage_img img {
    transform: scale(1.05);
}

.advantage_txt {
    padding: 36px 34px 42px;
}

.advantage_txt span {
    display: block;
    font-size: 18px;
    font-weight: 900;
    color: #1459aa;
    margin-bottom: 14px;
}

.advantage_txt h4 {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 800;
    color: #111;
    margin-bottom: 18px;
}

.advantage_txt p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

/* 피팅 */
.fitting_section {
    display: grid;
    grid-template-columns: 620px 1fr;
    gap: 70px;
    align-items: center;
    padding: 70px;
    border-radius: 34px;
    background: #f5f8fc;
}

.fitting_img {
    height: 430px;
    border-radius: 28px;
    overflow: hidden;
}

.fitting_text h3 {
    font-size: 40px;
    line-height: 1.35;
    font-weight: 800;
    color: #111;
    margin-bottom: 28px;
}


/* ==============================
   Responsive - Dream Lens Page
============================== */

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

    .dream_intro {
        grid-template-columns: 1fr 560px;
        gap: 55px;
    }

    .intro_img {
        height: 430px;
    }

    .target_section {
        padding: 70px 55px;
    }

    .advantage_grid {
        gap: 24px;
    }

    .fitting_section {
        grid-template-columns: 560px 1fr;
        gap: 55px;
        padding: 60px;
    }

    .fitting_img {
        height: 400px;
    }
}


/* 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;
    }

    .dream_intro {
        grid-template-columns: 1fr 500px;
        gap: 45px;
        margin-bottom: 90px;
    }

    .intro_text h3 {
        font-size: 36px;
    }

    .intro_text strong,
    .fitting_text strong {
        font-size: 22px;
    }

    .intro_text p,
    .fitting_text p {
        font-size: 17px;
        line-height: 1.75;
    }

    .intro_img {
        height: 390px;
        border-radius: 24px;
    }

    .section_title {
        margin-bottom: 42px;
    }

    .section_title h3 {
        font-size: 34px;
    }

    .target_section {
        padding: 60px 40px;
        margin-bottom: 90px;
    }

    .target_grid {
        gap: 24px;
    }

    .target_card {
        padding: 38px 36px;
    }

    .target_card h4 {
        font-size: 23px;
    }

    .target_card li {
        font-size: 17px;
    }

    .advantage_section {
        margin-bottom: 90px;
    }

    .advantage_img {
        height: 230px;
    }

    .advantage_txt {
        padding: 30px 28px 36px;
    }

    .advantage_txt h4 {
        font-size: 22px;
    }

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

    .fitting_section {
        grid-template-columns: 500px 1fr;
        gap: 45px;
        padding: 55px 45px;
    }

    .fitting_img {
        height: 360px;
    }

    .fitting_text h3 {
        font-size: 34px;
    }
}


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

    .dream_intro {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 80px;
    }

    .intro_img {
        order: 1;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .intro_text {
        order: 2;
    }

    .intro_text h3 {
        font-size: 34px;
    }

    .target_section {
        padding: 50px 34px;
        border-radius: 28px;
        margin-bottom: 80px;
    }

    .target_grid {
        gap: 18px;
    }

    .target_card {
        padding: 34px 30px;
        border-radius: 22px;
    }

    .advantage_grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .advantage_card {
        display: grid;
        grid-template-columns: 360px 1fr;
        align-items: center;
    }

    .advantage_img {
        height: 100%;
        min-height: 260px;
    }

    .fitting_section {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 50px 34px;
        border-radius: 28px;
    }

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


/* 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_visual_text p br {
        display: none;
    }

    .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;
    }

    .dream_lens_inner {
        width: calc(100% - 30px);
    }

    .dream_intro {
        gap: 28px;
        margin-bottom: 65px;
    }

    .intro_img {
        border-radius: 20px;
        aspect-ratio: 4 / 3;
    }

    .intro_text span,
    .section_title span,
    .fitting_text span {
        margin-bottom: 10px;
        font-size: 12px;
        letter-spacing: 0.1em;
    }

    .intro_text h3,
    .fitting_text h3 {
        margin-bottom: 22px;
        font-size: 28px;
        line-height: 1.35;
    }

    .intro_text h3 br,
    .fitting_text h3 br {
        display: none;
    }

    .intro_text strong,
    .fitting_text strong {
        margin-bottom: 14px;
        font-size: 20px;
    }

    .intro_text p,
    .fitting_text p {
        font-size: 16px;
        line-height: 1.7;
    }

    .section_title {
        margin-bottom: 32px;
    }

    .section_title h3 {
        font-size: 27px;
        line-height: 1.35;
    }

    .target_section {
        padding: 38px 24px;
        border-radius: 22px;
        margin-bottom: 65px;
    }

    .target_grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .target_card {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .target_card h4 {
        margin-bottom: 18px;
        font-size: 20px;
    }

    .target_card li {
        padding-left: 16px;
        font-size: 15.5px;
        line-height: 1.7;
    }

    .target_card li::before {
        top: 12px;
    }

    .advantage_section {
        margin-bottom: 65px;
    }

    .advantage_grid {
        gap: 20px;
    }

    .advantage_card {
        display: block;
        border-radius: 20px;
    }

    .advantage_card:hover .advantage_img img {
        transform: none;
    }

    .advantage_img {
        height: auto;
        min-height: auto;
        aspect-ratio: 4 / 3;
    }

    .advantage_txt {
        padding: 26px 22px 30px;
    }

    .advantage_txt span {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .advantage_txt h4 {
        margin-bottom: 12px;
        font-size: 20px;
    }

    .advantage_txt p {
        font-size: 15.5px;
        line-height: 1.7;
    }

    .fitting_section {
        gap: 28px;
        padding: 38px 24px;
        border-radius: 22px;
    }

    .fitting_img {
        border-radius: 20px;
        aspect-ratio: 4 / 3;
    }
}


/* 480px 이하 - 작은 모바일 */
@media (max-width: 480px) {
    .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;
    }

    .dream_lens_inner {
        width: calc(100% - 24px);
    }

    .intro_text h3,
    .fitting_text h3 {
        font-size: 24px;
    }

    .intro_text strong,
    .fitting_text strong {
        font-size: 18px;
    }

    .intro_text p,
    .fitting_text p {
        font-size: 15px;
    }

    .section_title h3 {
        font-size: 24px;
    }

    .target_section,
    .fitting_section {
        padding: 32px 18px;
    }

    .target_card {
        padding: 24px 18px;
    }

    .target_card h4 {
        font-size: 19px;
    }

    .target_card li {
        font-size: 14.5px;
    }

    .advantage_txt {
        padding: 24px 18px 28px;
    }

    .advantage_txt h4 {
        font-size: 19px;
    }

    .advantage_txt p {
        font-size: 14.5px;
    }
}


/* 모바일 문단 줄바꿈 안정화 */
@media (max-width: 768px) {
    .intro_text p,
    .target_card li,
    .advantage_txt p,
    .fitting_text p {
        word-break: keep-all;
        overflow-wrap: break-word;
    }
}
