@charset "utf-8";

:root {
    --primary-color: #1a5c38;
    --secondary-color: #e8f5e9;
    --accent-color: #d32f2f;
    --text-main: #222222;
    --text-light: #666666;
    --bg-light: #f7f9f8;
    --border-color: #eaeaea;
}

body {
    margin: 0;
    padding: 0;
     font-family: 'NanumSquare', 'Nanum Myeongjo', 'Gowun Batang', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif, serif;
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

* {
    box-sizing: border-box;
}

/* 1. Header (상단 고정 헤더) */
header {
    position: sticky;
    top: 0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    z-index: 100;   
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 1rem 0 0.3rem; 
}
.header-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.header-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 15px;
}
.logo img {
    height: 40px;
    display: block;
}
.menu-btn {
    font-size: 32px;            /* 기존 26px에서 32px~36px 정도로 확대 */
    color: var(--primary-color);
    cursor: pointer;
    line-height: 1;
    padding: 10px;
    display: flex;              /* 중앙 정렬을 위해 플렉스 박스 적용 */
    align-items: center;
    justify-content: center;
    transition: transform 0.2s; /* 클릭 시 효과를 위한 부드러운 변환 */
}

/* 클릭(터치) 시 살짝 커지는 효과 (선택 사항) */
.menu-btn:active {
    transform: scale(1.1);
}
}
.header-phone img {
    height: 24px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* 2. Quick Contact Bar (빠른 연락처 바) */
.quick-contact {
    display: flex;
    background: var(--primary-color);
    color: white;
}
.quick-contact a {
    flex: 1;
    text-align: center;
    font-weight: 500;
    font-size: 15px;
    padding: 14px 0;
    border-right: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}
.quick-contact a:active {
    background: rgba(0,0,0,0.1);
}
.quick-contact a:last-child {
    border-right: none;
}

/* 3. Hero Section (메인 배너) */
.hero {
    background: linear-gradient(145deg, var(--secondary-color) 0%, #ffffff 100%);
    padding: 24px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.hero-badge {
    background: var(--primary-color);
    color: white;
    font-size: 15px;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}
.hero h1 {
    font-family: 'Gowun Batang'; 
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 16px 0;
    color: #222;
    line-height: 1.25;
    letter-spacing: -0.7px;
}
.hero p {
    font-family: 'NanumSquare'; 
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    margin-bottom: 0.5rem;
    word-break: keep-all;
}

/* 4. Highlights (핵심 장점 - 가로 스크롤 카드) */
.highlights-wrapper {
    padding: 20px 0 30px 20px;
    background: var(--bg-light);
}
.highlights-scroll {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 15px;
    padding-right: 20px; /* 오른쪽 끝 여백 */
    scroll-snap-type: x mandatory;
}
.highlights-scroll::-webkit-scrollbar {
    display: none; /* 모바일에서는 스크롤바 숨김 */
}
.highlight-card {
    flex: 0 0 65%; /* 화면의 82% 차지 */
    background: #ffffff;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    scroll-snap-align: start;
    border: 1px solid rgba(0,0,0,0.02);
}
.highlight-card h3 {
    background: #022e51; 
    margin: 0 0 12px 0;
    padding: 0.5rem 0.2rem;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: #f6f4e8;
    border-bottom: 1px solid #64766a;
}
.highlight-card p {
    margin: 0;
    font-family: 'NanumSquare'; 
    font-size: 16px;
    font-weight: 600; 
    color: #666666;
    line-height: 1.6;
    text-align: center;
}
.highlight-card .sub-text {
    display: inline-block;
    margin-top: 14px;
    font-family: 'NanumSquare'; 
    font-size: 15px;
    font-weight: 600;
    color: red;
    background: #f1f1f1;
    text-align: center;
    padding: 4px 10px;
    border-radius: 4px;
}


.trust-card {
  background: #022e51;   
  padding: 5px 0;
  backdrop-filter: blur(6px);
  text-align: left;    
}

.trust-card h3 {
  font-family: 'Pretendard', sans-serif;
  color: #ffffff;
  font-size: 1.10rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: none;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 10px;
}

.trust-card h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--secondary-light);
  border-radius: 2px;
}

.trust-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  margin-left: 10px;
  margin-right: 10px;
}

.trust-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 2px 3px;
  font-size: 0.85rem;
  color: #ffffff;
  font-family: 'Pretendard', sans-serif;
  transition: var(--transition);
}

