/* main_visual */
#main_visual { position: relative; height: 730px; max-height: calc(100vh - 100px); overflow: hidden; }
#main_visual .bg { z-index: 1; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url(/image/main/mv_bg1.jpg) no-repeat center/cover; }
#main_visual .contwrap { height: 100%; }
#main_visual .textbox { z-index: 2; position: relative; top: 50%; transform: translateY(-50%); }
#main_visual .textbox p { font-family: 'GmarketSans'; }
#main_visual .textbox .text1 { font-weight: 500; font-size: 30px; color: #fff; line-height: 1.33; }
#main_visual .textbox .text2 { font-weight: 700; font-size: 80px; color: #fff; line-height: 1.25; }
#main_visual .textbox .text3 { font-size: 60px; color: #fff; line-height: 1.25; }
#main_visual .textbox .text4 { margin-top: 10px; font-family: 'Pretendard', sans-serif; font-weight: 300; font-size: 22px; color: #858585; line-height: 1.5; }
@media (max-width: 1535px) {
    #main_visual { height: calc(500px + 14.5vw); max-height: calc(100vh - 90px); }
}
@media (max-width: 1279px) {
    #main_visual { height: calc(450px + 12vw); max-height: calc(100vh - 80px); }
}
@media (max-width: 1023px) {
    #main_visual { height: calc(350px + 10vw); max-height: calc(100vh - 70px); }
}

/* main_iframe */
#main_iframe { position: relative; overflow: hidden; padding: 90px 0; background: url(/image/main/iframe_bg.jpg) no-repeat center/cover; }
#main_iframe .iframeWrap { position: relative; max-width: 1040px; margin: 0 auto; }
#main_iframe .iframe-container { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; border-radius: 10px; }
#main_iframe .iframe-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

#main_iframe .iframeWrap .youtubeLink1 { z-index: 10; position: absolute; left: -190px; top: 0; display: inline-block; }
#main_iframe .iframeWrap .youtubeLink1 img { display: inline-block; width: 180px; }

@media (max-width: 1535px) {
    #main_iframe .iframeWrap { display: flex; flex-wrap: nowrap; justify-content: space-between; }
    #main_iframe .iframeWrap .youtubeLink1 { position: relative; left: 0; min-width: max-content; margin-right: 30px; }
    #main_iframe .iframeWrap .youtubeLink1 img { width: calc(100px + 5vw); }
}
@media (max-width: 1279px) {
    #main_iframe .iframeWrap .youtubeLink1 { margin-right: 20px; }
    #main_iframe .iframeWrap .youtubeLink1 img { width: calc(90px + 4.5vw); }
}
@media (max-width: 1023px) {
    #main_iframe .iframeWrap { display: block; text-align: center; }
    #main_iframe .iframeWrap .youtubeLink1 { margin-right: initial; margin-bottom: 20px; }
    #main_iframe .iframeWrap .youtubeLink1 img { width: 100%; max-width: 110px; }
}
@media (max-width: 767px) {
    #main_iframe .iframeWrap .youtubeLink1 img { max-width: 100px; }
}
@media (max-width: 460px) {
    #main_iframe .iframeWrap .youtubeLink1 img { max-width: 90px; }
}

/* main_product */
#main_product { position: relative; overflow: hidden; padding: 50px 0; background: url(/image/main/product_bg.jpg) no-repeat center/cover; }
#main_product .text1 { text-align: center; font-family: 'GmarketSans'; font-weight: 700; font-size: 60px; color: #fff; line-height: 1.25; }
#main_product ul { display: flex; flex-wrap: nowrap; justify-content: space-between; }
#main_product ul li { width: 47.8461%; }
#main_product ul li .imgbox { position: relative; }
#main_product ul li .imgbox .img1 { display: inline-block; width: 100%; }
#main_product ul li .imgbox .img2 { z-index: 2; position: absolute; top: 0; left: 0; width: 100%; opacity: 0; transition: opacity 0.3s; }
#main_product ul li .imgbox:hover .img2 { opacity: 1; }
#main_product ul li .text2 { margin-top: 20px; text-align: center; font-family: 'GmarketSans'; font-size: 25px; color: #fbfbfb; }
#main_product ul li .text3 { margin-bottom: 30px; display: flex; align-items: center; justify-content: center; height: 150px; text-align: center; font-family: 'GmarketSans'; font-weight: 700; font-size: 60px; color: #fff; line-height: 1.33; }
@media (max-width: 1535px) {
    #main_product ul li .text2 { margin-top: 17px; }
    #main_product ul li .text3 { margin-bottom: 24px; height: calc(100px + 3.2vw); }
}
@media (max-width: 1279px) {
    #main_product ul li .text2 { margin-top: 15px; }
    #main_product ul li .text3 { margin-bottom: 20px; height: calc(70px + 2.7vw); }
}
@media (max-width: 1023px) {
    #main_product ul li .text3 { margin-bottom: 15px; }
    #main_product ul li .text3 { margin-bottom: 20px; height: calc(70px + 2.5vw); }
}
@media (max-width: 767px) {
    #main_product ul li .text3 { height: calc(50px + 2vw); }
}
@media (max-width: 524px) {
    #main_product ul li .text3 { margin-bottom: 15px; height: calc(40px + 1.6vw); }
}

