/* ==============================================
   jjtheme — html/css/sub.css
   서브페이지 공통 스타일 (모바일 반응형 + 애니메이션 강화)
   ============================================== */

/* ── 서브페이지 공통 래퍼 (모바일 패딩 최적화) ── */
.sub_wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 20px 60px;
    width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .sub_wrap {
        padding: 0 16px 48px;
    }
}

/* ── 섹션 공통 헤더 ── */
.sec_head {
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
@media (max-width: 768px) {
    .sec_head {
        margin-bottom: 32px;
    }
}
.sec_label {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--brand);
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .5s ease, transform .5s ease, letter-spacing .6s ease;
}
.sec_label.is-visible {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 3px;
}
.sec_title {
    font-size: clamp(22px, 5vw, 26px);
    font-weight: 700;
    color: var(--txt);
    line-height: 1.4;
    margin-bottom: 14px;
    word-break: keep-all;
}
.sec_desc {
    font-size: clamp(13px, 3.5vw, 15px);
    color: var(--txt-s);
    line-height: 1.7;
    word-break: keep-all;
}

/* ── 구분선 강조 ── */
.sec_divider {
    width: 0;
    height: 3px;
    background: var(--brand);
    margin: 16px auto 0;
    border-radius: 2px;
    transition: width .6s cubic-bezier(.4,0,.2,1);
}
.sec_divider.is-visible {
    width: 48px;
}

/* ── btn_more 버튼 ── */
.btn_more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .2s ease, transform .2s ease;
}
.btn_more::after {
    content: '→';
    display: inline-block;
    transition: transform .22s ease;
}
.btn_more:hover,
.btn_more:active {
    transform: scale(1.02);
    gap: 10px;
}
.btn_more:hover::after,
.btn_more:active::after {
    transform: translateX(4px);
}


/* ==============================================
   ★ 강화된 애니메이션 @keyframes
   ============================================== */

/* ① 부유 — 기본 */
@keyframes jj-float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
/* ① 부유 — 소프트 */
@keyframes jj-float-soft {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
/* ① 등장 페이드인업 */
@keyframes jj-fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* ④ 흔들림 */
@keyframes jj-swing {
    0%,100% { transform: rotate(0deg); }
    25%      { transform: rotate(3deg); }
    75%      { transform: rotate(-3deg); }
}
/* ④ 탄성 튕김 */
@keyframes jj-bounce {
    0%,100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}
/* ④ 위로 솟구침 */
@keyframes jj-rise {
    from { transform: translateY(0); }
    to   { transform: translateY(-12px); }
}
/* ④ 기울임 */
@keyframes jj-tilt {
    0%,100% { transform: skewX(0deg); }
    50%      { transform: skewX(3deg); }
}
/* ④ 팝업 (펑) */
@keyframes jj-pop {
    0% { opacity: 0; transform: scale(0.6); }
    60% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}
/* ④ 슬라이드 인 (왼쪽) */
@keyframes jj-slideLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}
/* ④ 슬라이드 인 (오른쪽) */
@keyframes jj-slideRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}
/* ④ 확대/축소 */
@keyframes jj-pulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
/* ④ 회전 */
@keyframes jj-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
/* ⑤ 컨페티 조각 */
@keyframes jj-confetti {
    0%   { opacity: 0; transform: scale(0) rotate(0deg); }
    20%  { opacity: 1; transform: scale(1) rotate(90deg); }
    80%  { opacity: .5; transform: translate(12px,-24px) rotate(180deg); }
    100% { opacity: 0; transform: translate(-8px,-48px) rotate(270deg); }
}
/* ⑤ 파티클 버스트 */
@keyframes jj-burst {
    0%   { opacity: 0; transform: scale(0); }
    30%  { opacity: 0.8; transform: scale(1.2); }
    70%  { opacity: 0.4; transform: scale(1.5); }
    100% { opacity: 0; transform: scale(2); }
}
/* 타임라인 라인 슬라이드인 */
@keyframes jj-line-grow {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}
/* 슬라이더 텍스트 등장 */
@keyframes jj-slide-text {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* 카드 3D 플립 */
@keyframes jj-flip {
    0%   { opacity: 0; transform: perspective(400px) rotateY(90deg); }
    100% { opacity: 1; transform: perspective(400px) rotateY(0deg); }
}
/* 바운스 인 */
@keyframes jj-bounceIn {
    0%   { opacity: 0; transform: scale(0.3); }
    50%  { opacity: 1; transform: scale(1.05); }
    70%  { transform: scale(0.95); }
    100% { transform: scale(1); }
}
/* 깜빡임 */
@keyframes jj-ripple {
    0%   { box-shadow: 0 0 0 0 rgba(44,95,138,0.4); }
    70%  { box-shadow: 0 0 0 12px rgba(44,95,138,0); }
    100% { box-shadow: 0 0 0 0 rgba(44,95,138,0); }
}


/* ==============================================
   ③ 스크롤 리빌 — .reveal (딜레이 다양화)
   ============================================== */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1),
                transform 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* stagger 딜레이 */
