#main { position: relative; overflow: hidden; }


/* visual */
#main .visual { background: url(../img/main/visual_bg.png) no-repeat center center/cover; }

#main .visual .logo { padding: 3rem 0 2rem; }
#main .visual .logo a { display: inline-block; height: 3.5rem; }
#main .visual .logo img { height: 100%; }

#main .visual .lettering-text { text-align: center; margin: 0 5rem -0.5%; }
#main .visual .lettering-text img { width: 50rem; }

#main .visual .children img { width: 100%; }

@media screen and (max-width: 640px) {
    #main .visual { display: flex; flex-direction: column; }
    #main .visual .lettering-text { margin: 5rem 5rem 2rem; }
    #main .visual .children { flex: 0 0 auto; }
}


/* section 1 */
#main .section1 { background-color: #FDFCF6; text-align: center; padding-bottom: 6rem; }

#main .section1 h2 { font-family: 'jalnan'; font-size: 6rem; color: #00ab5d; }
#main .section1 h2 > b { color: #f72a01; letter-spacing: -0.01em; }

#main .section1 p { font-size: 2.4rem; font-weight: 500; color: #432a25; margin-top: 2rem; line-height: 1.4; }

#main .section1 a { display: inline-block; margin-top: 4rem; max-width: 50%; }
#main .section1 a > img { width: 100%; }

@media screen and (max-width: 1024px) {
    #main .section1 h2 { font-size: 4.4rem; }
}

@media screen and (max-width: 640px) {
    #main .section1 { padding: 8rem 0 12rem; }

    #main .section1 h2 { font-size: 3.4rem; }
    #main .section1 p { font-size: 2rem; margin-top: 3rem; }
    #main .section1 a { margin-top: 5rem; }
}

@media screen and (max-width: 500px) {
    #main .section1 h2 { font-size: 2.8rem; }
    #main .section1 p { font-size: 1.8rem; }
}


/* section 2 */
#main .section2 { background: url(../img/main/section2_bg.png) no-repeat center center/cover; padding: 8rem 0; }

#main .section2 ul { display: flex; gap: 10rem; flex-direction: column; }
#main .section2 ul > li > h3 { font-size: 3.6rem; font-weight: 700; color: #fff; text-align: center; line-height: 1.4; }
#main .section2 ul > li > ol { display: flex; gap: 5%; margin-top: 6rem; }
#main .section2 ul > li > ol > li { width: 100%; }
#main .section2 ul > li > ol > li > img { width: 100%; }
#main .section2 ul > li > ol > li > figcaption { font-size: 1.8rem; font-weight: 600; color: #fff; text-align: center; margin-top: 2.3rem; padding: 0 1rem; line-height: 1.4; }

@media screen and (max-width: 768px) {
    #main .section2 ul > li > ol > li > figcaption { font-size: 2.2rem; }
}

@media screen and (max-width: 640px) {
    #main .section2 ul > li > h3 { font-size: 3rem; }
    #main .section2 ul > li > ol > li > figcaption { font-size: 1.8rem; }
}

@media screen and (max-width: 400px) {
    #main .section2 ul > li > h3 { font-size: 2.4rem; }
    #main .section2 ul > li > ol > li > figcaption { font-size: 1.6rem; }
}


/* section 3 */
#main .section3 { background-color: #f3f2e5; text-align: center; padding: 8rem 0; }

#main .section3 p { font-family: 'jalnan'; font-size: 3.6rem; }
#main .section3 .title1 { color: #1f945f; }
#main .section3 .title2 { color: #785036; margin-top: 6rem; }
#main .section3 img { margin-top: 2rem; }
#main .section3 figcaption { font-size: 2.2rem; font-weight: 700; color: #785036; }

@media screen and (max-width: 640px) {
    #main .section3 p { font-size: 3rem; }
    #main .section3 figcaption { font-size: 1.8rem; }
}

@media screen and (max-width: 400px) {
    #main .section3 p { font-size: 2.4rem; }
    #main .section3 figcaption { font-size: 1.6rem; }
}


