@charset "utf-8";

/*pretendard 폰트 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/*Freesentation 폰트 */
@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-1Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-2ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-3Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-4Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-9Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

/*ROKAF Sans 폰트 */
@font-face {
    font-family: 'ROKAF Sans';
    src: url('../fonts/ROKAF Sans Medium.woff2') format('woff2');
    font-weight: 100 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ROKAF Sans';
    src: url('../fonts/ROKAF Sans Bold.woff2') format('woff2');
    font-weight: 600 900;
    font-style: normal;
    font-display: swap;
}




/* 루트 색상 설정 */

:root {
    --color-primary: #035C69;    
    --color-p_light: #B9DEED;
    --color-p_dark: #01435C;
    --color-p_text:#4A5568;
    --color-p_header : #01435C;
    --color-p_background: #b9deed20;
    --color-p_point:#2AB3DF;
}


.sound_only {
    display: none;
}


body {
    font-family: 'pretendard', sans-serif;
    font-size:16px;
    color:var(--color-p_text);
}

/* break-keep, letter-spacing 스타일 */

p,
div,
label,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
    word-break: keep-all;
    overflow-wrap: break-word;
    letter-spacing: -0.02rem;
}


/* span 태그는 상위 태그의 letter-spacing 값을 상속받음 */
span {
    letter-spacing: inherit;
}


/*모바일, 태블릿 뷰에서 lenis 새로고침 중지*/
html,
body {
    overscroll-behavior-y: none;
}

/* AOS 가로 오버플로우는 wrapper만 clip — html/body overflow-x는 터치 스크롤을 막음 */
#wrapper {
    max-width: 100%;
    overflow-x: clip;
}

@supports not (overflow: clip) {
    #wrapper {
        overflow-x: hidden;
    }
}

@media (min-width:1024px) {

    html,
    body {
        overscroll-behavior-y: initial;
    }
}

/* 모바일: AOS 초기 transform이 문서 폭을 밀지 않도록 첫 페인트부터 보정 */
@media (max-width: 1023px) {
    [data-aos="fade-left"],
    [data-aos="fade-right"],
    [data-aos="slide-left"],
    [data-aos="slide-right"],
    [data-aos="zoom-in-left"],
    [data-aos="zoom-in-right"],
    [data-aos="zoom-out-left"],
    [data-aos="zoom-out-right"] {
        transform: translate3d(0, 24px, 0) !important;
    }
}

/*게시판 글쓰기 화면 공통 스타일 */
#bo_w .bo_w_flie .frm_file {
    margin-top: -1px;
}

/* 온라인 문의 작성 폼 */
#bo_w.inquiry-write .inquiry-control {
    height: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #fff;
    background-image: none;
    box-shadow: none;
}

#bo_w.inquiry-write textarea.inquiry-control {
    min-height: 140px;
    padding: 0.75rem 1rem;
}

#bo_w.inquiry-write .inquiry-control:focus {
    border-color: #01435c !important;
    box-shadow: none;
}

#bo_w.inquiry-write .inquiry-file {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#bo_w.inquiry-write select.inquiry-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: none;
}

#bo_w.inquiry-write .inquiry-check {
    width: 20px;
    height: 20px;
    accent-color: #01435c;
}

#bo_w.inquiry-write .inquiry-agree-check {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background-color: #fff;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    vertical-align: middle;
}

#bo_w.inquiry-write .inquiry-agree-check::after {
    content: "";
    width: 5px;
    height: 9px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    margin-top: -2px;
}

#bo_w.inquiry-write .inquiry-agree-check:checked {
    background-color: #fff;
    border-color: currentColor;
}

#bo_w.inquiry-write .inquiry-agree-check:checked::after {
    transform: rotate(45deg) scale(1);
}

#inquiry_privacy_body img {
    max-width: 100%;
    height: auto;
}

#inquiry_privacy_body p {
    margin-bottom: 0.75rem;
}

#inquiry_privacy_body p:last-child {
    margin-bottom: 0;
}

#bo_w.inquiry-write .inquiry-submit {
    border: 0;
    background-color: #01435c;
    color: #fff;
}

#bo_w.inquiry-write .inquiry-submit:hover {
    background-color: #013447;
}

@media (min-width: 1024px) {
    #bo_w.inquiry-write textarea.inquiry-control {
        min-height: 200px;
    }
}


/* 에디터 콘텐츠 내 텍스트, 이미지 정렬 - 에디터에서 설정한 정렬 그대로 반영 */

.editor_content p,
.editor_content div,
#bo_v_con p,
#bo_v_con div {
    text-align: inherit;
    font-family: inherit !important;
}

.editor_content img,
#bo_v_con img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}


/* 게시판 본문 첨부 이미지 확대 링크는 이미지 크기만 클릭되도록 제한 */
#bo_v_img a.view_image {
    display: inline-block !important;
    width: auto !important;
    max-width: 100%;
}

#bo_v_img a.view_image img {
    display: block;
}