.reveal-d1  { transition-delay: 0.05s; }
.reveal-d2  { transition-delay: 0.10s; }
.reveal-d3  { transition-delay: 0.15s; }
.reveal-d4  { transition-delay: 0.20s; }
.reveal-d5  { transition-delay: 0.25s; }
.reveal-d6  { transition-delay: 0.30s; }
.reveal-d7  { transition-delay: 0.35s; }
.reveal-d8  { transition-delay: 0.40s; }

/* ① 부유 클래스 (모바일에서는 애니메이션 속도 조절) */
.motion-float {
    animation: jj-float-soft 3s ease-in-out infinite;
}
.motion-float-alt {
    animation: jj-rise 2.8s ease-out infinite alternate;
}
/* ④ 카드 애니메이션 클래스 */
.motion-swing  { animation: jj-swing  3.5s ease-in-out infinite; }
.motion-bounce { animation: jj-bounce 2s ease-in-out infinite; }
.motion-tilt   { animation: jj-tilt   4s ease-in-out infinite; }
.motion-pulse  { animation: jj-pulse  2.2s ease-in-out infinite; }
.motion-spin   { animation: jj-spin   8s linear infinite; }
.motion-flip   { animation: jj-flip   0.6s ease-out forwards; }

/* hover/active 시 애니메이션 일시정지 + 살짝 확대 */
@media (hover: hover) {
    .motion-float:hover,
    .motion-float-alt:hover,
    .motion-swing:hover,
    .motion-bounce:hover,
    .motion-tilt:hover,
    .motion-pulse:hover {
        animation-play-state: paused;
        transform: scale(1.03);
        transition: transform 0.2s ease;
    }
}
/* 모바일 터치 피드백 */
@media (hover: none) {
    .motion-float:active,
    .motion-float-alt:active,
    .motion-swing:active,
    .motion-bounce:active,
    .motion-tilt:active,
    .motion-pulse:active {
        animation-play-state: paused;
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}


/* ==============================================
   ⑤ 컨페티 컨테이너
   ============================================== */
.jj-confetti-wrap {
    position: relative;
    overflow: visible;
}
.jj-confetti-piece {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    opacity: 0;
    pointer-events: none;
    animation: jj-confetti 4s infinite;
}

/* ==============================================
   ② 숫자 카운터
   ============================================== */
.jj-counter {
    display: inline-block;
    font-weight: 700;
}

/* ==============================================
   타임라인 라인 애니메이션
   ============================================== */
.history_wrap::before {
    transform-origin: top center;
    animation: jj-line-grow .9s cubic-bezier(.4,0,.2,1) forwards;
    animation-play-state: paused;
}
.history_wrap.line-visible::before {
    animation-play-state: running;
}

/* ==============================================
   슬라이더 텍스트 순차 등장
   ============================================== */
.slide_label { animation: jj-slide-text .5s .1s ease both; }
.slide_title  { animation: jj-slide-text .5s .25s ease both; }
.slide_sub    { animation: jj-slide-text .5s .4s ease both; }
.slide_btn    { animation: jj-slide-text .5s .55s ease both; }
.swiper-slide .slide_label,
.swiper-slide .slide_title,
.swiper-slide .slide_sub,
.swiper-slide .slide_btn {
    animation-fill-mode: both;
}

/* ==============================================
   FAQ 아코디언 (모바일 터치 최적화)
   ============================================== */
.faq_item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}
.faq_item:active {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.faq_q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    user-select: none;
    transition: background 0.18s;
    min-height: 54px;
}
@media (max-width: 768px) {
    .faq_q {
        padding: 14px 16px;
        font-size: 14px;
    }
}
.faq_q:active {
    background: #eef3f8;
}
.faq_q .faq_icon {
    font-size: 14px;
    color: var(--brand);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}