/* section 4 */
#main .section4 { background-color: #0e6333; padding: 8rem 0; }

#main .section4 .area1 { display: flex; background-color: #fff; }
#main .section4 .area1 .img-box { flex-shrink: 0; width: 45%; }
#main .section4 .area1 .img-box img { width: 100%; height: 100%; object-fit: cover; }
#main .section4 .area1 .txt-box { display: flex; flex-direction: column; width: 55%; padding: 5rem 2rem 4rem 5rem; }
#main .section4 .area1 .txt-box q { font-family: 'NanumMyeongjoBold'; display: block; font-size: 2.2rem; line-height: 1.6; margin-bottom: 5rem; }
#main .section4 .area1 .txt-box q::before { content: ""; background: url(../img/main/double_quotes_L.png) no-repeat top center/contain; display: inline-block; width: 1.5em; height: 1.2em; }
#main .section4 .area1 .txt-box q::after { content: ""; background: url(../img/main/double_quotes_R.png) no-repeat top center/contain; display: inline-block; width: 1.5em; height: 1.2em; }
#main .section4 .area1 .txt-box p { font-family: 'NanumMyeongjoBold'; font-size: 2rem; margin-top: auto; text-align: right; margin-right: 2rem; }

#main .section4 .area2 { position: relative; display: flex; gap: 2rem; margin-top: 10rem; }
#main .section4 .area2 .txt-box { display: flex; width: 55%; }
#main .section4 .area2 .txt-box p { font-family: 'jalnan'; margin: auto 0; font-size: 3.2rem; color: #fff; }
#main .section4 .area2 .txt-box p > b { color: #ffde00; }
#main .section4 .area2 .img-box { flex-shrink: 0; width: 45%; }
#main .section4 .area2 .img-box img { width: 100%; }

@media screen and (max-width: 1280px) {
    #main .section4 .area2 .txt-box p { font-size: 3rem; }
}

@media screen and (max-width: 1024px) {
    #main .section4 .area1 .txt-box q { font-size: 2rem; }
    #main .section4 .area1 .txt-box p { font-size: 1.8rem; }

    #main .section4 .area2 .txt-box p { font-size: 2.8rem; }
}

@media screen and (max-width: 900px) {
    #main .section4 .area1 .txt-box q { font-size: 1.8rem; }
    #main .section4 .area1 .txt-box p { font-size: 1.6rem; }

    #main .section4 .area2 .txt-box p { font-size: 2.6rem; }
}

@media screen and (max-width: 768px) {
    #main .section4 .area1 { display: block; padding: 5rem 3rem; }
    #main .section4 .area1 .img-box { display: block; width: 40%; float: right; margin-left: 2rem; }
    #main .section4 .area1 .txt-box { display: inline; padding: 0; }
    #main .section4 .area1 .txt-box q { font-size: 2.4rem; }
    #main .section4 .area1 .txt-box p { margin-top: 3rem; margin-right: 0; }

    #main .section4 .area2 .txt-box { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.4); z-index: 1; }
    #main .section4 .area2 .txt-box p { width: 100%; padding: 2rem 3rem; margin: auto 0 0; text-align: right; }
    #main .section4 .area2 .img-box { width: 100%; max-height: 60rem; }
    #main .section4 .area2 .img-box img { height: 100%; object-fit: cover; object-position: top center; }
}

@media screen and (max-width: 400px) {
    #main .section4 .area2 .txt-box p { font-size: 2.3rem; }
}


/* section 5 */
#main .section5 { padding: 8rem 0; background-color: #f1f1f3; }

#main .section5 .video { position: relative; width: 100%; padding-bottom: 56.25%; }
#main .section5 .video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }


/* section 6 */
#main .section6 { background: url(../img/main/section6_bg.png) no-repeat center center/cover; padding: 8rem 0; }