/* 게시글 파일첨부, 링크 공통 스타일 (basic_list 상세는 Tailwind) */
#bo_v:not(.briefing-view) #bo_v_file h2,
#bo_v:not(.briefing-view) #bo_v_link h2 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

#bo_v:not(.briefing-view) #bo_v_file ul,
#bo_v:not(.briefing-view) #bo_v_link ul {
    margin: 0;
    list-style: none;
}

#bo_v:not(.briefing-view) #bo_v_file li,
#bo_v:not(.briefing-view) #bo_v_link li {
    padding: 15px;
    position: relative;
    margin: 10px 0;
    border: 1px solid #dfdfdf;
    border-radius: 5px;
    box-shadow: none;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

#bo_v:not(.briefing-view) #bo_v_file li br,
#bo_v:not(.briefing-view) #bo_v_link li br {
    display: none;
}

#bo_v:not(.briefing-view) #bo_v_file li i,
#bo_v:not(.briefing-view) #bo_v_link li i {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    color: #000;
    font-size: 1.25rem;
    line-height: 1;
    transition: color 0.2s ease;
}

#bo_v:not(.briefing-view) #bo_v_file a,
#bo_v:not(.briefing-view) #bo_v_link a {
    flex: 1;
    min-width: 0;
    display: block;
    text-decoration: none;
    word-wrap: break-word;
    color: #000;
    transition: color 0.2s ease;
}

#bo_v:not(.briefing-view) #bo_v_file a:focus,
#bo_v:not(.briefing-view) #bo_v_file li:hover a,
#bo_v:not(.briefing-view) #bo_v_file a:active,
#bo_v:not(.briefing-view) #bo_v_link a:focus,
#bo_v:not(.briefing-view) #bo_v_link li:hover a,
#bo_v:not(.briefing-view) #bo_v_link a:active {
    text-decoration: underline;
    color: var(--color-primary);
}

#bo_v:not(.briefing-view) #bo_v_file img {
    flex-shrink: 0;
    margin: 0 10px 0 0;
}

#bo_v:not(.briefing-view) #bo_v_file .bo_v_file_cnt,
#bo_v:not(.briefing-view) #bo_v_link .bo_v_link_cnt {
    margin-left: auto;
    flex-shrink: 0;
    color: #000;
    font-size: 0.92em;
    line-height: 1.4;
    transition: color 0.2s ease;
}

#bo_v:not(.briefing-view) #bo_v_file li:hover,
#bo_v:not(.briefing-view) #bo_v_link li:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

#bo_v:not(.briefing-view) #bo_v_file li:hover i,
#bo_v:not(.briefing-view) #bo_v_link li:hover i {
    color: var(--color-primary);
}

#bo_v:not(.briefing-view) #bo_v_file li:hover .bo_v_file_cnt,
#bo_v:not(.briefing-view) #bo_v_link li:hover .bo_v_link_cnt {
    color: var(--color-primary);
}



/* 체크박스 체크, 라디오버튼 체크 시 색상 변경 */

input[type="checkbox"] {
    accent-color: var(--color-primary) !important;
}

input[type="checkbox"]:checked {
    accent-color: var(--color-primary) !important;
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

input[type="radio"]:checked {
    accent-color: var(--color-primary) !important;
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

input[type="radio"]:checked+label span {
    accent-color: var(--color-primary) !important;
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

input[type="checkbox"]:checked+label span {
    accent-color: var(--color-primary) !important;
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

input[type="checkbox"]+label:hover {
    color: var(--color-primary) !important;
}

input[type="radio"]+label:hover {
    color: var(--color-primary) !important;
}


/* input, select, textarea focus 시 파란색 outline 제거 및 색상 변경 */
input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    box-shadow: none;
    border: 1px solid var(--color-primary) !important;
}

input[type="text"]:focus-visible,
input[type="password"]:focus-visible {
    outline: none;
    box-shadow: none;
    border: 1px solid var(--color-primary) !important;
}

select:focus,
select:focus-visible {
    outline: none;
    box-shadow: none;
    border: 1px solid var(--color-primary) !important;
}

textarea:focus,
textarea:focus-visible {
    outline: none !important;
    box-shadow: none;
    border: 1px solid var(--color-primary) !important;
}


/*캡챠 오버라이딩*/
#captcha {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: start;
    align-items: center;
    position: relative;    
}

#captcha .captcha_box {
    color: #000;
}

@media screen and (max-width: 768px) {
    #captcha {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    /* captcha_img는 한 줄 전체를 차지 */
    #captcha_img {
        display: block;
        width: 80% !important;
        margin: 0 auto;
        object-fit: contain;

    }

    /* captcha_key와 captcha_reload를 한 줄로 배치 */
    #captcha_key {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;
        height: 40px !important;
    }

    #captcha_reload {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;
    }
}

/* 쇼핑몰 헤더 */
#hd.shop-hd {
    background: #ffffff;
    position: relative;
    z-index: 50;
}

.shop-mega {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 300ms ease, visibility 300ms ease;
}