.faq_item.is-open .faq_q {
    background: #eef3f8;
}
.faq_item.is-open .faq_icon {
    transform: rotate(180deg);
}
.faq_a {
    display: none;
    padding: 16px 20px;
    font-size: 14px;
    color: var(--txt-s);
    line-height: 1.85;
    background: #fff;
    animation: jj-slideLeft 0.3s ease;
}
@media (max-width: 768px) {
    .faq_a {
        padding: 14px 16px;
        font-size: 13px;
    }
}
.faq_item.is-open .faq_a {
    display: block;
}


/* ==============================================
   서브 비주얼 헤더 패럴랙스
   ============================================== */
.sub_visual {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 768px) {
    .sub_visual {
        height: 160px;
    }
}
.sub_visual_bg {
    position: absolute;
    inset: -30px;
    background-size: cover;
    background-position: center;
    will-change: transform;
}
.sub_visual_txt {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    animation: jj-pop 0.6s ease-out;
}
.sub_visual_txt h1 {
    font-size: clamp(20px, 6vw, 28px);
    font-weight: 700;
}


/* ==============================================
   회사소개 01 인사말 (모바일 반응형)
   ============================================== */
.greeting_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}
@media (max-width: 768px) {
    .greeting_wrap {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 40px;
    }
}
.greeting_img {
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.greeting_img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.greeting_img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.greeting_img:hover img {
    transform: scale(1.05);
}
.greeting_txt .g_label {
    font-size: 13px;
    color: var(--brand);
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.greeting_txt h3 {
    font-size: clamp(18px, 4.5vw, 22px);
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
}
.greeting_txt p {
    font-size: clamp(13px, 3.5vw, 15px);
    color: var(--txt-s);
    line-height: 1.9;
}
.greeting_sign {
    margin-top: 28px;
    text-align: right;
}
.greeting_sign strong {
    font-size: 18px;
    font-weight: 700;
}
.greeting_sign span {
    font-size: 14px;
    color: var(--txt-s);
    margin-left: 8px;
}
.greeting_quote {
    background: var(--brand);
    color: var(--white);
    border-radius: var(--radius);
    padding: 36px 40px;
    text-align: center;
    margin-top: 40px;
    position: relative;
    overflow: visible;
    transition: transform 0.3s ease;
}
@media (max-width: 768px) {
    .greeting_quote {
        padding: 24px 20px;
        margin-top: 32px;
    }
}
.greeting_quote:hover {
    transform: scale(1.01);
}
.greeting_quote p {
    font-size: clamp(15px, 4vw, 18px);
    font-weight: 500;
    line-height: 1.7;
    opacity: .95;
}
.greeting_quote cite {
    display: block;
    margin-top: 16px;
    font-size: 13px;
    opacity: .75;
    font-style: normal;
}


/* ==============================================
   회사소개 02 연혁 (모바일 반응형)
   ============================================== */
.history_wrap {
    position: relative;
}
@media (max-width: 768px) {
    .history_wrap::before {
        left: 70px;
    }
}
@media (max-width: 480px) {
    .history_wrap::before {
        left: 55px;
    }
}
.history_item {
    display: flex;
    gap: 0;
    margin-bottom: 48px;
    position: relative;
    transition: transform 0.2s ease;
}
@media (max-width: 768px) {
    .history_item {
        margin-bottom: 36px;
        flex-wrap: wrap;
    }
}
.history_item:hover {
    transform: translateX(4px);
}
.history_year {
    width: 110px;
    flex-shrink: 0;
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 700;
    color: var(--brand);
    padding-top: 2px;
}
@media (max-width: 768px) {
    .history_year {
        width: 70px;
        font-size: 18px;
    }
}
@media (max-width: 480px) {
    .history_year {
        width: 55px;
        font-size: 16px;
    }
}
.history_content {
    padding-left: 40px;
    flex: 1;
}
@media (max-width: 768px) {
    .history_content {
        padding-left: 28px;
    }
}
@media (max-width: 480px) {
    .history_content {
        padding-left: 20px;
    }
}
.history_content::before {
    content: '';
    position: absolute;
    left: 106px;
    top: 10px;
    width: 10px;
    height: 10px;
    background: var(--brand);
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--brand);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (max-width: 768px) {
    .history_content::before {
        left: 66px;
    }
}
@media (max-width: 480px) {
    .history_content::before {
        left: 51px;
        width: 8px;
        height: 8px;
    }
}
.history_item:hover .history_content::before {
    transform: scale(1.2);
    box-shadow: 0 0 0 4px var(--brand);
}
.history_content dl {
    margin-bottom: 12px;
}
.history_content dt {
    font-size: 14px;
    font-weight: 700;
    color: var(--txt);
    margin-bottom: 4px;
}
.history_content dd {
    font-size: clamp(13px, 3.5vw, 14px);
    color: var(--txt-s);
    line-height: 1.7;
}
.history_imgs {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.history_imgs img {
    width: 160px;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (max-width: 768px) {
    .history_imgs img {
        width: 120px;
        height: 80px;
    }
}
.history_imgs img:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


/* ==============================================
   회사소개 03 비전 (모바일 반응형)
   ============================================== */
.vision_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}
@media (max-width: 1024px) {
    .vision_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .vision_grid {
        gap: 16px;
        margin-bottom: 40px;
    }
}
@media (max-width: 480px) {
    .vision_grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
.vision_item {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    border-top: 3px solid var(--brand);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
@media (max-width: 768px) {
    .vision_item {
        padding: 24px 16px;
    }
}
.vision_item:hover,
.vision_item:active {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-6px);
}
.vision_item .v_icon {
    font-size: 36px;
    color: var(--brand);
    margin-bottom: 16px;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}
.vision_item:hover .v_icon,
.vision_item:active .v_icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--accent);
}
.vision_item h4 {
    font-size: clamp(15px, 4vw, 16px);
    font-weight: 700;
    margin-bottom: 10px;
}
.vision_item p {
    font-size: clamp(12px, 3.5vw, 13px);
    color: var(--txt-s);
    line-height: 1.7;
}


/* ==============================================
   오시는 길 / value_item
   ============================================== */
.values_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 768px) {
    .values_list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
.value_item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
@media (max-width: 768px) {
    .value_item {
        padding: 18px;
        gap: 16px;
    }
}
.value_item:hover,
.value_item:active {
    border-color: var(--brand);
    box-shadow: 0 4px 16px rgba(44,95,138,0.1);
    transform: translateX(4px);
}
.value_icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--brand);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.3s ease, background 0.3s ease;
}
@media (max-width: 768px) {
    .value_icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
.value_item:hover .value_icon,
.value_item:active .value_icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent);
}
.value_txt h4 {
    font-size: clamp(15px, 4vw, 16px);
    font-weight: 700;
    margin-bottom: 8px;
}
.value_txt p {
    font-size: clamp(12px, 3.5vw, 13px);
    color: var(--txt-s);
    line-height: 1.7;
}


