@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@500;600;700&display=swap");

/* =====================
   main visual
===================== */
#main_visual { position: relative; height: 880px; overflow: hidden; background-color: #f3eee6; }
#main_visual .mv_wrap { position: relative; height: 100%; }

#main_visual .mv_slick { z-index: 1; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
#main_visual .mv_slick .con { position: relative; width: 100%; height: 100%; }
#main_visual .mv_slick .bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url(/image/main/visual.jpg) no-repeat 62% center / cover; background-color: #efe8dc; }
#main_visual .mv_slick .bg::before { content: ''; position: absolute; inset: 0; background:
    radial-gradient(ellipse 42% 48% at 78% 72%, rgba(255, 248, 230, 0.55) 0%, rgba(255, 248, 230, 0) 70%),
    radial-gradient(circle 90px at 70% 78%, rgba(255, 220, 150, 0.35) 0%, rgba(255, 220, 150, 0) 72%),
    radial-gradient(circle 70px at 82% 62%, rgba(255, 236, 190, 0.4) 0%, rgba(255, 236, 190, 0) 70%);
    pointer-events: none; }
#main_visual .mv_slick .frame { z-index: 2; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(255,252,247,0.78) 0%, rgba(255,252,247,0.42) 34%, rgba(255,252,247,0.08) 58%, rgba(255,252,247,0) 72%); pointer-events: none; }

#main_visual .mv_text { z-index: 3; position: relative; height: 100%; }
#main_visual .mv_text .contwrap { height: 100%; }
#main_visual .textbox { position: absolute; top: 46%; transform: translateY(-50%); max-width: 640px; }

#main_visual .text1 {font-family: 'NanumMyeongjo'; font-weight: 700; font-size: 76px; color: #0d2944; line-height: 1.35; letter-spacing: -0.04em; }
#main_visual .text2 { margin-top: 22px; font-size: 20px; font-weight: 400; color: #5a5a5a; line-height: 1.75; letter-spacing: -0.02em; }

#main_visual .morebtn { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
#main_visual .morebtn a { display: inline-flex; align-items: center; justify-content: center; min-width: 168px; height: 50px; padding: 0 28px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; transition: background-color 0.25s, color 0.25s, opacity 0.25s; }
#main_visual .morebtn a:first-child { background-color: #0d2944; color: #fff; }
#main_visual .morebtn a:first-child:hover { background-color: #243850; }
#main_visual .morebtn a:last-child { background-color: #fff; color: #0d2944; border: 1px solid #0d2944; }
#main_visual .morebtn a:last-child:hover { background-color: #0d2944; color: #fff; }

@media (max-width: 1660px) {
    #main_visual { height: 820px; }
    #main_visual .text1 { font-size: 50px; }
}
@media (max-width: 1440px) {
    #main_visual { height: 760px; }
    #main_visual .textbox { max-width: 560px; }
    #main_visual .text1 { font-size: 44px; }
    #main_visual .text2 { font-size: 16px; }
    #main_visual .morebtn a { min-width: 150px; height: 46px; font-size: 15px; }
}
@media (max-width: 1279px) {
    #main_visual { height: 700px; }
    #main_visual .text1 { font-size: 38px; }
    #main_visual .morebtn { margin-top: 28px; }
}
@media (max-width: 1023px) {
    #main_visual { height: 620px; }
    #main_visual .textbox { top: 54%; max-width: 100%; }
    #main_visual .mv_slick .frame { background: linear-gradient(90deg, rgba(255,252,247,0.82) 0%, rgba(255,252,247,0.55) 50%, rgba(255,252,247,0.18) 100%); }
    #main_visual .text1 { font-size: 34px; }
    #main_visual .text2 { font-size: 15px; margin-top: 16px; }
    #main_visual .morebtn a { min-width: 140px; height: 44px; font-size: 14px; padding: 0 20px; }
}
@media (max-width: 767px) {
    #main_visual { height: 465px; }
    #main_visual .text1 { font-size: 28px; }
    #main_visual .text2 br { display: none; }
    #main_visual .morebtn { gap: 8px; }
    #main_visual .morebtn a { min-width: 0; flex: 1; padding: 0 12px; }
}
@media (max-width: 460px) {
    #main_visual { height: 520px; }
    #main_visual .text1 { font-size: 24px; }
}


/* =====================
   main company
===================== */
#main_compnay { position: relative; background-color: #fff; }
#main_compnay .contwrap { max-width: 1400px; }
#main_compnay ul { display: flex; flex-wrap: nowrap; }
#main_compnay ul li { position: relative; flex: 1; padding: 48px 20px; text-align: center; }
#main_compnay ul li + li::before { content: ''; position: absolute; top: 28%; left: 0; width: 1px; height: 44%; background-color: #e6e6e6; }
#main_compnay ul li img { display: block; width: 103px; height: 103px; margin: 0 auto 18px; object-fit: contain; }
#main_compnay ul li p:first-of-type { font-weight: 700; font-size: 24px; color: #0d2944; letter-spacing: -0.03em; font-family: 'NanumMyeongjo';}
#main_compnay ul li p:last-of-type { margin-top: 10px; font-size: 17px; color: #686868; letter-spacing: -0.02em; }

