@charset "utf-8";

/* 내용관리 */
#ctt {margin:10px 0;padding:20px;background:#fff}
.ctt_admin {text-align:right}
#ctt header h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#ctt_con {padding:10px 0;line-height:1.6em}
#ctt_con img{max-width:100%;height:auto}
.ctt_img {text-align:center}

/* 복지용구 가이드 - 실버 UI 최적화 */
.welfare-guide-container {
    max-width: 1280px;
    margin: 0 auto;
    font-family: 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    color: #222; /* 글자색 진하게 */
    line-height: 1.6;
    word-break: keep-all;
    padding: 20px;
}

/* 공통 강조색 */
:root {
    --welfare-main: #007B5F; /* 신뢰감을 주는 짙은 녹색 */
    --welfare-sub: #EBF7F4;
    --welfare-accent: #D93025; /* 주의사항 등 강조색 */
}

/* 탭 메뉴 */
.welfare-tab-menu { margin-bottom: 40px; }
.welfare-tab-menu .tab-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 3px solid #ddd;
}
.welfare-tab-menu .tab-item {
    flex: 1;
    text-align: center;
    padding: 20px 0;
    font-size: 20px; /* 탭 글자 크게 */
    font-weight: 600;
    color: #777;
    cursor: pointer;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-bottom: none;
    margin-right: -1px;
}
.welfare-tab-menu .tab-item.active {
    background: #fff;
    color: var(--welfare-main);
    font-weight: 800;
    border: 3px solid var(--welfare-main);
    border-bottom: 3px solid #fff;
    position: relative;
    top: 3px;
}

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* 섹션 헤더 */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 32px; font-weight: 800; color: #111; margin-bottom: 15px; }
.section-header p { font-size: 18px; color: #555; }

/* --- [실버가게 UI 통합 스타일] --- */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.6/dist/web/static/pretendard.css");

/* --- [실버가게 UI 통합 스타일 : 인포그래픽 강화 버전] --- */
.welfare-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    color: #333;
    line-height: 1.6;
    word-break: keep-all;
    background-color: #fdfdfd;
}

/* 공통 변수 (Deep Green & Sophisticated Theme) */
:root {
    --color-main: #007B5F;
    --color-main-light: #009e7a;
    --color-main-dark: #005c47;
    --color-bg-soft: #EBF5F2;
    --color-accent-blue: #3498db;
    --color-accent-red: #E74C3C;
    --color-text-dark: #2c3e50;
    --color-text-gray: #666;
    --radius-box: 20px;
    --shadow-card: 0 10px 25px rgba(0,0,0,0.07);
    --shadow-hover: 0 15px 35px rgba(0,123,95,0.15);
    --gradient-main: linear-gradient(135deg, var(--color-main), var(--color-main-light));
}

/* 초기화 및 기본 설정 */
* { box-sizing: border-box; }
h2, h3, h4 { margin-top: 0; }
button { font-family: inherit; }

/* 공통 타이틀 & 버튼 */
.section-head { text-align: center; margin-bottom: 60px; position: relative; }
.section-head h2 {
    font-size: 32px; font-weight: 800; color: var(--color-text-dark); margin-bottom: 15px;
    position: relative; display: inline-block;
}
/* 타이틀 하단 강조선 */
.section-head h2::after {
    content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 4px; background: var(--gradient-main); border-radius: 2px;
}
.section-head p { font-size: 18px; color: var(--color-text-gray); margin-top: 20px; }

.btn-action {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--gradient-main); color: #fff;
    padding: 14px 40px; border-radius: 50px;
    font-weight: 700; font-size: 18px;
    text-decoration: none; margin-top: 25px;
    transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,123,95,0.3);
}
.btn-action:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,123,95,0.4); }
.btn-action i { margin-left: 10px; transition: transform 0.3s; }
.btn-action:hover i { transform: translateX(5px); }