/* ==============================================
   오시는 길 (모바일 반응형)
   ============================================== */
.location_wrap {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}
@media (max-width: 768px) {
    .location_wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
.location_info h3 {
    font-size: clamp(18px, 4.5vw, 20px);
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--brand);
    padding-bottom: 12px;
}
.location_info dl {
    margin-bottom: 16px;
    transition: transform 0.2s ease;
}
.location_info dl:hover,
.location_info dl:active {
    transform: translateX(4px);
}
.location_info dt {
    font-size: 13px;
    color: var(--brand);
    font-weight: 700;
    margin-bottom: 4px;
    transition: transform 0.2s ease;
}
.location_info dd {
    font-size: clamp(13px, 3.5vw, 14px);
    color: var(--txt-s);
    line-height: 1.7;
}
.location_map {
    border-radius: var(--radius);
    overflow: hidden;
}
.location_map #kakao-map {
    width: 100%;
    height: clamp(250px, 40vw, 300px);
}
@media (max-width: 768px) {
    .location_map #kakao-map {
        height: 220px;
    }
}


/* ==============================================
   사업안내 공통 (모바일 반응형)
   ============================================== */
.biz_hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}
@media (max-width: 768px) {
    .biz_hero {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 40px;
    }
}
.biz_hero.reverse {
    direction: rtl;
}
.biz_hero.reverse > * {
    direction: ltr;
}
@media (max-width: 768px) {
    .biz_hero.reverse {
        direction: ltr;
    }
}
.biz_hero_img {
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.biz_hero_img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.biz_hero_img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.biz_hero_img:hover img {
    transform: scale(1.05);
}
.biz_hero_txt .b_label {
    font-size: 12px;
    color: var(--brand);
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: inline-block;
}
.biz_hero_txt h3 {
    font-size: clamp(20px, 5vw, 24px);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
}
.biz_hero_txt p {
    font-size: clamp(13px, 3.5vw, 15px);
    color: var(--txt-s);
    line-height: 1.8;
    margin-bottom: 20px;
}
.biz_hero_txt .tag_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.biz_hero_txt .tag_list span {
    padding: 5px 14px;
    background: var(--brand-light);
    color: var(--brand);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease;
}
.biz_hero_txt .tag_list span.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.biz_hero_txt .tag_list span:hover,
.biz_hero_txt .tag_list span:active {
    background: var(--brand);
    color: #fff;
    transform: scale(1.05);
}

/* 서비스 카드 */
.biz_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
@media (max-width: 1024px) {
    .biz_cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .biz_cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
}
.biz_card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.biz_card:hover,
.biz_card:active {
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    transform: translateY(-6px);
}
.biz_card_img {
    overflow: hidden;
}
.biz_card_img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.biz_card:hover .biz_card_img img,
.biz_card:active .biz_card_img img {
    transform: scale(1.08);
}
.biz_card_txt {
    padding: 20px;
}
@media (max-width: 768px) {
    .biz_card_txt {
        padding: 16px;
    }
}
.biz_card_txt h4 {
    font-size: clamp(15px, 4vw, 16px);
    font-weight: 700;
    margin-bottom: 8px;
}
.biz_card_txt p {
    font-size: clamp(12px, 3.5vw, 13px);
    color: var(--txt-s);
    line-height: 1.7;
}

/* 테이블 (모바일 스크롤) */
.biz_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    min-width: 500px;
}
@media (max-width: 768px) {
    .biz_table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}