@media (max-width: 1440px) {
    #main_compnay ul li { padding: 42px 16px; }
    #main_compnay ul li img { width: 76px; height: 76px; }
    #main_compnay ul li p:first-of-type { font-size: 18px; }
}
@media (max-width: 1023px) {
    #main_compnay ul { flex-wrap: wrap; }
    #main_compnay ul li { width: 50%; flex: 0 0 50%; padding: 36px 12px; }
    #main_compnay ul li:nth-child(2n+1)::before { display: none; }
    #main_compnay ul li img { width: 68px; height: 68px; margin-bottom: 14px; }
    #main_compnay ul li p:first-of-type { font-size: 17px; }
    #main_compnay ul li p:last-of-type { font-size: 13px; }
}
@media (max-width: 767px) {
    #main_compnay ul li { width: 50%; padding: 28px 10px; }
    #main_compnay ul li img { width: 58px; height: 58px; }
    #main_compnay ul li p:first-of-type { font-size: 15px; }
}


/* =====================
   main service banners
===================== */
#main_service { position: relative; }
#main_service ul { display: flex; flex-wrap: nowrap; }
#main_service ul li { position: relative; flex: 1; min-height: 300px; padding: 112px 75px; overflow: hidden; background-repeat: no-repeat; background-position: center; background-size: cover; }
#main_service ul li::before { content: ''; position: absolute; inset: 0; pointer-events: none; }
#main_service ul li > * { position: relative; z-index: 1; }

#main_service ul li:first-child { background-image: url(/image/main/service1.png); background-color: #b17b2a; }
#main_service ul li:last-child { background-image: url(/image/main/service2.png); background-color: #0d2944; }

#main_service ul li p { font-size: 16px; font-weight: 500; color: #f7df9a; letter-spacing: 0.08em; }
#main_service ul li strong { display: block; margin-top: 16px; font-family: 'NanumMyeongjo'; font-weight: 700; font-size: 44px; color: #fff; line-height: 1.45; letter-spacing: -0.03em; }
#main_service ul li a { display: inline-flex; align-items: center; margin-top: 28px; font-size: 17px; font-weight: 500; color: #fff; letter-spacing: -0.02em; transition: opacity 0.25s; cursor: pointer; }
#main_service ul li a::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; transform: rotate(45deg); }
#main_service ul li a:hover { opacity: 0.75; }

@media (max-width: 1440px) {
    #main_service ul li { min-height: 270px; padding: 48px 6%; }
    #main_service ul li strong { font-size: 24px; }
}
@media (max-width: 1023px) {
    #main_service ul { flex-wrap: wrap; }
    #main_service ul li { flex: 0 0 100%; min-height: 240px; padding: 40px 8%; }
    #main_service ul li strong { font-size: 22px; }
}
@media (max-width: 767px) {
    #main_service ul li { min-height: 220px; padding: 36px 30px; }
    #main_service ul li strong { font-size: 20px; margin-top: 12px; }
    #main_service ul li a { margin-top: 20px; font-size: 14px; }
}


/* =====================
   main product
===================== */
#main_product { position: relative; padding: 100px 0 90px; background-color: #f6f1e8; background-image:
    radial-gradient(circle at 12% 20%, rgba(196, 176, 140, 0.16) 0 90px, transparent 91px),
    radial-gradient(circle at 88% 78%, rgba(196, 176, 140, 0.12) 0 120px, transparent 121px);
    overflow: hidden; }
#main_product::before { content: ''; position: absolute; inset: 0; background-image: url(/image/main/product_bg.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; opacity: 0.18; pointer-events: none; }
#main_product .contwrap { position: relative; z-index: 1; }

#main_product .title_box { margin-bottom: 48px; text-align: center; }
#main_product .title_box p:first-child { font-weight: 600; font-size: 13px; color: #ae8650; letter-spacing: 0.18em; }
#main_product .title_box h3 { margin-top: 12px; font-weight: 700; font-size: 36px; color: #000000; letter-spacing: -0.04em; }
#main_product .title_box p:last-of-type { margin-top: 12px; font-size: 17px; color: #666666; letter-spacing: -0.02em; }

#main_product ul { display: flex; flex-wrap: nowrap; gap: 28px; }
#main_product ul li { position: relative; flex: 1; padding: 52px 40px 36px; background-color: #fff; box-shadow: 0 12px 36px rgba(40, 30, 20, 0.08); }

