﻿@import url("anime.css");

:root {
    --pink-light: #ffe6ea;
    --pink: #f6d3cf;
    --blue: #4da9ff;
    --blue-light: #e7f4ff;
    --mint: #c9f5df;
    --mint-light: #e9f9ef;
    --green: #4caf50;
    --green-dark: #2f9d3a;
    --yellow: #ffd45a;
    --card-radius: 14px;
    --shadow-soft: 0 4px 10px rgba(0,0,0,0.08);
}

.team_container {
    width: 1200px;
    margin: 0 auto;
}

.team_con_box {
    position: relative;
    margin-bottom:3em;
}

.team_intro_wrap {
    width: 100%;
    height: auto;
    display: inline-block;
    background: url('https://cdn.schoolgy.com/Content/images/Group/team/intro-bg_line.png') repeat-x;
}

.team_gcon_box_1090 {
    margin-top: 0;
}

.team_con_box {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.team_page {
    width: auto;
    margin: 0 auto;
    background: #fff;
}

/* 공통 */
.team_section {
    padding: 20px 16px 24px;
}

.team_title-main {
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    line-height: 1.4;
    color: #222;
}

.team_title-sub {
    margin-top: 4px;
    font-size: 12px;
    text-align: center;
    color: #666;
}

.team_badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.team_card {
    width: 32%;
}

    .team_card img {
        margin: auto;
    }


.team_chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.team_chip {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
}

.team_btn-primary,
.team_btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1em;
    padding: 6px 5em;
    font-family: 'Nanum Square';
    font-size: 1rem;
    color: #333333;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s ease;
    white-space: nowrap;
}

.team_btn-primary {
    background: var(--green-dark);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.team_btn-outline {
    background: #fff;
    color: #aaa;
    border: 1px solid #ddd;
}

    .team_btn-primary:active,
    .team_btn-outline:active {
        transform: translateY(1px);
        box-shadow: none;
    }

img {
    max-width: 100%;
    display: block;
}

/* --- 상단 히어로 영역 --- */
.team_hero {
    /*  background: var(--pink-light);
  padding: 22px 16px 18px;*/
    text-align: center;
}

.team_hero-badge {
    font-size: 11px;
    font-weight: 700;
    color: #e65a7a;
    margin-bottom: 6px;
}

.team_hero-logo {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 4px;
}

.team_hero-desc {
    font-size: 11px;
    color: #555;
}

/* --- 플로팅 탭 메뉴 --- */
.team_tab-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: var(--sub-main3-height, 0px);
    z-index: 1100; /* below sub_main3 */
    background: #f4f4f4;
}