.biz_table th {
    background: var(--brand);
    color: var(--white);
    padding: clamp(10px, 3vw, 14px) 12px;
    font-size: clamp(12px, 3.5vw, 14px);
    font-weight: 600;
    text-align: left;
}
.biz_table td {
    padding: clamp(10px, 3vw, 13px) 12px;
    font-size: clamp(12px, 3.5vw, 14px);
    color: var(--txt-s);
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}
.biz_table tr:last-child td {
    border-bottom: none;
}
.biz_table tr:hover td,
.biz_table tr:active td {
    background: var(--bg);
}

/* 프로세스 스텝 (모바일 반응형) */
.process_wrap {
    display: flex;
    gap: 0;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
@media (max-width: 1024px) {
    .process_wrap {
        flex-wrap: wrap;
    }
}
.process_step {
    flex: 1;
    text-align: center;
    padding: 24px 16px;
    position: relative;
    transition: transform 0.3s ease;
}
@media (max-width: 1024px) {
    .process_step {
        flex: 0 0 48%;
    }
}
@media (max-width: 768px) {
    .process_step {
        flex: 0 0 100%;
        padding: 20px 16px;
    }
}
.process_step:hover {
    transform: translateY(-4px);
}
.process_step::after {
    content: '→';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand);
    font-size: 20px;
}
@media (max-width: 1024px) {
    .process_step::after {
        display: none;
    }
}
.process_step:last-child::after {
    display: none;
}
.process_num {
    width: 48px;
    height: 48px;
    background: var(--brand);
    color: var(--white);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: transform 0.2s ease, background 0.2s ease;
}
@media (max-width: 768px) {
    .process_num {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}
.process_step:hover .process_num,
.process_step:active .process_num {
    transform: scale(1.12);
    background: var(--accent);
}
.process_step h4 {
    font-size: clamp(14px, 4vw, 15px);
    font-weight: 700;
    margin-bottom: 6px;
}
.process_step p {
    font-size: clamp(12px, 3.5vw, 13px);
    color: var(--txt-s);
    line-height: 1.6;
}


/* ==============================================
   사업안내 06.php 및 비주얼 아이템 보강
   ============================================== */

/* 인증 배지 스타일 */
.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(44,95,138,0.1);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    color: var(--brand);
    margin-bottom: 16px;
}
.cert-badge i {
    font-size: 14px;
}