#main_product ul li span { position: absolute; top: 0; left: 0; display: inline-flex; align-items: center; justify-content: center; min-width: 86px; height: 32px; padding: 0 16px; font-weight: 600; font-size: 13px; color: #fff; letter-spacing: -0.02em; }
#main_product ul li.left span { background-color: #d4783a; }
#main_product ul li.right span { background-color: #b08a5a; }

#main_product ul li > div { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 8px; padding-bottom: 8px; border-bottom: 1px solid #dddddd;}
#main_product ul li > div p:first-child { font-family: 'NanumMyeongjo'; font-weight: 700; font-size: 32px; color: #b17b2a; letter-spacing: -0.04em; }
#main_product ul li > div p:last-child { font-weight: 500; font-size: 24px; color: #0d2944; letter-spacing: -0.03em; white-space: nowrap; }
#main_product ul li > div p:last-child strong { font-weight: 700; font-size: 50px; color: #0d2944; }

#main_product ul li > p { text-align: center; font-weight: 700;  letter-spacing: -0.03em; }
#main_product ul li > p:nth-of-type(1) { margin-top: 28px; font-size: 22px; color: #d21f3c;}
#main_product ul li > p:nth-of-type(2) { margin-top: 10px; margin-bottom: 28px; font-size: 20px; font-weight: 600; color: #0d2944;}

#main_product ul li a { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; background-color: #0d2944; font-weight: 600; font-size: 22px; color: #fff; letter-spacing: -0.03em; cursor: pointer; transition: background-color 0.25s; }
#main_product ul li a::after { content: ''; display: inline-block; width: 8px; height: 8px; margin-left: 10px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg); }
#main_product ul li a:hover { background-color: #243850; }

@media (max-width: 1440px) {
    #main_product { padding: 80px 0 70px; }
    #main_product .title_box h3 { font-size: 32px; }
    #main_product ul li { padding: 48px 32px 32px; }
    #main_product ul li > div p:first-child { font-size: 28px; }
    #main_product ul li > div p:last-child strong { font-size: 30px; }
}
@media (max-width: 1023px) {
    #main_product { padding: 64px 0 56px; }
    #main_product .title_box { margin-bottom: 32px; }
    #main_product .title_box h3 { font-size: 28px; }
    #main_product ul { flex-wrap: wrap; gap: 20px; }
    #main_product ul li { flex: 0 0 100%; }
    #main_product ul li > p:nth-of-type(1) { font-size: 18px; }
}
@media (max-width: 767px) {
    #main_product .title_box h3 { font-size: 24px; }
    #main_product ul li { padding: 42px 22px 24px; }
    #main_product ul li > div p:first-child { font-size: 24px; }
    #main_product ul li > div p:last-child { font-size: 14px; }
    #main_product ul li > div p:last-child strong { font-size: 26px; }
    #main_product ul li > p:nth-of-type(1) { font-size: 16px; margin-top: 20px; }
    #main_product ul li > p:nth-of-type(2) { font-size: 13px; margin-bottom: 20px; }
    #main_product ul li a { height: 48px; font-size: 14px; }
}


/* =====================
   main banner
===================== */
#main_banner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; min-height: 180px; padding: 56px max(20px, calc((100% - 1300px) / 2)); background-color: #3b2718; background-image: url(/image/main/banner.jpg); background-repeat: no-repeat; background-position: left center; background-size: cover; }
#main_banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(48, 32, 20, 0.55) 0%, rgba(40, 26, 16, 0.88) 42%, rgba(36, 22, 14, 0.94) 100%); pointer-events: none; }
#main_banner > div { position: relative; z-index: 1; }

#main_banner > div:first-child strong { display: block; font-family: 'NanumMyeongjo'; font-weight: 400; font-size: 30px; color: #fff; letter-spacing: -0.04em; line-height: 1.4; }
#main_banner > div:first-child strong span {font-size: 36px; font-weight: 700;}
#main_banner > div:first-child p { margin-top: 12px; font-size: 18px; color: rgba(255,255,255,0.82); letter-spacing: -0.02em; }

#main_banner > div:last-child { display: flex; flex-wrap: nowrap; gap: 20px; align-items: stretch; }
#main_banner > div:last-child a { display: inline-flex; align-items: center; justify-content: center;  border-radius: 5px;  min-width: 175px; padding:16px 20px; font-size: 17px; letter-spacing: -0.03em;}
#main_banner > div:last-child a:first-child {font-weight: 700;  color: #0d2944;  background-color: #fff;}
#main_banner > div:last-child a:last-child { background-color: transparent; border: 1px solid #fff; font-weight: 600;color: #fff; transition: background-color 0.25s; }
#main_banner > div:last-child a:last-child:hover { background-color: #243850; }