.team_tab-nav {
    margin: 0 auto;
    display: flex;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-top: 1px solid rgba(0,0,0,0.04);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.team_tab-button {
    flex: 1;
    max-height: 220px;
    padding: 25px 0;
    font-family: Paperozi;
    font-weight: 600;
    font-size: 1.2rem;
    /*font-weight: 700;*/
    border: none;
    outline: none;
    cursor: pointer;
    background: #fff;
    color: #aaa;
    transition: background 0.2s ease, color 0.2s ease;
}

    .team_tab-button:first-child {
        border-right: 1px solid rgba(0,0,0,0.06);
    }

    .team_tab-button.active:nth-child(1) {
        background: #79d89c;
        color: #000;
    }

    .team_tab-button.active:nth-child(2) {
        background: #79d89c;
        color: #000;
    }

/* --- 체험학습 인트로 --- */
.team_intro-section {
    /*background: var(--mint);*/
    text-align: center;
    padding-top: 0px;
    padding-bottom: 24px;
}

.team_intro-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

.team_intro-desc {
    font-size: 11px;
    color: #555;
    margin-bottom: 16px;
}

.team_intro-illust {
    margin: 0 auto 18px;
    width: 100%;
}

.team_intro-buttons {
    width: 100%;
    display: inline-flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    margin: 0 auto;
    justify-content: center;
}

.team_intro-pill {
    width: 32%;
    padding: 20px 12px;
    margin: 0 auto;
    border-radius: 999px;
    background-color: #fedb73;
    font-family: 'Paperlogy 7';
    color: #000;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

/* --- 파도형 구분선 --- */
.team_wave {
    height: 30px;
    background-color: var(--blue);
    /*background: url("https://cdn.schoolgy.com/Content/images/Group/team/wave-blue.png") repeat-x center/auto 60px;*/
}

.team_wave-pink {
    height: 30px;
    background-color: #f6d3cf;
    /* background: url("https://cdn.schoolgy.com/Content/images/Group/team/wave-pink.png") repeat-x center/auto 60px;*/
}

.team_wave-green {
    background-color: #8bcc4e;
    /* background: url("https://cdn.schoolgy.com/Content/images/Group/team/wave-green.png") repeat-x center/auto 60px;*/
}

/* --- 또래체험 특징 섹션 전체 --- */
#feature-section {
    background: #f4f4f4;
}

.team_feature-bg-blue {
    background-color: var(--blue);
    padding-top: 18px;
    padding-bottom: 5em;
}

.team_section-title-white {
    font-family: YeogiOttaeJalnan;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
}

.team_feature-card {
    margin: 0 16px 12px;
}

    .team_feature-card .team_card-title {
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 4px;
        color: #333;
    }

    .team_feature-card .team_card-sub {
        font-size: 11px;
        margin-bottom: 10px;
        color: #777;
    }

.team_feature-card-content {
    display: flex;
    gap: 10px;
    align-items: center;
}

.team_feature-text {
    font-size: 11px;
    line-height: 1.6;
    color: #555;
}

.team_feature-thumb {
    flex: 0 0 72px;
    border-radius: 10px;
    overflow: hidden;
}

/* --- point1 / point2 아코디언 --- */
.team_feature-bg-pink {
    background: #f6d3cf;
    padding-top: 18px;
    padding-bottom: 5em;
}

.team_section-title-red {
    font-family: YeogiOttaeJalnan;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    color: #cb4455;
    margin-bottom: 30px;
}

.team_point-card {
    font-family: Paperozi;
    font-weight: 700;
    margin:10px;
    border-radius: var(--card-radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.team_point-header {
    width: 100%;
    text-align: center;
    background: #fff;
    padding: 30px 14px 0px 0;
    border: none;
}

.team_point-label {
    display: block;
    width: 30%;
    font-size: 1rem;
    text-align: center;
    color: #fff;
    border-radius: 999px;
    padding: 4px 8px;
    /* margin-right: 8px; */
    background: #cb4455;
    margin: 0 auto;
}

.team_point-title {
    flex: 1;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-top:18px;
}

/*.team_point-header::after {
    content: "▼";
    font-size: 1rem;
    color: #cb4455;
    margin-left: 10px;
    transform: scaleY(0.7);
    transition: transform 0.2s ease;
}*/

/*.team_point-card.expanded .team_point-header::after {
    content: "▲";
    font-size: 1rem;
    color: #cb4455;
    margin-left: 10px;
    transform: scaleY(0.7);
    transition: transform 0.2s ease;
}*/

.team_point-content-wrapper {
    /*max-height: 0;*/
    overflow: hidden;
    transition: max-height 0.25s ease;
    background: #fff;
}

.team_point-card.expanded .team_point-content-wrapper {
    max-height: 800px;
}

.team_point-text {
    font-size: 11px;
    color: #555;
    line-height: 1.6;
    margin-top: 8px;
}

.team_point-illust {
    border-radius: 10px;
    overflow: hidden;
}

/* --- 또래체험 시작하기 섹션 --- */
#start-section {
    background: #ddeccd;
    padding-bottom: 5em;
}

.team_start-header {
    height: 120px;
    background: url("https://cdn.schoolgy.com/Content/images/Group/team/wave-green_bg.png") repeat-x center/auto 120px;
    padding-top: 0;
    padding-bottom: 0;
}

.team_start-title {
    height: 120px;
    width: 100%;
    font-family: YeogiOttaeJalnan;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    background: url("https://cdn.schoolgy.com/Content/images/Group/team/wave-green_tbg.png") repeat-y center /auto 120px;
}

.team_start-desc-card {
    margin: 10px 80px 50px;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #fff;
    padding: 1.5em 10%;
}

.team_start-desc-header {
    position: relative;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 30px;
}

.team_start-desc-title {
    font-family: YeogiOttaeJalnan;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.team_start-desc-badge {
    font-family: 'Paperozi';
    font-size: 1rem;
    /* font-weight: 500; */
    color: #013413;
    border-radius: 4px;
    padding: 4px 8px;
    background: #79d99c;
    margin-left: 8px;
    width: fit-content;
    margin-top: 0.5em;
}

.team_start-desc-text {
    width: 100%;
    float: left;
    font-family: 'Nanum Square';
    font-size: 1.2rem;
    color: #000;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 1em;
}

.team_start-con-text {
    width: 100%;
    float: left;
    font-family: 'Nanum Square';
    font-size: 1.2rem;
    color: #000;
    line-height: 1.6;
    margin-bottom: 1em;
}

.team_icon_box {
    width: 10%;
    color: #96d07c;
    float: left;
    font-size: 1.2rem;
    text-align: right;
    padding-right: 8px;
}

.team_icon_text {
    width: 90%;
    float: left;
    font-size: 1.2rem;
    margin-bottom: 1.5em;
}

    .team_icon_text p {
        font-size: 1.2rem;
        font-weight: 700;
    }

.team_start-desc-text-sub {
    font-family: ''Nanum Square'';
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1em;
    /*    letter-spacing:-1px;*/
}


/* --- 프로그램 탭 & 카드 --- */
.team_program-section {
    margin: 0 auto;
}

.team_program-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.team_program-title {
    font-size: 13px;
    font-weight: 800;
    color: #333;
    display: flex;
    align-items: center;
    gap: 4px;
}

.team_program-sub {
    position: absolute;
    right: 8em;
    top: 1.5em;
    font-family: 'Nanum Square';
    font-weight: 500;
    font-size: 1rem;
    color: #000;
}

.team_program-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 25px;
    justify-content: center;
}

.team_program-tab {
    border-radius: 1.2em;
    border: none;
    padding: 0.5em 1.5em;
    font-family: 'Nanum Square';
    font-size: 1.5rem;
    letter-spacing: -1px;
    background: #fff;
    color: #979797;
    box-shadow: 0 2px 5px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.team_program_wrap {
    /* position:relative;*/
}

.team_program-tab.active {
    background: #3bc100;
    color: #fff;
    font-weight: 700;
    transform: translateY(-1px);
}

.team_program-card {
    position:relative;
    display: none;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #fff;
}

    .team_program-card.active {
        display: block;
        position: relative;
    }

.team_program-image {
}

.team_program-tag {
    position: absolute;
    width: 65px;
    height: 75px;
    right: 1em;
    top: -7px;
    text-align: center;
    padding-top: 10px;
    padding-right: 5px;
    background: url("https://cdn.schoolgy.com/Content/images/Group/team/n_gathering_ptag.png") no-repeat center/cover;
}

.team_program-tag-title {
    display: block;
    font-family: Paperozi;
    font-size: 1rem;
    font-weight:700;
    line-height: 20px;
    color: #fff;
    margin-top: 8px;
}

.team_program-body {
    padding: 14px 14px 12px;
}

.team_program-badge {
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #2f9d3a;
}

.team_program-main-title {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #333;
}

.team_program-main-sub {
    font-size: 11px;
    color: #777;
    margin-bottom: 10px;
}

.team_program-meta {
    width: 100%;
    display: inline-block;
    font-family: 'Malgun Gothic';
    font-weight: 500;
    font-size: 1em;
    color: #6f6f6f;
    line-height: 1.5;
    margin-bottom: 10px;
    /*letter-spacing: -1px;*/
}

    .team_program-meta ul {
        width: 100%;
    }

    .team_program-meta li {
        float: left;
        width: 50%;
        padding: 10px 0px 0 35px;
        ;
        text-align: left;
    }



.team_program-meta-row {
    display: flex;
    justify-content: space-between;
}

.team_program-footer {
    display: flex;
    justify-content: center;
    padding-top: 6px;
    margin: 1em;
}

/* --- 수업 프로세스 --- */
.stepgreen {
    background-color: #96e4b4;
}

.stepyellow {
    background-color: #f9d879;
}

.team_process-section {
    margin: 0 16px 18px;
}

.team_process-steps {
    width: 100%;
    /*    padding: 1em;*/
    display: inline-block;
    font-family: 'Nanum Square';
    margin-bottom: 15px;
}

    .team_process-steps ul {
        position: relative;
        display: inline-block;
        height: auto;
    }

    .team_process-steps li {
        float: left;
    }

.team_porcess-arroww {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

.team_process-step {
    width: 80px;
    height: 90px;
    text-align: center;
    padding: 4px;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1.4;
    margin-right: 8px;
}

.team_process-step-title {
    font-weight: 700;
    margin-bottom: 4px;
}

/* --- 또래티 회원 혜택 / 신청 안내 --- */
.team_benefit-section,
.team_guide-section {
    margin: 0 16px 18px;
}

.team_list-dot {
    font-size: 11px;
    color: #555;
    line-height: 1.6;
    list-style: none;
    padding-left: 0;
}

    .team_list-dot li::before {
        content: "•";
        margin-right: 4px;
        color: #39b44a;
    }

.team_guide-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.team_guide-item {
    text-align: center;
    font-size: 11px;
}

.team_guide-icon-circle {
    width: 64px;
    height: 64px;
    margin: 0 auto 6px;
    border-radius: 50%;
    background: #c6f0ac;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

    .team_guide-icon-circle.alt {
        background: #ffe49a;
    }

.team_guide-item-title {
    font-weight: 700;
    margin-bottom: 2px;
}

.team_guide-item-text {
    font-size: 10px;
    color: #777;
}

/* --- 프로그램 전체보기 버튼 --- */
.team_program-more-wrap {
    text-align: center;
    padding: 12px 0 36px;
}

.team_btn-program-more {
    font-family: YeogiOttaeJalnan;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8em 4em;
    border-radius: 8px;
    border: none;
    background: #6a6a6a;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

    .team_btn-program-more:hover {
        color: #fff36b;
    }
    .team_btn-program-more:active {
        transform: translateY(1px);
        color: #fff;
        box-shadow: none;
    }


/* 기본 상태: sticky 제거, JS로 제어 */
.sub_main3 {
    padding: 15px 0;
    z-index: 1200;
}

    .sub_main3 ul {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1px;
        padding: 0 5px;
        margin: 0;
        list-style: none;
        width: 100%;
    }

    .sub_main3 li {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px 12px;
        height: 31px;
    }

        .sub_main3 li a {
            display: block;
            text-decoration: none;
        }


/*플로팅-전화예약*/
.team_floating-call-btn {
    position: fixed;
    right: 10px;
    bottom: 200px;
    z-index: 9999;
    display: inline-block;
}

    .team_floating-call-btn img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        box-shadow: 0 4px 10px rgba(0,0,0,0.25);
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .team_floating-call-btn:hover img {
        transform: scale(1.08);
        box-shadow: 0 6px 14px rgba(0,0,0,0.35);
    }

@media (max-width: 480px) {
    .team_floating-call-btn img {
        width: 100px;
        height: 100px;
    }

    .team_floating-call-btn {
        right: 15px;
        bottom: 15px;
    }
}


/*프로그램가격표*/
/* 교육비 카드 2개를 가로로 정렬 */
.team_course-wrapper {
    clear: both; /* 위에 아이콘 영역 float 정리 */
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom:1em;
}

.team_course-card {
    width: 50%;
    display: inline-block;
    /*border: 1px solid #f5c3a9;*/
    border-radius: 1.5em;
    background-color: #ffe2c9;
    font-family: "Nanum Square";
    box-sizing: border-box;
}

.team_course-card__header {
    /*    background-color: #ffe2c9;*/
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 12px 12px;
}

.team_course-card__body {
    background-color: #ffffff;
    margin: 0 8px 8px;
    padding: 24px 32px 20px;
    /*border: 1px solid #f5c3a9;*/
    border-radius: 1.5em;
    box-sizing: border-box;
}

.team_course-card__subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #5c5452;
}

.team_course-row {
    display: grid;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.team_badge {
    min-width: 105px;
    width: 105px;
    margin: 0 auto;
    text-align: center;
    padding: 4px 12px;
    border-radius: 999px;
    background-color: #d5ab86;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.team_badge2 {
    min-width: 105px;
    width: 105px;
    margin: 0 auto;
    text-align: center;
    padding: 4px 12px;
    border-radius: 999px;
    background-color: #5bb96e;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.team_price-text {
    font-size: 1rem;
    color: #6e6272;
    text-align: center;
    margin-bottom: 0.2rem;
}

.team_course-card__notice {
    margin-top: 18px;
    font-size: 1rem;
    color: #ff5c5c;
}

.team_text_box{
    margin-left:3em;
}