/* more 버튼 통일 */
.btn_more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease, transform 0.2s ease;
}
.btn_more::after {
    content: '→';
    display: inline-block;
    transition: transform 0.22s ease;
}
.btn_more:hover {
    transform: scale(1.02);
}
.btn_more:hover::after {
    transform: translateX(4px);
}

/* biz_table 헤더 배경 보강 */
.biz_table th {
    background: var(--brand);
    color: var(--white);
    font-weight: 600;
}
.biz_table td a {
    color: var(--brand);
}
.biz_table td a:hover {
    text-decoration: underline;
}

/* 이미지 기본 스타일 */
img {
    max-width: 100%;
    height: auto;
}

/* 인용 박스 내 cite */
.greeting_quote cite {
    display: block;
    margin-top: 16px;
    font-size: 13px;
    opacity: 0.75;
    font-style: normal;
}

/* 태그 리스트 내 span 초기 상태 */
.tag_list span {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease;
}
.tag_list span.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.tag_list span:hover {
    background: var(--brand);
    color: #fff;
}

/* 패럴랙스 섹션 (기존 sub_visual 있으면 유지) */
.sub_visual {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sub_visual_bg {
    position: absolute;
    inset: -30px;
    background-size: cover;
    background-position: center;
    will-change: transform;
}
.sub_visual_txt {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}
.sub_visual_txt h1 {
    font-size: 28px;
    font-weight: 700;
}

/* 모션 감소 설정 존중 */
@media (prefers-reduced-motion: reduce) {
    .motion-float, .motion-float-alt,
    .motion-swing, .motion-bounce, .motion-tilt {
        animation: none !important;
    }
    .reveal {
        transition: none !important;
    }
    .sec_divider {
        transition: none !important;
        width: 48px !important;
    }
    .sec_label {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .jj-confetti-piece {
        display: none;
    }
}

/* 반응형 보강 */
@media (max-width: 768px) {
    .vision_grid {
        grid-template-columns: 1fr;
    }
    .biz_hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .biz_hero.reverse {
        direction: ltr;
    }
    .process_wrap {
        flex-wrap: wrap;
    }
    .process_step {
        flex: 0 0 48%;
    }
    .process_step::after {
        display: none;
    }
    .sub_wrap {
        padding: 0 16px 48px;
    }
    .sec_title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .process_step {
        flex: 0 0 100%;
    }
    .vision_grid {
        grid-template-columns: 1fr;
    }
}


/* ==============================================
   문의 폼 (모바일 반응형)
   ============================================== */
.form_wrap {
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
}
.form_group {
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .form_group {
        margin-bottom: 16px;
    }
}
.form_group label {
    display: block;
    font-size: clamp(13px, 3.5vw, 14px);
    font-weight: 600;
    margin-bottom: 8px;
}
.form_group label .required {
    color: #e53e3e;
    margin-left: 3px;
}
.form_group input,
.form_group select,
.form_group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    color: var(--txt);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
}
@media (max-width: 768px) {
    .form_group input,
    .form_group select,
    .form_group textarea {
        padding: 10px 14px;
        font-size: 13px;
    }
}
.form_group input:focus,
.form_group select:focus,
.form_group textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(44,95,138,0.12);
}
.form_group textarea {
    resize: vertical;
    min-height: 140px;
}
@media (max-width: 768px) {
    .form_group textarea {
        min-height: 120px;
    }
}
.form_agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--txt-s);
    margin-bottom: 24px;
}
@media (max-width: 768px) {
    .form_agree {
        margin-bottom: 20px;
    }
}
.form_agree input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--brand);
}
.form_submit {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--brand);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: clamp(15px, 4vw, 16px);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}
@media (max-width: 768px) {
    .form_submit {
        padding: 13px;
    }
}
.form_submit:hover,
.form_submit:active {
    background: var(--brand-d);
    transform: scale(1.01);
}