#main .section6 ul > li ~ li { margin-top: 7rem; }
#main .section6 ul > li .card { display: flex; background-color: #fff; }
#main .section6 ul > li .card .img-box { flex-shrink: 0; width: 30%; }
#main .section6 ul > li:nth-child(even) .card .img-box { order: 1; }
#main .section6 ul > li .card .img-box img { width: 100%; height: 100%; object-fit: cover; }
#main .section6 ul > li .card .txt-box { display: flex; flex-direction: column; width: 70%; padding: 4rem 5rem 2rem; }
#main .section6 ul > li .card .txt-box q { font-family: 'cutelively'; display: block; font-size: 2.8rem; line-height: 1.6; margin-bottom: 5rem; padding-left: 1.7em; }
#main .section6 ul > li .card .txt-box q::before { content: ""; background: url(../img/main/double_quotes_L.png) no-repeat top center/contain; display: inline-block; width: 1.5em; height: 1.2em; margin-left: -1.7em; }
#main .section6 ul > li .card .txt-box q::after { content: ""; background: url(../img/main/double_quotes_R.png) no-repeat top center/contain; display: inline-block; width: 1.5em; height: 1.2em; }
#main .section6 ul > li .card .txt-box p { font-family: 'cutelively'; width: 100%; font-size: 1.8rem; margin-top: auto; text-align: right; }

@media screen and (max-width: 1024px) {
    #main .section6 ul > li .card .txt-box q { font-size: 2.5rem; }
}

@media screen and (max-width: 900px) {
    #main .section6 ul > li .card .txt-box q { font-size: 2.2rem; }
    #main .section6 ul > li .card .txt-box p { font-size: 1.6rem; }
}

@media screen and (max-width: 768px) {
    #main .section6 ul > li .card { display: block; padding: 5rem 3rem; overflow: hidden; }
    #main .section6 ul > li .card .img-box { display: block; float: right; margin-left: 2rem; min-width: 100px; }
    #main .section6 ul > li .card .txt-box { display: inline; padding: 0; }
    #main .section6 ul > li .card .txt-box q { font-size: 2.6rem; }
    #main .section6 ul > li .card .txt-box q > br { display: none; }
    #main .section6 ul > li .card .txt-box p { margin-top: 3rem; font-size: 1.8rem; }
}

@media screen and (max-width: 640px) {
    #main .section6 ul > li .card .txt-box q { font-size: 2.4rem; }
}


/* section 7 */
#main .section7 { position: relative; }

#main .section7 .img-box img { width: 100%; }

#main .section7 .txt-box { position: absolute; top: 0; left: 0; display: flex; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.3); }
#main .section7 .txt-box p { width: 100%; margin: auto 0 5%; text-align: center; font-size: 0; padding: 0 1rem; }
#main .section7 .txt-box p > span { padding: 0 0.3em; font-family: 'jalnan'; font-size: 5rem; color: #fff; }
#main .section7 .txt-box p > span.txt1 { background-color: #f72a01; }
#main .section7 .txt-box p > span.txt1 > b { color: #fff60a; }
#main .section7 .txt-box p > span.txt2 { background-color: #008c3f; }
#main .section7 .txt-box p > span.txt2-2 { margin-left: -1rem; }

@media screen and (max-width: 1280px) {
    #main .section7 .txt-box p > span { font-size: 4rem; }
}

@media screen and (max-width: 1024px) {
    #main .section7 .txt-box p > span { font-size: 3.5rem; }
}

@media screen and (max-width: 900px) {
    #main .section7 .txt-box p > span { font-size: 3rem; }
}

@media screen and (max-width: 768px) {
    #main .section7 .txt-box p > span { font-size: 2.5rem; }
}


/* section 8 */
#main .section8 { background: linear-gradient(to bottom, #fff 50%, #f3f2e5 50%); padding: 8rem 0; }

#main .section8 .area { display: flex; gap: 2rem; }