@media (min-width: 1024px) {
    .shop-gnb-item:hover > .shop-mega,
    .shop-gnb-item:focus-within > .shop-mega {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

@media (max-width: 1023px) {
    .shop-mega {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        transition: none;
    }

    .shop-gnb-item.is-open > .shop-mega {
        display: block;
    }
}

/* 쇼핑몰 푸터: 기본 테마 #ft 스타일 초기화 */
#ft.shop-ft {
    background: #1a2e3b;
    margin: 0;
    padding: 0;
    text-align: left;
    width: 100%;
    min-width: 0;
}

/* 주문내역 목록 (div) */
.smb_od_tbl {
    width: 100%;
    border-bottom: 1px solid #d3d3d3;
}

.smb_od_head {
    display: none;
}

.smb_od_row {
    background: #fff;
}

.smb_od_cell {
    line-height: 1.5;
    word-break: break-all;
}

.smb_od_cell--num {
    font-weight: 600;
}

.smb_od_row--empty .smb_od_cell {
    text-align: center;
    padding: 40px 15px;
    color: #666;
}

@media (min-width: 1024px) {
    .smb_od_head {
        display: grid;
        grid-template-columns: 1.4fr 1.4fr 0.6fr 1fr 1fr 1fr 0.9fr;
        align-items: center;
        padding: 16px 0;
        border-top: 2px solid #959da6;
        border-bottom: 1px solid #d3d3d3;
        color: #383838;
        font-size: 1.05em;
        font-weight: 600;
        text-align: center;
        letter-spacing: -0.04em;
    }

    .smb_od_row {
        display: grid;
        grid-template-columns: 1.4fr 1.4fr 0.6fr 1fr 1fr 1fr 0.9fr;
        align-items: center;
        border-top: 1px solid #ccd2d9;
        text-align: center;
    }

    .smb_od_row--empty {
        display: block;
    }

    .smb_od_cell {
        padding: 22px 10px;
        border-left: 1px solid #f6f6f6;
    }

    .smb_od_cell:first-child {
        border-left: 0;
    }

    .smb_od_cell--num {
        text-align: right;
    }
}

@media (max-width: 1023px) {
    .smb_od_tbl {
        border-bottom: 0;
    }

    .smb_od_head {
        display: none;
    }

    .smb_od_row {
        border: 1px solid #ececec;
        border-radius: 8px;
        margin-bottom: 12px;
        padding: 14px 16px;
    }

    .smb_od_row:last-child {
        margin-bottom: 0;
    }

    .smb_od_row--empty {
        border: 1px solid #ececec;
    }

    .smb_od_cell {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border-top: 1px dashed #f0f0f0;
        padding: 8px 0;
        text-align: right;
        line-height: 1.4;
    }

    .smb_od_cell:first-child {
        border-top: 0;
        padding-top: 0;
    }

    .smb_od_cell:last-child {
        padding-bottom: 0;
    }

    .smb_od_cell::before {
        content: attr(data-label);
        flex-shrink: 0;
        color: #8c9eb0;
        font-weight: 600;
        font-size: 0.875rem;
        text-align: left;
    }

    .smb_od_row--empty .smb_od_cell {
        display: block;
        padding: 24px 0;
        text-align: center;
    }

    .smb_od_row--empty .smb_od_cell::before {
        content: none;
    }
}

/* ========== 쇼핑몰 메인 ========== */

/* 히어로: 배너 배경 + 고정 카피 */
.main-hero__dim {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(152, 152, 152, 0.7) 100%);
}

.main-hero__banner #main_bn {
    border: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

.main-hero__banner .main_image_area,
.main-hero__banner .main_banner_owl,
.main-hero__banner .owl-stage-outer,
.main-hero__banner .owl-stage,
.main-hero__banner .owl-item,
.main-hero__banner .item,
.main-hero__banner .owl-carousel .owl-item .item {
    height: 100%;
}

.main-hero__banner .main_banner_owl {
    display: block;
}

.main-hero__banner .item > a,
.main-hero__banner .item {
    display: block;
    height: 100%;
}

.main-hero__banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-hero__banner .main_owl_pager,
.main-hero__banner .btn_wr,
.main-hero__banner .owl-nav {
    display: none !important;
}

.main-hero__nav {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

/* 핵심 서비스 배경 */
.main-services {
    background-image: url('../img/main_bg_1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-services__veil {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.77) 100%);
}

/* SHOP 카드: hover 시 SHOP NOW 간격 벌어짐 */
.main-shop-now {
    gap: 0.25rem;
    transition: gap 0.3s ease;
}

.main-shop-now__arrow {
    transition: transform 0.3s ease;
}

.main-shop-card:hover .main-shop-now {
    gap: 0.75rem;
}

.main-shop-card:hover .main-shop-now__arrow {
    transform: translateX(2px);
}

/* ESG 배경 + 오버레이 */
.main-esg {
    background-image: url('../img/main_bg_2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-esg__overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

/* 회사소개 타일 하단 그라데이션 */
.main-company-tile__overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.7) 100%);
}

