@charset "utf-8";

:root {    
    --rem: 1em;
    --container: var(--container-xl);
}

/* =======================================================
    common
======================================================= */
body { font-family: 'Pretendard', sans-serif; font-size: 1em; line-height: 1.4; letter-spacing: -0.02em; color: #191919; --swiper-theme-color: var(--primary); }
* { scrollbar-width: thin; scrollbar-color: #aaa #fff; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #fff; }
::-webkit-scrollbar-thumb { background: #aaa; border-radius: var(--radius-full); }

/* =======================================================
    layout
======================================================= */
/* header */
.hd { top: 0; left: 0; width: 100%; z-index: var(--z-sticky); position: fixed; }
.hd small { display: block; }
.hd_wrap { position: relative; z-index: 5; border-bottom: 1px solid #ddd; transition: var(--ts-md); background-color: #fff; }
.hd_con { height: 5em; display: flex; align-items: center; }
.hd_logo a { display: block; }
.hd_logo img { max-height: 3.5em; }

.hd_gnb { font-size: 1.125em; margin: 0 auto; }
.hd_gnb_list { display: flex; justify-content: flex-start; align-items: center; gap: 3em }
.hd_gnb_item { position: relative; padding: 1em 0; }
.hd_gnb_sub { position: absolute; left: 50%; top: 100%; white-space: nowrap; transform: translateX(-50%); text-align: center; background-color: #fff; color: #a9a9a9; padding: 0.3em 0.6em; border-radius: var(--radius-md); box-shadow: var(--shadow-md); pointer-events: none; opacity: 0; transition: var(--ts-sm); }
.hd_gnb_sub a { padding: 0.5em; font-weight: 500; line-height: 1; display: block; font-size: 0.8125em; }
.hd_gnb_sub a:hover { color: var(--primary); }
.hd_gnb_item:hover .hd_gnb_sub { pointer-events: auto; opacity: 1; margin-top: -0.5em; }

.hd_gnb_btn { width: 1.5em; aspect-ratio: 1/0.75; position: relative; background-color: transparent; border: 0; margin-left: 1em; }
.hd_gnb_btn .bar { display: inline-block; width: 100%; height: 2px; background-color: currentColor; position: absolute; left: 50%; transform: translateX(-50%); -webkit-border-radius: 1em;-moz-border-radius: 1em;border-radius: 1em; margin-top: -1px; transition: var(--ts-md); }
.hd_gnb_btn .bar-1 { top: 0; }
.hd_gnb_btn .bar-2 { top: 50%; width: 130%; }
.hd_gnb_btn .bar-3 { top: 100%; }
.hd_gnb_btn.is-close .bar { top: 50%; }
.hd_gnb_btn.is-close .bar-1 { transform: translateX(-50%) rotate(-45deg); }
.hd_gnb_btn.is-close .bar-2 { width: 0; margin-left: 0; }
.hd_gnb_btn.is-close .bar-3 { transform: translateX(-50%) rotate(45deg); }

.hd_search_btn i { font-size: 1.5em; }

.hd_anb { position: absolute; left: 0; top: 0; width: 100%; background-color: #fff; border-bottom: 1px solid #ddd; border-top: 1px solid #ddd; padding-top: 5em; display: none; }
.hd_anb_list { max-width: var(--container-lg); display: grid; justify-content: flex-start; align-items: flex-start; padding: 1.5em 0 2em; gap: 2.5em; grid-template-columns: repeat(5,1fr); }
.hd_anb_item > a { font-size: 1.125em; font-weight: 600; display: block; }
.hd_anb_sub { padding: 1em 0; font-weight: 300; }
.hd_anb_sub li { margin-bottom: 0.75em; }
.hd_anb_sub li a { opacity: 0.6; }
.hd_anb_sub li:hover a { opacity: 1; }

/* footer */
.ft { background-color: #1E1E1E; color: #fff; padding: 2em 0 3em; }
.ft_con { display: flex; flex-direction: column; gap: 0.75em; }
.ft_box { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1em; }
.ft_logo img { filter: brightness(0) invert(1) opacity(0.6); }
.ft_info { line-height: 1.5; }
.ft .divider { margin: -0.25em 0.5em 0; vertical-align: middle; }


.floating { position: fixed; right: 3%; bottom: 5%; display: flex; flex-direction: column; gap: 1em; z-index: 999; }
.floating a { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 6em; aspect-ratio: 1/1; border: 1px solid #eee; background-color: #fff; border-radius: var(--radius-full); line-height: 1; box-shadow: var(--shadow-sm); }
.floating a i { font-size: 2.5em; opacity: 0.8; }
.floating a span { font-size: 0.875em; margin-top: 0.5em; }
.floating a:hover { background-color: var(--primary); color: #fff; border-color: transparent; }
.floating a:hover i { opacity: 1; }

/* =======================================================
    sub
======================================================= */
.sub {  }

/* product */
.product:has(#fwrite) { --container: var(--container-sm); }
.product:has(.detail_box) { --container: 720px; }
.product .frm_wrap,
.product .detail { position: relative; }
.product .frm_label { display: block; margin-bottom: 0.5em; }
.product .post_desc { display: none; }
.product .btn_add,
.product .btn_remove { position: absolute; right: 0; top: 0; padding: 0.5em 1em; font-size: 0.875em; }
.product .detail { margin-bottom: 3em; }
.product .detail_box { margin-bottom: 3em; display: flex; text-align: center; gap: 1em 2em; }
.product .detail_box { margin-bottom: 3em; display: flex; text-align: center; gap: 1em 2em; }
.product .detail_box h4 { font-size: 1.375em; font-weight: 800; margin-bottom: 0.5em; }
.product .detail_box p { font-size: 0.875em; line-height: 1.5; word-break: keep-all; }
.product .detail_box br { display: none;  }
.product .detail_img { width: 100%; }
.product .detail_img img { width: 100% !important; height: auto !important; margin-bottom: 0; }
.product .detail_box.type-a { flex-direction: column; align-items: center; }
.product .detail_box.type-a .detail_txt { background-color: #f5f5f5; -webkit-border-radius: 1em;-moz-border-radius: 1em;border-radius: 1em; padding: 1.5em 1.25em; }
.product .detail_box.type-b { flex-direction: row; text-align: left; align-items: center; }
.product .detail_box.type-c { display: grid; grid-template-columns: repeat(2,1fr) }
.product .detail_box.type-c .detail_set { display: flex; flex-direction: column; }
.product .detail_box.type-c .detail_img { margin-bottom: 1em; }
.product .detail_box.type-c .detail_txt h4 { color: var(--primary); }
.product .detail_box.type-d { display: grid; grid-template-columns: repeat(3,1fr) }
.product .detail_box.type-d .detail_set { display: flex; flex-direction: column; }
.product .detail_box.type-d .detail_img { margin-bottom: 1em; }
.product .detail_box.type-d .detail_txt h4 { color: var(--primary); }

.editor:has(#fwrite) { --container: var(--container-sm); }
.editor .view { max-width: 658px; margin: auto; }
.editor .post_desc { display: none; }
.editor .post_content * { font-family: inherit !important; }
.editor .post_content b { font-weight: 800; }
.editor .post_content td { padding-right: 2em; }
.editor .post_content td:last-child { padding-right: 0; }
.editor .post_content img { max-width: 100%; vertical-align: top; }

/* =======================================================
    index
======================================================= */
.hd.idx .hd_wrap { background-color: transparent; border: 0; }

.idx { padding: 0; }
.idx .more { font-size: 1.125em; }
.idx .more i { margin-left: 0.25em; background-color: #f2f2f2; font-size: 1.125em; border-radius: var(--radius-full); width: 1.5em; aspect-ratio: 1/1; display: inline-flex; justify-content: center; align-items: center; transition: var(--ts-sm); }
.idx .more:hover i { background-color: var(--primary); color: #fff; }

.idx_title { margin-bottom: 3em; position: relative; }
.idx_title h2 { font-size: 3em; font-weight: 700; line-height: 1.2; }
.idx_title p { font-size: 1.125em; font-weight: 500; margin-top: 0.5em; }
.idx_title .more { position: absolute; bottom: 0; right: 0; }

.idx_visual { background: url(/img/idx_visual_bg.png) no-repeat center/cover; }
.idx_visual .visual_con { height: calc(var(--vh)*100); display: flex; justify-content: space-between; align-items: center; }
.idx_visual .visual_txt h4 { font-size: 1.75em; font-weight: 600; text-transform: uppercase; }
.idx_visual .visual_txt h2 { font-size: 3.5em; line-height: 1.2; font-weight: 700; margin: 0.25em 0 0.5em; }
.idx_visual .visual_txt p { font-size: 1.5em; }
.idx_visual .visual_nav { display: inline-flex; justify-content: flex-start; align-items: center; gap: 1.25em; margin-top: 3em; }
.idx_visual .visual_nav .swiper-paging { display: flex; gap: 1em; }
.idx_visual .visual_nav .swiper-page { font-weight: 700; color: #aaa; cursor: pointer; }
.idx_visual .visual_nav .swiper-page.is-active { color: #191919; }
.idx_visual .visual_nav .swiper-btn { cursor: pointer; }
.idx_visual .visual_nav .swiper-btn i { font-size: 1.375em; }
.idx_visual .visual_swiper { width: 40%; }

.idx_product { padding: 8em 0; overflow: hidden; position: relative; }
.idx_product .product_bg { width: 100%; position: absolute; left: 0; bottom: 5%; overflow: hidden; }
.idx_product .product_bg .swiper-wrapper { transition-timing-function: linear; }
.idx_product .product_bg .swiper-slide { width: auto; padding-right: 2em; }
.idx_product .product_bg .swiper-slide img { width: 100%; }

.idx_product .product_con { display: flex; gap: 2em; }
.idx_product .product_cate { width: 100%; max-width: 380px; position: relative; z-index: 5; }
.idx_product .product_cate ul { border-radius: var(--radius-xl) 0 var(--radius-xl) 0; overflow: hidden; box-shadow: 0 0 1em rgba(0,0,0,0.1); }
.idx_product .product_cate li:not(:last-child) { border-bottom: 1px solid #ddd; }
.idx_product .product_cate li a { display: flex; justify-content: space-between; align-items: center; font-size: 1.625em; padding: 1.5em 2.5em; background-color: #f4f4f4; color: #686868; }
.idx_product .product_cate li.is-active a,
.idx_product .product_cate li a:hover { color: #fff; background-color: var(--primary); }
.idx_product .product_cate li.is-active a img,
.idx_product .product_cate li a:hover img { filter: brightness(0) invert(1); }
.idx_product .product_cate .product_more { font-size: 1.5em; border-radius: var(--radius-full); display: flex; justify-content: center; align-items: center; padding: 0.875em; margin-top: 1em; background-color: rgba(255,255,255,0.1); backdrop-filter: blur(0.3em); box-shadow: 0 0 1em rgba(0,0,0,0.1); color: #686868; }
.idx_product .product_cate .product_more:hover { color: var(--primary); }

.idx_product .product_swiper { max-width: calc(100% - 380px - 32px); overflow: visible; }
.idx_product .product_box { border-radius: var(--radius-xl) 0 var(--radius-xl) 0; overflow: hidden; box-shadow: 0 0 1em rgba(0,0,0,0.1); background-color: #fff; padding: 2.5em; display: block; }
.idx_product .product_thumb { width: 100%; aspect-ratio: 1/1.25; }
.idx_product .product_thumb img { width: 100%; height: 100%; object-fit: contain; }
.idx_product .product_desc b { font-size: 1.125em; font-weight: 700; }
.idx_product .product_desc h5 { font-size: 1.5em; font-weight: 700; margin: 0.25em 0 0.5em; }
.idx_product .swiper-pagination { position: static; }

.idx_cs { padding: 8em 0; text-align: center; }
.idx_cs .cs_list { display: flex; border-radius: var(--radius-lg); overflow: hidden; color: #fff; position: relative; background: url(/img/idx_cs_bg_01.png) no-repeat center/cover; }
.idx_cs .cs_list li { flex: 1 1 20%; }
.idx_cs .cs_list li::before { content:""; width: 100%; height: 100%; position: absolute; left: 0; top: 0; opacity: 0; transition: var(--ts-sm); }
.idx_cs .cs_list li:nth-child(1)::before { background: url(/img/idx_cs_bg_01.png) no-repeat center/cover; }
.idx_cs .cs_list li:nth-child(3)::before { background: url(/img/idx_cs_bg_02.png) no-repeat center/cover; }
.idx_cs .cs_list li:nth-child(5)::before { background: url(/img/idx_cs_bg_03.png) no-repeat center/cover; }
.idx_cs .cs_list li:nth-child(7)::before { background: url(/img/idx_cs_bg_04.png) no-repeat center/cover; }
.idx_cs .cs_list .divider { height: auto; margin: 1.5em 0; flex: 0 0 1px; position: relative; z-index: 3; }
.idx_cs .cs_link { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; aspect-ratio: 1/1.2; opacity: 0.4; position: relative; z-index: 3; }
.idx_cs .cs_txt { position: relative; padding-bottom: 4.5em; margin-top: 4.5em; transition: var(--ts-sm); }
.idx_cs .cs_txt h5 { font-size: 1.75em; font-weight: 600; }
.idx_cs .cs_txt p { font-size: 1.125em; margin-top: 0.25em; }
.idx_cs .cs_icon { width: 3em; aspect-ratio: 1/1; background-color: var(--primary); color: #fff; display: inline-flex; justify-content: center; align-items:center; border-radius: var(--radius-full); pointer-events: none; transition: var(--ts-sm); position: absolute; bottom: 0; left: 50%; margin-left: -1.5em; opacity: 0; }

.idx_cs .cs_list li:hover .cs_link { opacity: 1; }
.idx_cs .cs_list li:hover .cs_txt { margin-top: 0; }
.idx_cs .cs_list li:hover .cs_icon { opacity: 1; pointer-events: auto; }
.idx_cs .cs_list li:nth-child(1):hover::before { opacity: 1; }
.idx_cs .cs_list li:nth-child(3):hover::before { opacity: 1; }
.idx_cs .cs_list li:nth-child(5):hover::before { opacity: 1; }
.idx_cs .cs_list li:nth-child(7):hover::before { opacity: 1; }

.idx_delivery { padding: 8em 0; }
.idx_delivery .delivery_box { display: block; border-radius: var(--radius-md); overflow: hidden; border: 1px solid #ddd; }
.idx_delivery .delivery_thumb { width: 100%; aspect-ratio: 1/0.9; }
.idx_delivery .delivery_desc { padding: 1.5em 2em; }
.idx_delivery .delivery_desc h5 { font-size: 1.25em; font-weight: 600; }
.idx_delivery .delivery_desc p { font-size: 0.9375em; color: #999; margin-top: 0.5em; }
.idx_delivery .delivery_desc p span { -webkit-line-clamp: 2; }
.idx_delivery .swiper-scrollbar { position: static !important; margin-top: 1em; }
.idx_delivery .swiper-scrollbar-drag { background-color: var(--primary); }