/* ==============================================
   원소스펠 스타일 추가 (활동적인 요소)
   ============================================== */

/* 숫자 카운터 강조 */
.jj-counter {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}
.count-value {
    font-weight: 800;
}
.count-suffix {
    font-weight: 500;
}

/* 리플 효과 (버튼 등) */
.ripple-effect {
    position: relative;
    overflow: hidden;
}
.ripple-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}
.ripple-effect:active::after {
    width: 200%;
    height: 200%;
}

/* 호버 시 이동 효과 */
.hover-slide-up {
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.hover-slide-up:hover,
.hover-slide-up:active {
    transform: translateY(-6px);
}

.hover-slide-right {
    transition: transform 0.3s ease;
}
.hover-slide-right:hover,
.hover-slide-right:active {
    transform: translateX(6px);
}

/* 모바일 터치 피드백 강화 */
@media (hover: none) {
    .biz_card:active,
    .vision_item:active,
    .value_item:active,
    .process_step:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .btn_more:active {
        transform: scale(0.97);
    }
    
    .tag_list span:active {
        transform: scale(0.95);
    }
}

/* 모션 감소 설정 존중 */
@media (prefers-reduced-motion: reduce) {
    .motion-float, .motion-float-alt,
    .motion-swing, .motion-bounce, .motion-tilt,
    .motion-pulse, .motion-spin {
        animation: none !important;
    }
    .reveal {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .sec_divider {
        transition: none !important;
        width: 48px !important;
    }
    .sec_label {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .slide_label, .slide_title, .slide_sub, .slide_btn {
        animation: none !important;
    }
    .biz_card:hover .biz_card_img img {
        transform: none !important;
    }
    .biz_hero_img:hover img {
        transform: none !important;
    }
    .value_item:hover,
    .biz_card:hover,
    .vision_item:hover {
        transform: none !important;
    }
}

/* ==============================================
   테이블 좌우 스와이프 (외곽박스 없음, 모서리 둥글지 않음)
   ============================================== */

.table-swipe-wrapper {
    position: relative;
    margin: 24px 0 32px;
    width: 100%;
}

.table-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.table-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.table-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.table-scroll-container::-webkit-scrollbar-thumb {
    background: var(--brand);
}

.bordered-table {
    min-width: 580px;
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
    font-size: 14px;
}

.bordered-table th,
.bordered-table td {
    border: 1px solid #ddd;
    padding: 12px 14px;
    text-align: left;
    vertical-align: middle;
}

.bordered-table th {
    background: var(--brand);
    color: #fff;
    font-weight: 600;
}

.bordered-table tbody tr:nth-child(even) {
    background-color: #f8f9fc;
}

.bordered-table tbody tr:hover {
    background-color: #eef3fc;
    transition: background 0.2s ease;
}

.bordered-table .price-cell {
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

.bordered-table .category-cell {
    background-color: #f0f4f8;
    font-weight: 700;
    vertical-align: middle;
    text-align: center;
}

.table-swipe-wrapper .swipe-hint {
    position: absolute;
    left: 50%;
    bottom: -28px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 11px;
    line-height: 1.4;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    pointer-events: none;
    white-space: nowrap;
    opacity: 0;
    z-index: 10;
}

.table-swipe-wrapper.scrollable .swipe-hint {
    opacity: 1;
    animation: hintFadeOut 3s ease forwards;
}

@keyframes hintFadeOut {
    0%, 60% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

@media (max-width: 768px) {
    .bordered-table {
        min-width: 520px;
        font-size: 12px;
    }
    .bordered-table th,
    .bordered-table td {
        padding: 8px 10px;
    }
}

@media (min-width: 769px) {
    .table-swipe-wrapper .swipe-hint {
        display: none !important;
    }
}