/* 탭 네비게이션 (세련된 스타일) */
.tab-nav { display: flex; list-style: none; padding: 0; margin: 0 0 50px 0; background: #f0f0f0; border-radius: 50px; padding: 5px; }
.tab-nav li { flex: 1; text-align: center; }
.tab-nav li button {
    width: 100%; padding: 15px 0; border: none; background: transparent;
    font-size: 18px; font-weight: 600; color: #777; cursor: pointer;
    border-radius: 50px; transition: all 0.3s;
}
.tab-nav li.active button { background: #fff; color: var(--color-main); font-weight: 800; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }

.tab-pane { display: none; animation: fadeEffect 0.6s ease; }
.tab-pane.active { display: block; }
@keyframes fadeEffect { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   [탭1] 노인장기요양보험 안내 - 인포그래픽 강화
   ========================================= */

/* 1. 히어로 배너 (이미지 배경) */
.hero-banner {
    /* 실제 이미지 경로로 변경 필요 (예: 어르신과 보호자가 손잡고 있는 따뜻한 이미지) */
    background: linear-gradient(rgba(0, 30, 20, 0.7), rgba(0, 30, 20, 0.7)), url('https://source.unsplash.com/1200x600/?senior,care,hands') no-repeat center center;
    background-size: cover;
    border-radius: var(--radius-box);
    padding: 80px 40px;
    text-align: center; color: #fff; margin-bottom: 60px;
    box-shadow: var(--shadow-card);
}
.hero-banner h2 { font-size: 36px; font-weight: 800; margin-bottom: 15px; color: #fff; }
.hero-banner p { font-size: 20px; opacity: 0.9; margin-bottom: 30px; }
.hero-banner .btn-action { background: #fff; color: var(--color-main); }
.hero-banner .btn-action:hover { background: #f0f0f0; }

/* 2. 핵심 개념 3카드 (비주얼 강화) */
.concept-wrap { display: flex; gap: 25px; margin-bottom: 60px; }
.concept-item {
    flex: 1; background: #fff; padding: 40px 30px;
    border-radius: var(--radius-box); text-align: center;
    border: none; box-shadow: var(--shadow-card);
    transition: all 0.3s; position: relative; overflow: hidden;
}
.concept-item::before { /* 상단 컬러 바 */
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--gradient-main);
}
.concept-item:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.concept-icon {
    width: 90px; height: 90px; margin: 0 auto 25px;
    background: var(--color-bg-soft); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: var(--color-main);
    transition: all 0.3s;
}
.concept-item:hover .concept-icon { background: var(--gradient-main); color: #fff; transform: rotateY(180deg); }
.concept-item h3 { font-size: 22px; margin-bottom: 15px; font-weight: 800; color: var(--color-text-dark); }
.concept-item p { color: var(--color-text-gray); font-size: 16px; margin: 0; }

/* 3. 핵심 요약 박스 (디자인 개선) */
.info-box-styled {
    background: #fff; padding: 40px; border-radius: var(--radius-box); margin-bottom: 70px;
    box-shadow: var(--shadow-card); border-left: 6px solid var(--color-main);
    display: flex; align-items: center;
}
.info-box-icon { flex: 0 0 80px; font-size: 60px; color: var(--color-main-light); margin-right: 30px; opacity: 0.3; }
.info-box-content ul { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 30px; list-style: none; padding: 0; margin: 0; }
.info-box-content li { position: relative; padding-left: 25px; font-size: 16px; color: #444; font-weight: 500; }
.info-box-content li::before { content: '\f058'; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--color-main); top: 2px; }

/* 4. 대상 안내 (일러스트형) */
.target-wrap { display: flex; gap: 30px; margin-bottom: 70px; }
.target-card {
    flex: 1; background: #fff; border-radius: var(--radius-box); padding: 30px;
    box-shadow: var(--shadow-card); display: flex; gap: 20px; align-items: flex-start;
    border: 2px solid transparent; transition: all 0.3s;
}
.target-card.primary { border-color: var(--color-main-light); }
.target-card.secondary { border-color: #95a5a6; }
.target-card:hover { transform: scale(1.02); }

.target-visual i { font-size: 50px; }
.target-card.primary .target-visual i { color: var(--color-main); }
.target-card.secondary .target-visual i { color: #7f8c8d; }

.target-info .target-title { font-weight: 800; font-size: 20px; color: var(--color-text-dark); display: block; margin-bottom: 10px; }
.target-info .target-desc { font-size: 16px; color: #555; }
.red-warning {
    display: inline-block; background: #fff0f0; color: var(--color-accent-red);
    font-weight: 700; font-size: 14px; margin-top: 12px; padding: 8px 12px; border-radius: 8px;
}
.red-warning i { margin-right: 5px; }

/* 5. VS 인포그래픽 (시각적 대비 강화) */
.vs-container {
    display: flex; background: #fff; border-radius: var(--radius-box);
    box-shadow: var(--shadow-card); overflow: hidden; margin-bottom: 70px;
    position: relative; min-height: 300px;
}
.vs-half { flex: 1; padding: 50px 40px; display: flex; flex-direction: column; justify-content: center; text-align: center; position: relative; }
.vs-half.left { background: rgba(0, 123, 95, 0.05); }
.vs-half.right { background: rgba(231, 76, 60, 0.05); }

.vs-header { font-size: 24px; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; }
.vs-half.left .vs-header { color: var(--color-main); }
.vs-half.right .vs-header { color: var(--color-accent-red); }
.vs-header i { font-size: 30px; margin-right: 10px; }

.vs-content strong { display: block; font-size: 20px; color: #222; margin-bottom: 10px; }
.vs-content span { font-size: 15px; color: #666; }

/* 중앙 VS 뱃지 */
.vs-badge-center {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 70px; height: 70px; background: #333; color: #fff;
    border-radius: 50%; font-weight: 900; font-size: 24px; font-style: italic;
    display: flex; align-items: center; justify-content: center; z-index: 5;
    border: 5px solid #fff; box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* 6. 인정절차 로드맵 (인포그래픽 스타일) */
.process-roadmap { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; margin-bottom: 70px; counter-reset: step-counter; }
.process-step {
    position: relative; text-align: center; z-index: 1;
    background: #fff; padding: 30px 15px; border-radius: var(--radius-box);
    box-shadow: var(--shadow-card); transition: all 0.3s;
}
.process-step:hover { transform: translateY(-10px); border-bottom: 5px solid var(--color-main); }

/* 단계 연결선 */
.process-step:not(:last-child)::after {
    content: '\f054'; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
    font-size: 20px; color: #ddd; z-index: -1;
}

.proc-num-circle {
    width: 40px; height: 40px; background: var(--color-main); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 18px; margin: 0 auto 15px;
    box-shadow: 0 5px 10px rgba(0,123,95,0.3);
}
.proc-title { font-weight: 800; font-size: 17px; color: var(--color-text-dark); display: block; margin-bottom: 15px; height: 40px; display: flex; align-items: center; justify-content: center; }
.proc-desc { font-size: 14px; color: #666; line-height: 1.4; }

/* 7. 혜택 안내 (카드 비주얼) */
.benefit-wrap { display: flex; gap: 25px; }
.benefit-item {
    flex: 1; background: #fff; border-radius: var(--radius-box); overflow: hidden;
    box-shadow: var(--shadow-card); transition: all 0.3s;
}
.benefit-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.benefit-header-visual {
    padding: 30px 20px; text-align: center; color: #fff; position: relative;
}
/* 각 혜택별 다른 헤더 색상 및 아이콘 배경 */
.benefit-item.type1 .benefit-header-visual { background: linear-gradient(135deg, #1a3c61, #2980b9); }
.benefit-item.type2 .benefit-header-visual { background: var(--gradient-main); }
.benefit-item.type3 .benefit-header-visual { background: linear-gradient(135deg, #2c3e50, #34495e); }

.benefit-header-visual i { font-size: 50px; opacity: 0.2; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.benefit-header-visual h3 { font-size: 20px; font-weight: 800; position: relative; z-index: 1; margin: 0; }

.benefit-body-visual { padding: 30px 20px; text-align: center; }
.benefit-body-visual strong { display: block; font-size: 18px; color: var(--color-text-dark); margin-bottom: 12px; }
.benefit-body-visual p { font-size: 15px; color: #555; margin: 0; }
.benefit-note { display: inline-block; font-size: 13px; color: var(--color-accent-red); background: #fff0f0; padding: 5px 10px; border-radius: 4px; margin-top: 15px; font-weight: 600; }


/* =========================================
   [탭2, 탭3] 기존 스타일 유지 및 통합 조정
   ========================================= */
.step-process-wrap { display: flex; gap: 20px; margin-bottom: 50px; }
.step-card { flex: 1; background: #fff; border: 2px solid #eee; border-radius: 20px; padding: 30px; text-align: center; box-shadow: var(--shadow-card); }
.step-badge { display: inline-block; background: var(--color-main); color: #fff; padding: 5px 15px; border-radius: 30px; font-weight: 700; margin-bottom: 15px; }
.step-arrow { align-self: center; font-size: 24px; color: #ccc; }

.notice-box { background: #fffbfb; border: 2px solid #ffdede; border-radius: var(--radius-box); padding: 30px; box-shadow: var(--shadow-card); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.prod-card { background: #fff; border: 1px solid #eee; border-radius: 16px; overflow: hidden; transition: all 0.3s; position: relative; box-shadow: var(--shadow-card); }
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--color-main-light); }
.prod-img-area { height: 200px; background: #fafafa; display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 1px solid #f0f0f0; }
.prod-img-area img { max-width: 85%; max-height: 85%; transition: transform 0.3s; }
.prod-card:hover .prod-img-area img { transform: scale(1.05); }
.badge-type { position: absolute; top: 12px; left: 12px; padding: 5px 12px; font-size: 12px; font-weight: 700; color: #fff; border-radius: 30px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.badge-type.buy { background: var(--color-accent-blue); }
.badge-type.rent { background: #f39c12; }
.prod-info { padding: 20px; text-align: center; }
.btn-shop { display: block; background: var(--color-main); color: #fff; padding: 12px; border-radius: 10px; text-decoration: none; font-weight: 700; margin-bottom: 10px; transition: background 0.3s; }
.btn-shop:hover { background: var(--color-main-dark); }
.btn-sub-row { display: flex; gap: 8px; }
.btn-sub { flex: 1; background: #fff; border: 1px solid #ddd; padding: 10px; border-radius: 8px; cursor: pointer; transition: all 0.3s; font-weight: 600; color: #555; }
.btn-sub:hover { background: #f5f5f5; color: var(--color-main); border-color: var(--color-main); }

/* 모달 */
.modal-overlay { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); justify-content: center; align-items: center; backdrop-filter: blur(5px); }
.modal-content { background: #fff; width: 90%; max-width: 800px; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.modal-header { padding: 20px; display: flex; justify-content: space-between; background: #f8f8f8; border-bottom: 1px solid #eee; align-items: center; }
.video-frame { position: relative; padding-bottom: 56.25%; height: 0; background: #000; }
.video-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* =========================================
   반응형 처리 (Mobile Optimized)
   ========================================= */
@media (max-width: 1024px) {
    .process-roadmap { grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .process-step:nth-child(3)::after { display: none; } /* 3번째 화살표 숨김 */
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .welfare-container { padding: 20px 15px; }
    .section-head h2 { font-size: 26px; }
    .tab-nav li button { font-size: 16px; padding: 12px 0; }

    /* 탭1 반응형 */
    .hero-banner { padding: 60px 20px; }
    .hero-banner h2 { font-size: 28px; }
    .concept-wrap, .target-wrap, .benefit-wrap { flex-direction: column; gap: 20px; }
    .info-box-styled { flex-direction: column; text-align: center; padding: 30px; }
    .info-box-icon { margin-right: 0; margin-bottom: 20px; }
    .info-box-content ul { grid-template-columns: 1fr; text-align: left; }

    .vs-container { flex-direction: column; min-height: auto; }
    .vs-half { padding: 40px 20px; }
    .vs-badge-center { position: relative; top: auto; left: auto; transform: none; margin: -20px auto; }

    .process-roadmap { grid-template-columns: 1fr; gap: 20px; }
    .process-step::after { display: none; } /* 모바일에서 연결선 숨김 */
    .process-step { display: flex; align-items: center; text-align: left; padding: 20px; }
    .proc-num-circle { margin: 0 20px 0 0; flex-shrink: 0; }
    .proc-title { margin-bottom: 5px; height: auto; justify-content: flex-start; }

    /* 탭2 반응형 */
    .step-process-wrap { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); margin: 15px 0; }

    /* 탭3 반응형 */
    .product-grid { gap: 15px; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
}