/* main_story */
#main_story { position: relative; overflow: hidden; padding: 90px 0; background: url(/image/main/story_bg.jpg) no-repeat center/cover; }
#main_story .textbox .text1 { font-family: 'GmarketSans'; font-weight: 500; font-size: 40px; color: #fff; }
#main_story .textbox .text2 { margin-top: 20px; font-size: 18px; color: #fff; line-height: 1.55; }
#main_story .contents1 { margin-top: 55px; }
#main_story .contents1 .text3 { font-family: 'GmarketSans'; font-weight: 500; font-size: 25px; color: #fff; }
#main_story .contents1 ul { margin-top: 15px; display: flex; flex-wrap: nowrap; justify-content: space-between; }
#main_story .contents1 ul li { width: 32%; background-color: #fff; padding: 30px 20px; }
#main_story .contents1 ul li .iconbox img { display: inline-block; width: 76px; }
#main_story .contents1 ul li .txtbox { margin-top: 23px; }
#main_story .contents1 ul li .txtbox .txt1 { font-family: 'GmarketSans'; font-weight: 600; font-size: 25px; color: #0369bc; }
#main_story .contents1 ul li .txtbox .txt2 { margin-top: 12px; font-weight: 500; font-size: 18px; color: #000; line-height: 1.38; }
#main_story .contents1 ul li .txtbox .txt2 * { font-weight: inherit; font-size: inherit; color: inherit; line-height: inherit; }
#main_story .contents1 ul li .txtbox .txt2 dl { display: flex; flex-wrap: nowrap; }
#main_story .contents1 ul li .txtbox .txt2 dl dt { min-width: max-content; }
#main_story .contents1 .scr1 { margin-top: 10px; text-align: right; font-size: 18px; color: #000; line-height: 1.55; }
@media (max-width: 1535px) {
    #main_story .contents1 ul li { padding: 25px 15px; }
    #main_story .contents1 ul li .iconbox img { width: calc(50px + 1.5vw); }
    #main_story .contents1 ul li .txtbox { margin-top: 20px; }
}
@media (max-width: 1279px) {
    #main_story .contents1 ul li { padding: 20px 15px; }
    #main_story .contents1 ul li .iconbox img { width: calc(45px + 1.3vw); }
    #main_story .contents1 ul li .txtbox { margin-top: 15px; }
}
@media (max-width: 1023px) {
    #main_story .contents1 ul { flex-wrap: wrap; }
    #main_story .contents1 ul li { width: 48%; padding: 15px; }
    #main_story .contents1 ul li:nth-of-type(n + 3) { margin-top: 4%; }
    #main_story .contents1 ul li .txtbox .txt1 { font-weight: 500; }
    #main_story .contents1 ul li .txtbox .txt2 { font-weight: normal; }
    #main_story .contents1 .scr1 br { display: none; }
}
@media (max-width: 524px) {
    #main_story .contents1 ul { display: block; text-align: center; }
    #main_story .contents1 ul li { width: 100%; }
    #main_story .contents1 ul li:nth-of-type(n + 3) { margin-top: initial; }
    #main_story .contents1 ul li:nth-of-type(n + 2) { margin-top: 20px; }
}

/* main_gall */
#main_gall { position: relative; overflow: hidden; padding: 100px 0; background-color: #282828; }
#main_gall .text1 { margin-bottom: 30px; text-align: center; font-weight: 700; font-size: 35px; color: #fff; line-height: 1.35; }

.gallWrap { position: relative; margin: -15px; }
.gallWrap .gallUl .gallLi { position: relative; padding: 15px; }
.gallWrap .gallUl .gallLi .gallA { pointer-events: none; position: relative; display: block; aspect-ratio: 1/0.7375; overflow: hidden; }
.gallWrap .gallUl .gallLi .gallA img { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); min-width: 100%; min-height: 100%; max-width: 105%; }
.gallWrap .gallUl .gallLi .gallA .frame { display: none !important; }
.gallWrap .gallUl .gallLi .gallA .frame { z-index: 2; position: absolute; top: 100%; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); transition: top 0.3s; }
.gallWrap .gallUl .gallLi .gallA:hover .frame { top: 0; }
.gallWrap .gallUl .gallLi .gallA .frame p { position: relative; top: 50%; transform: translateY(-50%); padding: 0 20px; text-align: center; font-weight: 500; font-size: 18px; color: #fff; line-height: 1.35; }

.gallWrap .gallArrow { z-index: 5; position: absolute; top: 50%; transform: translateY(-50%); cursor: pointer; }
.gallWrap .arrow_left { left: -60px; }
.gallWrap .arrow_right { right: -60px; }
.gallWrap .gallArrow img { display: inline-block; width: 28px; }

@media (max-width: 1535px) {
    .gallWrap { padding: 0 50px; }
    .gallWrap .arrow_left { left: 5px; }
    .gallWrap .arrow_right { right: 5px; }
    .gallWrap .gallArrow img { width: 25px; }
}

@media (max-width: 1279px) {
    .gallWrap { padding: 0 40px; }
    .gallWrap .gallArrow img { width: 20px; }
}

@media (max-width: 1023px) {
    #main_gall .text1 { margin-bottom: 20px; }
}

@media (max-width: 540px) {
    .gallWrap { padding: 0 35px; }
    .gallWrap .gallArrow img { width: 18px; }
}