.trust-tag:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.trust-note {
  font-size: 0.88rem;
  color: #e59560;
  margin-left: 10px;
  margin-right: 10px;
  line-height: 1.5;
}




 /* 3. Page Title */
        .page-header {
            background: white;
            padding: 20px 20px;
            text-align: center;
            border-bottom: 1px solid var(--border-color);
        }
        .page-header h1 {
            margin: 0;
            font-size: 24px;
            font-weight: 700;
            color: #111;
}


 /* 4. Content Cards */
        .content-section {
            padding: 20px;
        }
        .card {
            background: white;
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 20px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.03);
            border: 1px solid rgba(0,0,0,0.04);
        }
        .card-title {
            font-size: 19px;
            font-weight: 700;
            color: var(--primary-color);
            margin: 0 0 16px 0;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--secondary-color);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        /* Typography within cards */
        .card p {
            margin: 0 0 12px 0;
            font-size: 16px;
            color: var(--text-light);
            word-break: keep-all;
        }
        .card p:last-child {
            margin-bottom: 0;
        }
        .card ul {
            margin: 0;
            padding: 0 0 0 20px;
            color: var(--text-light);
            font-size: 15px;
        }
        .card li {
            margin-bottom: 8px;
        }
        .card li:last-child {
            margin-bottom: 0;
        }
        .highlight-text {
            color: var(--accent-color);
            font-weight: 500;
        }

        /* Business Info Table Style */
        .biz-info {
            display: table;
            width: 100%;
            font-size: 14px;
        }
        .biz-row {
            display: table-row;
        }
        .biz-label {
            display: table-cell;
            font-weight: 700;
            color: #444;
            padding: 8px 0;
            width: 90px;
            vertical-align: top;
        }
        .biz-value {
           font-size: 16px;
            display: table-cell;
            color: var(--text-light);
            padding: 8px 0;
            word-break: keep-all;
        }

        /* Signature */
        .signature {
            text-align: right;
            margin-top: 20px;
            font-weight: 700;
            color: #333;
            font-size: 16px;
        }

        /* Service Mark Image */
        .service-mark-img {
            width: 100%;
            border-radius: 8px;
            margin-top: 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }


/* 5. Main Services (주요 서비스 목록) */
.services {
    padding: 40px 20px;
}
.section-title {
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 10px 20px;
    color: #111;
}
.service-card {
    display: flex;
    align-items: flex-start;
    background: white;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:active {
    transform: scale(0.98);
    background-color: #fafafa;
}
.service-icon {
    width: 52px;
    height: 52px;
    background: var(--secondary-color);
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 24px;
}
.service-info h4 {
  font-family: 'pretendard';
  color: #c84d27;
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 6px 0;
 }
.service-info p {
    margin: 0;
    font-size: 16px;
    color: var(--text-light);
    word-break: keep-all;
}

/* 6. Info List (작성 안내 리스트) */
.info-list {
    background: var(--bg-light);
    padding: 5px 10px;
}
.info-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.info-item .check {
    color: var(--primary-color);
    font-weight: bold;
}
.info-item span.highlight {
    color: var(--accent-color);
    font-weight: 700;
}

/* 7. Office Info (사무소 안내) */
.office-info {
    padding: 20px 20px;
}
.info-row {
    display: flex;
    margin-bottom: 5px;
    font-size: 15px;
}
.info-label {
    width: 85px;
    font-weight: 700;
    color: #444;
    flex-shrink: 0;
}
.info-value {
   font-size: 15px;
    color: var(--text-light);
    line-height: 1.5;
}
.qr-box {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 24px;
}
.qr-box img {
    max-width: 150px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 8. Footer */
footer {
    background: #252525;
    color: #aaaaaa;
    padding: 40px 20px;
    font-size: 13px;
    text-align: center;
}
footer img {
    max-width: 100%;
    opacity: 0.6;
    margin-bottom: 20px;
    border-radius: 4px;
}
footer p {
    margin: 0;
    line-height: 1.6;
}

/* 9. Floating Action Button (카카오톡 플로팅 버튼) */
.fab-kakao {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 65px;
    height: 65px;
    background: #fee500;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    z-index: 1000;
    color: #3a2929;
    font-size: 14.5px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s;
}
.fab-kakao:active {
    transform: scale(0.9);
}

/* 10. Mobile Menu (모바일 슬라이드/아코디언 메뉴) */
.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 99;
    flex-direction: column;
    max-height: calc(100vh - 54px);
    overflow-y: auto;
}
.main-nav.active {
    display: flex;
}
.nav-item {
    border-bottom: 1px solid var(--border-color);
}
.nav-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
}
.nav-item:has(.dropdown) > a::after {
    content: '▼';
    font-size: 12px;
    color: var(--text-light);
    transition: transform 0.2s;
}
.nav-item.active > a::after {
    transform: rotate(180deg);
}
.dropdown {
    display: none;
    background: var(--bg-light);
}
.dropdown.active {
    display: block;
}
.dropdown a {
    display: block;
    padding: 12px 20px 12px 40px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.dropdown a:last-child {
    border-bottom: none;
}

/* --- 서브페이지 전용 추가 스타일 (info-block, content-section 등) --- */
.content-section {
    padding: 20px;
}

.info-section {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Style info-block as card */
.info-block {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
}

/* Style headings inside info-block */
.info-block h1, .info-block h2 {
    font-size: 19px !important;
    font-weight: 700;   
    margin: 0 0 16px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid var(--secondary-color) !important;
    line-height: 1.4 !important;
    word-break: keep-all;
    display: block !important;
}

.info-block h2 {  
  color: var(--primary-color) !important;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-block h3 {
  color: #990000;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* List and Paragraphs */
.info-block p, .info-block ul, .info-block li {
    font-size: 16px !important;
    color: var(--text-light) !important;
    word-break: keep-all;
    line-height: 1.6 !important;
}
.info-block p {
    margin: 0 0 12px 0 !important;
}
.info-block p:last-child {
    margin-bottom: 0 !important;
}

.info-block ul {
  list-style: none;
  margin-top: 1rem;
  padding-left: 5px !important; /* 기본값(약 40px)을 줄여서 왼쪽으로 당김 */
  margin-left: 0;
}

.info-block ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #000000;
  font-family: 'NanumSquare'
}

.info-block ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.info-block img {
    max-width: 100%;
    height: auto !important;
    border-radius: 8px;
    margin: 10px 0;
}

highlight {
    font-family: 'NanumSquare';
    color: var(--secondary);
    font-weight: 700;
}



.info-block strong, .info-block b, .info-block span[style*="bold"] {
    font-weight: 700 !important;
    color: #222 !important;
}

/* Features Grid */
.features-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}
.feature-card {
    background: #fff !important;
    padding: 20px !important;
    border-radius: 12px !important;
    border: 1px solid var(--border-color) !important;
    width: 100% !important;
    display: block !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
}
.feature-card h3 {
    margin: 0 0 8px 0 !important;
    font-size: 17px !important;
    color: #111 !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 0 !important;
}
.feature-card p {
    margin: 0 0 10px 0 !important;
    font-size: 14px !important;
    color: #666 !important;
}
.more-link {
    display: inline-block !important;
    color: var(--accent-color) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: right !important;
    width: 100% !important;
    margin-top: 10px !important;
}

.highlight, .highlight * {
    color: var(--accent-color) !important;
    font-weight: 700 !important;
}

/* Table styling for responsive */
table {
    width: 100% !important;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom: 15px;
}
table, th, td {
    border: 1px solid #ddd;
}
th, td {
    padding: 10px;
    font-size: 14px !important;
    text-align: left;
}
th {
    background: #f5f5f5;
    font-weight: bold;
    color: #333 !important;
    text-align: center;
}
td {
    color: var(--text-light) !important;
}

/* Footer */
footer {  
  text-align: center;
 font-size: 10px !important; 
}

.footer-content img {
  max-width: 100%;
  height: auto;
}

/* 하단 고정 메뉴바 스타일 */
.bottom-fixed-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9998; /* 플로팅 버튼(fab-container)보다 아래 또는 적절히 배치 */
    border-top: 1px solid var(--border-color);
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-light);
    font-family: 'NanumSquare', sans-serif;
    transition: color 0.2s ease;
}

.bottom-nav-item .nav-icon {
    font-size: 20px;
    line-height: 1;
    margin-bottom: 3px;
}

.bottom-nav-item .nav-text {
    font-size: 11px;
    font-weight: 600;
}

/* 현재 페이지 활성화 상태 스타일 */
.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--primary-color);
}

/* 하단 메뉴바에 의해 콘텐츠가 가리지 않도록 바디 하단 여백 확보 */
body {
    padding-bottom: 70px;
}
