@charset "utf-8";
/* 공통 ***********************************************/

:root {
    --common-padding: 150px 20px;
    --common-margin-bt: 40px;
    --common-sec-title-h1-size: 42px;
    --common-sec-title-h1-weight: 400;
    ;
}

@media (max-width:768px) {
    :root {
        --common-padding: 150px 16px;
        --common-margin-bt: 40px;
        --common-sec-title-h1-size: 32px;
        --common-sec-title-h1-weight: 400;
        ;
    }
}

html, body {
  overflow-x: hidden;
}

.sub-container {
    padding-top: 120px;
}

.sub-container .sub-sec-title {
    text-align: center;
    margin-bottom: 60px;
}

.sub-container .sub-sec-title p {
    font-size: 20px;
}

.sub-container .sub-sec-title h1 {
    font-size: 40px;
    font-weight: 600;
    margin-top: 12px;
}

.top-grad {
    position: absolute;
    top: -200px;
    left: 0;
    width: 100vw;
    height: 300px;
    z-index: -1;
    pointer-events: none;
    filter: blur(70px);
    opacity: 0.85;
    background: linear-gradient(90deg,
        rgba(251, 194, 235, 0.6) 0%,
        #fde2b9 15%,
        #fad0c4 30%,
        #e4d6f1 45%,
        #c9e4f6 60%,
        #d2f4ea 75%     
    );
}

/* main ***********************************************/
/* ✅ 처음엔 투명하게 시작 */
.main_visual_sect {
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* ✅ 로딩 완료되면 자연스럽게 표시 */
.main_visual_sect.is-loaded {
    opacity: 1;
}

.main_visual_sect {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: white;
}

/* Swiper 컨테이너 */
.main_visual_sect .swiper {
    height: 100%;
}

/* 개별 슬라이드 */
.main_visual_sect .swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000;
    /* ✅ 회색 flash 방지 */
    transform: scale(1);
    /* ✅ scale 기본값 */
    will-change: transform;
}

/* 블랙 오버레이 */
.main_visual_sect .swiper-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* 배경 이미지 클래스 */
.main_visual_sect .swiper-slide .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 기본 jpg 배경 */
.main_visual_sect .swiper-slide .bg.bg1 {
    background-image: url('../images/main-bg01.jpg');
}

.main_visual_sect .swiper-slide .bg.bg2 {
    background-image: url('../images/main-bg02.jpg');
}


/* WebP 지원 브라우저에서는 webp 덮어쓰기 */
.webp .main_visual_sect .swiper-slide .bg.bg1 {
    background-image: url('../images/main-bg01.webp');
}

.webp .main_visual_sect .swiper-slide .bg.bg2 {
    background-image: url('../images/main-bg02.webp');
}

/* 콘텐츠 wrapper */
.main_visual_sect .inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

/* 콘텐츠 내부 요소 페이드 초기값 */
.main-visual-swiper .label,
.main-visual-swiper .headline,
.main-visual-swiper .blur-box,
.main-visual-swiper .btns {
    opacity: 0;
    visibility: hidden;
}

/* 라벨 스타일 */
.main_visual_sect .label {
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

/* 헤드라인 */
.main_visual_sect .headline {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 40px;
}

/* 블러 박스 그룹 */
.main_visual_sect .box_group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1280px;
    margin: 0 auto 80px;
}

/* ✅ 글래스모피즘 효과 */
.main_visual_sect .blur-box {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    color: white;
    text-align: center;
    isolation: isolate;
    width: 390px;

}

.main_visual_sect .blur-box strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.main_visual_sect .blur-box p {
    line-height: 1.5;
    opacity: 0.8;
}

/* CTA 버튼 그룹 */
.main_visual_sect .btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.main_visual_sect .btn {
    width: 220px;
    height: 55px;
    line-height: 55px;
    text-align: center;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
}

.main_visual_sect .btn.template {
    border: 1px solid #fff;
    color: #fff;
}

.main_visual_sect .btn.primary {
    background: white;
    color: black;
}


/* board reset *****************************************/

#bo_w,
#bo_v,
#bo_list {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--common-padding);
    position: relative;
}

.bbs-sectitle {
    text-align: center;
    margin-bottom: var(--common-margin-bt);
}

.bbs-sectitle h1 {
    font-size: var(--common-sec-title-h1-size);
    font-weight: var(--common-sec-title-h1-weight) line-height: 1;
}


/* 헤더 ***********************************************/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 60px;
    height: 70px;
    position: relative;
}

/* ▶ GNB 메뉴 */
.header .gnb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 40px;
}

.header .gnb > li {
    position: relative;
}

.header .gnb > li > a {
    padding: 20px 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 17px;
    white-space: nowrap;
}

.header .gnb .arrow {
    margin-left: 4px;
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #555;
    border-bottom: 1.5px solid #555;
    transform: translateY(-2px) rotate(45deg);
    margin-top: 2px;
}

/* ▶ 서브 메뉴 */
.header .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: none;
    flex-direction: column;
    padding: 8px 0;
}

.header .gnb li:hover .sub-menu {
    display: flex;
}

.header .sub-menu li a {
    display: block;
    padding: 10px 16px;
    margin: 0 10px;
    font-size: 14px;
    white-space: nowrap;
    color: #333;
}

.header .sub-menu li a:hover {
    background: #f9f9f9;
}

/* ▶ 우측 버튼 */
.header .gnb-right ul {
    display: flex;
    gap: 12px;
}

.header .gnb-right ul li a {
    display: inline-block;
    font-size: 14.5px;
    padding: 8px 14px;
    border-radius: 8px;
}

.header .gnb-right ul li:nth-child(2) a {
    border: 1px solid #c6c6c6;
    color: #505050;
}

.header .gnb-right ul li:nth-child(1) a {
    background: var(--primary);
    color: #fff;
    font-weight: bold;
}

/* ▶ 뱃지 */
.header .badge-new {
    position: relative;
    display: inline-block;
    background: #40a087;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 20px;
    margin-left: 2px;
    animation: pulseBadge 1.2s infinite;
}

.header .badge-new.badge2 {
    background: #ed996d;
}

/* ▶ 애니메이션 */
@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    20% {
        transform: translateY(-6px);
    }

    40% {
        transform: translateY(0);
    }

    60% {
        transform: translateY(-3px);
    }

    80% {
        transform: translateY(0);
    }
}

.header .cta-bounce {
    animation: bounceDown 1.4s ease-in-out infinite;
}

@keyframes pulseBadge {

    0%,
    100% {
        transform: translateY(-.5px) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateY(-.5px) scale(1.1);
        opacity: 0.7;
    }
}


/* main content */
.sec-title {
    margin-bottom: 80px;
    text-align: center;
}

.sec-title h2 {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 16px;
}

.sec-title p {
    font-size: 18px;
}

.sec2 {
   background: linear-gradient(to bottom, #f0f0f06b 0%, rgba(240, 240, 240, 0) 100%);
}

.sec2,
.sec1 {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.sec1 .shape {
    position: absolute;
    top: 100px;
    right: -180px;
    width: 500px;
    height: 500px;
    z-index: 1;
    background-repeat: no-repeat;
}

/* PNG fallback */
.no-webp .sec1 .shape {
    background-image: url('../images/circle-shape.png');
}

/* WebP 지원 */
.webp .sec1 .shape {
    background-image: url('../images/circle-shape.webp');
}


.sec1 .inner {
    
}

.main-template {
    padding: 80px 0;
}

.main-template .sec-title {
    margin-bottom: 40px;
}