@media (max-width: 1440px) {
    #main_banner { padding-left: 70px; padding-right: 70px; }
    #main_banner > div:first-child strong { font-size: 24px; }
    #main_banner > div:last-child a:first-child { min-width: 200px; font-size: 22px; padding: 0 22px; }
    #main_banner > div:last-child a:last-child { height: 58px; min-width: 120px; }
}
@media (max-width: 1279px) {
    #main_banner { padding-left: 60px; padding-right: 60px; }
}
@media (max-width: 1023px) {
    #main_banner { padding: 40px; }
    #main_banner > div:first-child,
    #main_banner > div:last-child { width: 100%; }
    #main_banner > div:last-child a:first-child { flex: 1; min-width: 0; font-size: 20px; }
    #main_banner > div:last-child a:last-child { height: 54px; }
}
@media (max-width: 767px) {
    #main_banner { padding: 32px 30px; min-height: 0; }
    #main_banner > div:first-child strong { font-size: 20px; }
    #main_banner > div:first-child p { font-size: 14px; }
    #main_banner > div:last-child { width: 100%; }
    #main_banner > div:last-child a:first-child { font-size: 18px; padding: 0 16px; }
    #main_banner > div:last-child a:last-child { min-width: 100px; padding: 0 16px; font-size: 14px; height: 50px; }
}
@media (max-width: 460px) {
    #main_banner { padding: 28px 20px; }
    #main_banner > div:last-child { flex-wrap: wrap; }
    #main_banner > div:last-child a:first-child,
    #main_banner > div:last-child a:last-child { width: 100%; height: 48px; }
}


/* =====================
   main review
===================== */
#main_review {
    position: relative;
    padding: 110px 0 120px;
    overflow: hidden;
    background-color: #f7f4ef;
    background-image: url(/image/main/review_bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
#main_review .contwrap { position: relative; z-index: 1; }

#main_review .title_box { margin-bottom: 56px; text-align: center; }
#main_review .title_box p:first-child { font-weight: 600; font-size: 13px; color: #ae8650; letter-spacing: 0.2em; }
#main_review .title_box h3 {
    margin-top: 12px;
    font-family: 'NanumMyeongjo', serif;
    font-weight: 700;
    font-size: 36px;
    color: #111;
    letter-spacing: -0.04em;
}
#main_review .title_box p:last-of-type { margin-top: 12px; font-size: 16px; color: #777; letter-spacing: -0.02em; }

#main_review .review_slider { position: relative; padding: 0 48px; }
#main_review .review_slick { margin: 0 -12px; }
#main_review .rv_slide { padding: 12px; }
#main_review .rv_card {
    display: block;
    height: 100%;
    padding: 28px 26px 30px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(40, 30, 20, 0.08);
    text-decoration: none;
    color: inherit;
}
#main_review .rv_card_star { margin-bottom: 16px; }
#main_review .rv_stars { display: inline-flex; gap: 2px; line-height: 1; letter-spacing: 1px; }
#main_review .rv_stars .star { font-size: 20px; color: #ddd; font-style: normal; }
#main_review .rv_stars .star.on { color: #f5c518; }
#main_review .rv_card_img { overflow: hidden; background: #eee; aspect-ratio: 16/10; }
#main_review .rv_card_img img { display: block; width: 100%; height: 100%; object-fit: cover; }
#main_review .rv_card_img .no_image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #999;
    font-size: 14px;
}
#main_review .rv_card_txt {
    margin: 18px 0 0;
    color: #555;
    font-size: 15px;
    line-height: 1.55;
    word-break: keep-all;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
#main_review .rv_empty { padding: 60px 0; text-align: center; color: #888; }

#main_review .rv_arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border: 0;
    background: none;
    cursor: pointer;
}
#main_review .rv_prev { left: 0; }
#main_review .rv_next { right: 0; }
#main_review .rv_arrow::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    margin: 0 auto;
    border-top: 2px solid #999;
    border-right: 2px solid #999;
}
#main_review .rv_prev::before { transform: rotate(-135deg); }
#main_review .rv_next::before { transform: rotate(45deg); }
#main_review .rv_arrow:hover::before { border-color: #333; }

@media (max-width: 1024px) {
    #main_review { padding: 80px 0 90px; }
    #main_review .title_box h3 { font-size: 30px; }
    #main_review .review_slider { padding: 0 36px; }
}
@media (max-width: 767px) {
    #main_review { padding: 64px 0 72px; }
    #main_review .title_box { margin-bottom: 32px; }
    #main_review .title_box h3 { font-size: 24px; }
    #main_review .review_slider { padding: 0 28px; }
    #main_review .rv_card { padding: 22px 20px 24px; }
}
