﻿.background-section {
    background: #f8f8f8;
    padding: 80px 0;
    margin-top: 0px;
    padding-bottom: 20px;
}


/*카테고리배너*/
.cate-banner {
    width: 100%;
    height: 300px;
    /*height: 120vh;*/ /* 스크롤 테스트용 */
    background: linear-gradient(135deg, #C9D1FF, #E1E6FF);
    display: flex;
    justify-content: center;
    align-items: center;

}

.cate-banner-inner {
    width: 1920px;
    height: 300px;
    margin: 0 auto;
    position: relative;
    /* overflow: hidden; */
    position: relative; /* 글씨를 배너 위에 올리려면 필수! */
}

    .cate-banner-inner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.banner-text {
    position: absolute;
    top: 45%; /* 세로 중앙 */
    left: 50%; /* 가로 중앙 */
    transform: translate(-50%, -50%); /* 딱 중앙정렬 */
    color: #000; /* 글자색 */
    font-size: 40px; /* 글씨 크기 */
    font-weight: 700;
    text-align: center;
    z-index: 2;
}

    .banner-text h2 {
        font-size: 40px;
        font-weight: 600;
        margin-bottom: 10px; /* 제목과 부제목 간격 */
    }

    .banner-text p {
        font-size: 20px;
        font-weight: 400;
    }



/* 배너 밑 탭 메뉴바 */
.tab-menu {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

/* 바깥 박스 */
.tab-menu ul {
    width: 100%;
    max-width: 1200px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;              
    background: var(--bar-bg);
    border: 1px solid var(--bar-border);
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* 탭 아이템 */
.tab-menu li {
    flex: 1;
    position: relative;
    padding: 0;             
    text-align: center;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    
}

/* 링크 */
.tab-menu li a {
    display: block;
    width: 100%;       
    height: 100%;
    text-decoration: none;
    color: var(--text-color);
    padding: 20px 28px;
}

/* 세로 구분선 (menu랑 동일한 방식) */
.tab-menu li + li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--sep-color);
    pointer-events: none;
}

/* hover */
.tab-menu li:hover {
    font-weight: 500;
}



.tab-menu li.active a {
    background: #1a1a1a;
    color: #fff;
    font-weight: 600;
}



/* 왼쪽 끝 */
.tab-menu li:first-child.active a {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

/* 오른쪽 끝 */
.tab-menu li:last-child.active a {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}






/*프로그램 내용*/
/* 전체 영역 */
.product-box-color {
    background: #f8f8f8;
    padding-bottom: 10px;
}

.product-box {
    width: 100%;
    padding: 70px 0;
}




.product-inner {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 텍스트 영역 */
.product-text {
    max-width: 900px;
}

    .product-text .title {
        font-size: 38px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 18px;
    }

        .product-text .title span {
            font-size: 28px;
            font-weight: 500;
            color: #1a1a1a;
        }

    .product-text .subtitle {
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 40px;
        color: #1a1a1a;
    }

    .product-text .desc {
        font-size: 20px;
        color: #1a1a1a;
        line-height: 1.8;
        margin-bottom: 40px;
    }


/* 버튼 */
.cate-btn-wrap {
    display: flex;
    gap: 20px;
}

.cate-btn {
    display: inline-block;
    padding: 12px 60px;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

    .cate-btn.join {
        background: #5873fe;
        color: #fff;
    }

    .cate-btn.down {
        background: #1a1a1a;
        color: #fff;
    }

    .cate-btn.join:hover {
    background: #485fcf;
    }

    .cate-btn.down:hover {
    opacity: .8;
    }


/* 오른쪽 박스이미지 */
.product-img img {
    width: 200px;
    /*filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));*/
}



/*주요기능*/
/* 전체 래퍼 */
.feature-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0px;
}

/* 제목 */
.feature-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 40px;
}

/* 4×2 그리드 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* 박스 스타일 */
.feature-box {
    border: 1px solid #b3b3b3;
    border-radius: 8px;
    background: #f8f8f8;
    padding: 24px;
    min-height: 150px;
    box-sizing: border-box;
}

    /* 박스 제목 */
    .feature-box h3 {
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }


    /* 박스 내용 */
    .feature-box p {
        margin-top: auto; /* 아래 정렬 */
        font-size: 15px;
        line-height: 1.5;
        color: #474747;
    }

/* 아이콘 이미지 스타일 */
.icon {
    width: 40px;
    height: 40px;
    display: inline-block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%; /* 완전 동그라미 */
    flex-shrink: 0; /* 제목 길어져도 아이콘 찌그러지지 않게 */
    margin-left: 8px; /* 글자랑 조금 띄움 */
    padding: 0px
}



/*이용요금*/

/* 전체 래퍼 */
.price-wrap { 
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
  position: relative;

}

/* 제목 */
.price-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 40px;
}

/* 상단 테이블 */
.price-table {
  width: 100%;  
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #edf0ff;
  padding: 18px 0;
  font-size: 22px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 22px;
}

.price-table .col {
  border-right: 1px solid #dce2f9;
}

.price-table .col:last-child {
  border-right: none;
}

/* 금액 표시 */
.price-value-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 22px;
  font-weight: 600;
  background: #ffffff;
  padding: 0;           /* ← 여백 제거 */
  margin-bottom:0px;
}

.value-left {
  font-size: 20px;
  color: #5873fe;
  font-weight: 600;

}

.value-left span {
  font-size: 30px;
  font-weight: 800;
}

.value-right {
  color: #bdbdbd;

}

.value-right span {
  font-size: 30px;
  font-weight: 800;
  color: #bdbdbd;
}

/* 구분선 */
.price-line {
  width: 100%;
  height: 1px;
  background: #e0e0e0;
  margin: 20px 0 24px;
}

/* 안내 문구 */
.price-info {
  text-align: right;
  font-size: 18px;
  color: #666;
  line-height: 1.3;
  margin-bottom: 50px;
}



/* 1200배너: 메인 배너 */
.main-banner-cate {
    width: 100%;
    max-width: 1200px;
    height: 330px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto; 
    position: relative;
    margin-top: -5px;
    margin-bottom: 60px;
}

.banner-inner-cate {
    width: 100%;
    height: 330px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    border-radius: 8px;
}


.banner-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}