#main .section8 .area .left { display: flex; gap: 2rem; flex-direction: column; justify-content: space-between; width: 50%; }
#main .section8 .area .left h3 { font-family: 'jalnan'; font-size: 3.6rem; color: #404040; margin-top: 2rem; }
#main .section8 .area .left h3 > span { color: #068e51; }
#main .section8 .area .left h3 > b { color: #f72a01; }
#main .section8 .area .left .btn-box { display: flex; gap: 2rem; }
#main .section8 .area .left .btn-box > a { display: block; width: 100%; padding: 4rem 1rem; border-radius: 1rem; text-align: center; }
#main .section8 .area .left .btn-box > a > p { font-family: 'jalnan'; font-size: 3.6rem; line-height: 1.4; }
#main .section8 .area .left .btn-box > a > span { font-size: 1.8rem; font-weight: 700; line-height: 1.4; }

#main .section8 .area .left .btn-box > a.gray-btn { background-color: #cacaca; }
#main .section8 .area .left .btn-box > a.gray-btn > p { color: #212121; }
#main .section8 .area .left .btn-box > a.gray-btn > span { color: #4c4c4c; }

#main .section8 .area .left .btn-box > a.green-btn { background-color: #068e51; }
#main .section8 .area .left .btn-box > a.green-btn > p { color: #fff; }
#main .section8 .area .left .btn-box > a.green-btn > span { color: #fff; }

#main .section8 .area .right { width: 50%; }
#main .section8 .area .right img { width: 100%; }

@media screen and (max-width: 1024px) {
    #main .section8 .area .left h3 { font-size: 3.2rem; }
    
    #main .section8 .area .left .btn-box > a > p { font-size: 3.2rem; }
    #main .section8 .area .left .btn-box > a > span { font-size: 1.7rem; }
}

@media screen and (max-width: 1024px) {
    #main .section8 .area .left h3 { font-size: 2.8rem; }
    
    #main .section8 .area .left .btn-box > a { padding: 3rem 1rem; }
    #main .section8 .area .left .btn-box > a > p { font-size: 2.8rem; }
    #main .section8 .area .left .btn-box > a > span { font-size: 1.6rem; }
}

@media screen and (max-width: 768px) {
    #main .section8 .area { flex-direction: column; }

    #main .section8 .area .left { width: 100%; }
    #main .section8 .area .left h3 { font-size: 3.4rem; text-align: center; }
    
    #main .section8 .area .left .btn-box > a { padding: 4rem 1rem; }
    #main .section8 .area .left .btn-box > a > p { font-size: 3.4rem; }
    #main .section8 .area .left .btn-box > a > span { font-size: 1.8rem; }

    #main .section8 .area .right { width: 100%; }
}

@media screen and (max-width: 600px) {
    #main .section8 .area .left h3 { font-size: 3.2rem; }
    
    #main .section8 .area .left .btn-box > a { padding: 3rem 1rem; }
    #main .section8 .area .left .btn-box > a > p { font-size: 3.2rem; }
    #main .section8 .area .left .btn-box > a > span { font-size: 1.7rem; }
}

@media screen and (max-width: 500px) {
    #main .section8 .area .left h3 { font-size: 2.8rem; }
    
    #main .section8 .area .left .btn-box > a > p { font-size: 2.8rem; }
    #main .section8 .area .left .btn-box > a > span { font-size: 1.6rem; }
}


/* bottom link */
.bottom-link { position: sticky; bottom: 0; left: 0; display: block; width: 100%; z-index: 9; }

.bottom-link a.fixed-btn { position: absolute; bottom: 1rem; right: 1rem; width: 23rem; }

.bottom-link .d-flex { display: none; }
.bottom-link .d-flex > a { flex: 1; display: block; font-size: 2.4rem; font-weight: 500; color: #fff; padding: 2rem 0; text-align: center; }
.bottom-link .d-flex > a:nth-child(1) { background-color: #cd363d; }
.bottom-link .d-flex > a:nth-child(2) { background-color: #00AB5D; }

@media screen and (max-width: 768px) {
    .bottom-link a.fixed-btn { display: none; }

    .bottom-link .d-flex { display: flex; }
}