/* 일반 페이지 레이아웃을 위한 스타일 */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    overflow-y: auto; /* 스크롤 허용 */
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

body {
    padding-top: 70px; /* 헤더 높이만큼 패딩 */
    font-family: 'Noto Sans JP', 'Noto Sans KR', sans-serif;
}

/* 헤더 스타일 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000; /* z-index를 더 높게 설정 */
    background-color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    border-bottom: 1px solid #eee;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-header {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #ffffff;
    overflow: visible; /* overflow 설정을 visible로 변경 */
}

.top-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    width: 100%;
    height: 70px;
    padding: 0 40px;
    margin: 0;
    position: relative;
    overflow: visible; /* overflow 설정을 visible로 변경 */
}

.logo {
    margin-right: 0;
    display: flex;
    align-items: center;
    flex: 0 0 200px;
    justify-content: flex-start;
}

.logo img {
    width: auto !important;
    height: 43px !important;
    max-width: none !important;
}

.main-nav {
    flex: 1;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.header-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex-wrap: nowrap;
    height: 100%;
    align-items: center;
}

.header-menu li {
    margin: 0 12px;
    white-space: nowrap;
}

.header-menu li a {
    color: #333333;
    font-weight: 500;
    font-size: 18px;
    padding: 8px 0;
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
}

.header-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0068b7;
    transition: width 0.3s ease;
}

.header-menu li a:hover,
.header-menu li a.active {
    color: #0068b7;
}

.header-menu li a:hover::after,
.header-menu li a.active::after {
    width: 100%;
}

.header-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap;
    flex: 0 0 320px;
    gap: 15px;
    height: 100%;
    margin-left: 0;
}

/* 依頼・ご相談ボタン */
.btn-inquiry {
    display: flex;
    align-items: center;
    background-color: #4b6fe8;
    color: white;
    padding: 6px 10px;
    border-radius: 30px;
    margin-right: 6px;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    font-size: 11px;
}

.btn-inquiry:hover {
    background-color: #3a5bd4;
}

.btn-inquiry i {
    font-size: 16px;
    color: white;
    margin-right: 6px;
}

.btn-inquiry span {
    line-height: 1.3;
}

/* ログインボタン */
.btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white !important;
    color: #4b6fe8 !important;
    padding: 6px 10px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    margin: 0 4px;
}

.btn-login i {
    color: #4b6fe8 !important;
    margin-right: 5px;
    font-size: 16px;
}

.btn-login:hover {
    background-color: #f5f5f5 !important;
}

/* tohoロゴ */
.link-toho {
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.link-toho img {
    height: 40px;
    width: auto;
    transform: scale(1.3);
    transform-origin: center right;
    object-fit: contain;
    margin-left: 10px;
    max-width: none !important;
}

/* 드롭다운 메뉴 */
.user-menu {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 220px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none !important; /* 전체 컨테이너 경계선 제거 */
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border: none !important; /* ul 요소 경계선 제거 */
}

.dropdown-menu ul li {
    padding: 0;
    margin: 0;
    border-bottom: none !important; /* li 요소의 밑줄 제거 */
}

.dropdown-menu ul li a {
    display: block;
    padding: 10px 20px;
    color: #333333;
    transition: all 0.3s ease;
    text-decoration: none !important; /* 링크 밑줄 제거 */
    border-bottom: none !important; /* 밑줄 제거 */
}

.dropdown-menu ul li a:hover {
    background-color: #f5f5f5;
    color: #0068b7;
}

.dropdown-menu ul li a i {
    width: 20px;
    margin-right: 5px;
    text-align: center;
}

/* 헤더 네비게이션 메가 메뉴 */
.header-menu .dropdown {
    position: relative;
}

/* 기존 dropdown-menu-nav 스타일 제거하고 새로운 메가 메뉴 스타일 적용 */
.mega-dropdown {
    position: fixed; /* fixed로 변경하여 viewport 기준으로 설정 */
    top: 70px; /* 헤더 높이만큼 아래로 */
    left: 50%; /* viewport의 50% 지점 */
    transform: translateX(-50%); /* 자신의 50%만큼 왼쪽으로 이동 */
    width: 100vw;
    max-width: 1200px;
    background-color: #ffffff;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-20px);
    transition: all 0.4s ease;
    border: 1px solid #e5e5e5;
    overflow: visible;
}

.header-menu .mega-menu:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* fixed position에 맞게 수정 */
}

.mega-dropdown-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px 30px;
    position: relative;
}

.mega-menu-column {
    padding: 0;
}

.mega-menu-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0068b7;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    text-align: left;
    line-height: 1.4;
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column ul li {
    margin-bottom: 8px;
}

.mega-menu-column ul li a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    line-height: 1.4;
}

.mega-menu-column ul li a i {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    color: #0068b7;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mega-menu-column ul li a:hover {
    background-color: #f8f9fa;
    color: #0068b7;
    transform: translateX(5px);
}

.mega-menu-column ul li a:hover i {
    color: #004e8a;
}

.mega-menu-column ul li a::after {
    display: none;
}

/* 드롭다운 화살표 회전 효과 */
.mega-menu > a i {
    transition: transform 0.3s ease;
}

.mega-menu:hover > a i {
    transform: rotate(180deg);
}

/* 전체 헤더에 강제 오버플로 설정 */
.site-header,
.top-header,
.top-header .container,
.main-nav,
.header-menu {
    overflow: visible !important;
}

/* 모바일 메뉴 토글 버튼 */
.mobile-menu-toggle {
    display: none;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
    margin-left: auto;
    margin-right: 15px;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: #f8f9fa;
    transform: scale(1.05);
}

.mobile-menu-toggle.active {
    background-color: #0068b7;
    border-color: #0068b7;
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #333333;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 12px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 12px;
}

.mobile-menu-toggle.active span {
    background-color: white;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translate(-50%, 50%) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
    transform: translateX(0);
}



.mobile-menu .mobile-main-menu {
    list-style: none;
    padding: 20px 20px 10px;
    margin: 0;
}

.mobile-menu .mobile-main-menu li {
    margin-bottom: 8px;
}

.mobile-menu .mobile-main-menu li a {
    display: flex;
    align-items: center;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    padding: 16px 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.mobile-menu .mobile-main-menu li a:hover,
.mobile-menu .mobile-main-menu li a.active {
    color: white;
    background-color: #0068b7;
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 104, 183, 0.3);
}

.mobile-menu .mobile-main-menu li a::before {
    content: '▶';
    margin-right: 12px;
    font-size: 12px;
    color: #0068b7;
    transition: all 0.3s ease;
}

.mobile-menu .mobile-main-menu li a:hover::before {
    color: white;
    transform: translateX(4px);
}

.mobile-menu .container {
    padding: 10px 20px 30px;
}

/* 모바일 메뉴 색션 스타일 */
.mobile-divider {
    height: 1px;
    background-color: transparent; /* 배경색 투명으로 변경하여 구분선 제거 */
    margin: 20px 0;
}

/* 모바일 드롭다운 전체 컨테이너 */
.mobile-dropdown {
    margin-bottom: 8px;
}

/* 모바일 드롭다운 메인 컨테이너 (메인 링크 + 화살표) */
.mobile-dropdown-main-container {
    position: relative;
    margin-bottom: 0;
}

/* 모바일 드롭다운 메인 링크 (다른 메뉴와 동일) */
.mobile-dropdown-main {
    display: flex;
    align-items: center;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    padding: 16px 60px 16px 20px; /* 오른쪽에 화살표 공간 확보 */
    background-color: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    width: 100%;
    box-sizing: border-box;
}

.mobile-dropdown-main::before {
    content: '▶';
    margin-right: 12px;
    font-size: 12px;
    color: #0068b7;
    transition: all 0.3s ease;
}

.mobile-dropdown-main:hover,
.mobile-dropdown-main.active {
    color: white;
    background-color: #0068b7;
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 104, 183, 0.3);
}

.mobile-dropdown-main:hover::before {
    color: white;
    transform: translateX(4px);
}

/* 화살표 토글 버튼 (메인 컨테이너 기준 절대위치) */
.mobile-dropdown-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: #e3f2fd;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 104, 183, 0.15);
    z-index: 10;
}

.mobile-dropdown-toggle:hover {
    background-color: #0068b7;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 104, 183, 0.3);
}

.mobile-dropdown-toggle i {
    color: #0068b7;
    font-size: 12px;
    transition: all 0.3s ease;
}

.mobile-dropdown-toggle:hover i {
    color: white;
}

.mobile-dropdown-toggle i.rotate {
    transform: rotate(180deg);
}

/* 모바일 드롭다운 메뉴 업데이트 */
.mobile-dropdown-menu {
    display: none;
    background-color: #f0f4f8;
    padding: 15px;
    margin: 4px 0 8px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e7ed;
}

.mobile-dropdown-menu.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-service-category {
    margin-bottom: 15px;
    padding: 18px;
    background-color: #ffffff;
    border-radius: 12px;
    margin: 8px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.mobile-service-category h5 {
    font-size: 15px;
    font-weight: 700;
    color: #0068b7;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f4fd;
    text-align: center;
}

.mobile-service-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-service-category ul li {
    margin-bottom: 8px;
}

.mobile-service-category ul li a {
    display: flex;
    align-items: center;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.mobile-service-category ul li a i {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    color: #0068b7;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: #e3f2fd;
    border-radius: 50%;
    padding: 2px;
}

.mobile-service-category ul li a:hover {
    background-color: #0068b7;
    color: white;
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0, 104, 183, 0.2);
}

.mobile-service-category ul li a:hover i {
    background-color: white;
    color: #0068b7;
}

.mobile-service-button {
    margin: 25px 20px;
}

.btn-mobile-inquiry {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #4b6fe8, #5a7ff0);
    color: white;
    padding: 18px 20px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(75, 111, 232, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.btn-mobile-inquiry:hover {
    background: linear-gradient(45deg, #3a5bd4, #4b6fe8);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75, 111, 232, 0.4);
}

.btn-mobile-inquiry i {
    font-size: 20px;
    margin-right: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-login-section {
    margin: 25px 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 16px;
    border: 1px solid #e9ecef;
}

.mobile-user-heading {
    display: flex;
    align-items: center;
    color: #0068b7;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mobile-user-heading i {
    margin-right: 12px;
    font-size: 22px;
    background-color: #e3f2fd;
    padding: 8px;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-user-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-user-links li {
    margin-bottom: 8px;
}

.mobile-user-links li a {
    display: flex;
    align-items: center;
    color: #333333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 16px;
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.mobile-user-links li a i {
    width: 20px;
    margin-right: 12px;
    color: #0068b7;
    text-align: center;
}

.mobile-user-links li a:hover {
    background-color: #0068b7;
    color: white;
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0, 104, 183, 0.2);
}

.mobile-user-links li a:hover i {
    color: white;
}

.btn-mobile-login {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: #4b6fe8;
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(75, 111, 232, 0.15);
    border: 2px solid #4b6fe8;
    transition: all 0.3s ease;
    margin: 0 20px;
}

.btn-mobile-login:hover {
    background-color: #4b6fe8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(75, 111, 232, 0.3);
}

.btn-mobile-login i {
    margin-right: 10px;
    font-size: 18px;
}

.mobile-toho-logo {
    margin: 30px 20px 20px;
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 16px;
    border: 1px solid #e9ecef;
}

.link-mobile-toho {
    display: inline-block;
    padding: 12px 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
}

.link-mobile-toho:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.link-mobile-toho img {
    height: 40px;
    width: auto;
    display: block;
}

/* 메뉴 오픈 시 body 스크롤 방지 */
body.menu-open {
    overflow: hidden;
}

/* 메인 비주얼 섹션 - 일반 페이지 스타일 */
.main-visual-section {
    position: relative;
    height: 85vh; /* 뷰포트 높이의 85% */
    max-height: 800px;
    min-height: 600px;
    overflow: hidden; /* 슬라이더를 위해 필요 */
    margin-top: 0;
    padding: 0;
    z-index: 1; /* z-index를 낮게 설정 */
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.main-slider {
    height: 100%;
    width: 100%;
}

.main-slider .slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.main-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 슬라이드 텍스트 오버레이 */
.slide-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    z-index: 5;
    pointer-events: none;
}

.slide-text-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 30px;
}

.slide-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.slide-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 35px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

/* 각 슬라이드별 타이틀 색상 */
.slide-tbiz .slide-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-easy-filers .slide-title {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-order-support .slide-title {
    color: #ff6b35;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-btn {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.9);
    color: #0068b7;
    padding: 11px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
}

.slide-btn:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 슬라이드 텍스트 애니메이션 */
.slide-anime-title {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.slide-anime-title.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-anime-subtitle {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.slide-anime-subtitle.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-anime-btn {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.8s ease;
}

.slide-anime-btn.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 슬라이더 컨트롤 */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.slider-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
    font-size: 14px;
}

.slider-nav span:hover {
    background: #0068b7;
    color: white;
}

/* 일반 섹션 스타일 */
section {
    padding: 80px 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    max-width: min(1200px, 100vw);
}

/* 1600px 이하에서 상담버튼 숨기기 */
@media (max-width: 1600px) {
    .btn-inquiry {
        display: none !important;
    }

    .header-buttons {
        flex: 0 0 200px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100vw;
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 8px;
    }
}

/* 타이틀 스타일 */
.section-title {
    text-align: center;
    font-size: 32px;
    margin: 0 0 10px;
    font-weight: 700;
    color: #001e5b;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    margin: 0 0 50px;
    font-weight: 300;
    color: #666;
}

.section-title-white {
    text-align: center;
    font-size: 32px;
    margin: 0 0 10px;
    font-weight: 700;
    color: white;
}

.section-subtitle-white {
    text-align: center;
    font-size: 18px;
    margin: 0 0 50px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
}

.section-title-dark {
    font-size: 32px;
    font-weight: 700;
    color: #001e5b;
    margin: 0 0 10px;
}

.section-subtitle-dark {
    font-size: 18px;
    font-weight: 300;
    color: #666;
    margin: 0 0 40px;
}

/* 서비스 섹션 메인 스타일 */
.service-section {
    background-color: #ffffff;
}

.service-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 18px;
    color: #333;
}

/* 상단 메인 서비스 카테고리 컨테이너 스타일 */
.service-main-categories {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 60px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* 상단 서비스 카테고리 컨테이너 */
.service-main-categories .service-category-container {
    background-color: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* 작은 컨테이너 (JFS, 고미사) */
.service-main-categories .service-category-small {
    flex: 0.8 !important;
}

/* 큰 컨테이너 (품질관리대행) */
.service-main-categories .service-category-large {
    flex: 1.4 !important;
}

.service-main-categories .service-category-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* 하단 서비스 상세 카테고리 컨테이너 스타일 */
.service-detail-categories {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 40px auto 0;
    width: 80%;
    max-width: 80%;
    box-sizing: border-box;
}

/* 하단 서비스 상세 컨테이너 - 모두 같은 너비 */
.service-detail-container {
    flex: 1;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.service-detail-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 하단 서비스 상세 헤더 - 제목을 예쁘게 디자인 */
.service-detail-header {
    background: linear-gradient(135deg, #0068b7 0%, #004e8a 100%);
    color: white;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-detail-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-detail-container:hover .service-detail-header::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.service-detail-header h5 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

/* 하단 서비스 상세 콘텐츠 */
.service-detail-content {
    padding: 30px 25px;
}

.service-detail-content .service-buttons {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-detail-content .service-buttons li {
    margin-bottom: 12px;
}

.service-detail-content .service-buttons a {
    display: block;
    padding: 14px 18px;
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    background-color: #fafafa;
}

.service-detail-content .service-buttons a:hover {
    border-color: #0068b7;
    color: white;
    background-color: #0068b7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 104, 183, 0.3);
}

/* 카테고리 헤더 (카드 부분) */
.service-category-header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    color: white;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-category-header a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
    border: none;
}

.service-category-header.jfs {
    background-color: #44A7E0;
}

.service-category-header.quality {
    background-color: #004C98;
}

.service-category-header.gomisaa {
    background-color: #00205C;
}

/* 새로운 아이콘 서비스 섹션 스타일 */
.service-new-categories {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 60px auto 0;
    width: 80%;
    max-width: 900px;
    box-sizing: border-box;
}

.service-new-container {
    flex: 1;
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    max-width: 280px;
}

.service-new-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-new-header {
    background-color: #f5f5f5;
    padding: 40px 20px 30px;
    text-align: center;
    position: relative;
}

.service-icon {
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-new-container:hover .service-icon {
    transform: scale(1.05);
}

.service-icon img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.service-new-header h5 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #333;
    text-shadow: none;
}

.service-new-content {
    padding: 25px 20px 30px;
    background-color: #ffffff;
}

.service-new-content .service-new-buttons {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-new-content .service-new-buttons li {
    margin-bottom: 10px;
}

.service-new-content .service-new-buttons a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    background-color: #fafafa;
}

.service-new-content .service-new-buttons a:hover {
    border-color: #0068b7;
    color: white;
    background-color: #0068b7;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 104, 183, 0.3);
}



/* 서브카테고리 섹션 스타일 (기존과 동일하게 유지) */
.service-subcategory-section {
    background-color: #ffffff;
    padding: 40px 0;
}

.service-subcategory-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.service-subcategory-section .service-column {
    width: 100%;
}

.service-subcategory-section .service-column h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    text-align: center;
}

/* 고객 인터뷰 섹션 스타일 */
.customer-section {
    background-color: #f8f8f8;
}

.customer-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.customer-card {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.customer-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 30px auto 15px;
    border: 3px solid #eee;
}

.customer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-info {
    padding: 20px 25px 30px;
    text-align: center;
    background-color: #e8e8e8;
}

.customer-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.customer-company {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.customer-comment {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    min-height: 67px;
}

/* 고객 인터뷰 섹션의 자세히보기 버튼 - 남색 버튼 (크기 85%) */
.btn-more {
    display: inline-block;
    background-color: #0b2c5f;
    color: white;
    border: 1px solid #0b2c5f;
    padding: 8px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-more:hover {
    background-color: white;
    color: #0b2c5f;
    border-color: #0b2c5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 44, 95, 0.3);
}

.text-center {
    text-align: center;
}

/* 고객 인터뷰 섹션의 버튼 여백 조정 */
.customer-section .text-center {
    margin-top: 40px;
}

/* 고객 인터뷰 섹션의 일람버튼 - 애니메이션 강화 */
.btn-view-all {
    display: inline-block !important;
    background-color: white !important;
    color: #0b2c5f !important;
    border: 1px solid #0b2c5f !important;
    padding: 10px 30px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
}

.btn-view-all:hover {
    background-color: #0b2c5f !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(11, 44, 95, 0.3) !important;
}

/* 인포메이션 섹션 스타일 */
.information-section {
    background-color: #002b5c;
    color: white;
}

.info-list {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
}

.info-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
}

.info-item:last-child {
    border-bottom: none;
}

.info-date {
    font-size: 14px;
    margin-right: 20px;
    min-width: 130px;
    color: rgba(255, 255, 255, 0.8);
}

.info-title {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.info-title:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* 인포메이션 섹션의 일람버튼 - 애니메이션 강화 */
.btn-view-all-white {
    display: inline-block !important;
    background-color: transparent !important;
    color: white !important;
    border: 1px solid white !important;
    padding: 10px 30px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    margin-top: 30px !important;
    text-align: center !important;
}

.btn-view-all-white:hover {
    background-color: white !important;
    color: #002b5c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3) !important;
}

/* 회사 개요 섹션 스타일 */
.company-section {
    padding: 0;
    background-color: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.company-container {
    display: flex;
    width: 100%;
    margin: 0;
    height: 720px; /* 600px에서 1.2배 증가된 크기 */
    max-width: 100vw;
    box-sizing: border-box;
}

.company-image-area {
    width: 50%;
    position: relative;
    overflow: hidden;
    height: 720px; /* 전체 크기에 맞춰 수정 */
}

.company-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.company-info-area {
    width: 50%;
    padding: 80px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f5f5f5;
}

.company-info-table {
    max-width: 500px;
}

.company-info-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
    margin-bottom: 30px;
}

.company-info-table th {
    text-align: left;
    font-weight: 700;
    color: #333;
    width: 90px;
    vertical-align: top;
    padding-right: 20px;
}

.company-info-table td {
    color: #555;
    line-height: 1.6;
}

.company-link {
    margin-top: 30px;
    text-align: left;
}

.btn-company {
    display: inline-block;
    background-color: white;
    color: #002b5c;
    border: 1px solid #002b5c;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-company:hover {
    background-color: #002b5c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 43, 92, 0.3);
}

/* 문의하기 섹션 스타일 */
.contact-section {
    background-color: #002060;
    color: white;
}

.contact-intro-white {
    text-align: center;
    margin-bottom: 50px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-methods {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 20px;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
}

.contact-method {
    flex: 1;
    padding: 30px;
    background-color: rgba(0, 65, 129, 0.4);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: rgba(0, 65, 129, 0.6);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: transparent;
    border-radius: 50%;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-method h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    line-height: 1.4;
}

.contact-note {
    font-size: 16px;
    color: white;
    margin-bottom: 25px;
}

.btn-more-white {
    display: inline-block;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-more-white:hover {
    background-color: white;
    color: #002060;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.newsletter {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background-color: transparent;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter p {
    margin-bottom: 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.btn-newsletter {
    display: inline-block;
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-newsletter:hover {
    background-color: white;
    color: #002060;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* 새로운 Contact 섹션 스타일 */
.contact-section-new {
    background-color: #001C60;
    color: white;
    padding: 80px 0 60px;
    position: relative;
}

.contact-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 75%, transparent 75%, transparent);
    background-size: 6px 6px;
    opacity: 0.05;
    pointer-events: none;
}

.contact-methods-new {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 50px auto 40px;
    max-width: 1000px;
    background-color: rgba(10, 54, 110, 0.3);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
    max-width: min(1000px, 100vw);
    box-sizing: border-box;
}

.contact-method-new {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    position: relative;
}

.contact-method-new:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.contact-icon-new {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #0a366e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-icon-new img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.contact-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.contact-note {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.btn-contact {
    display: inline-block;
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-contact:hover {
    background-color: white;
    color: #001C60;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.newsletter-new {
    text-align: center;
    margin-top: 40px;
    padding: 15px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.newsletter-new p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.newsletter-new p i {
    margin-left: 8px;
}

.btn-newsletter-new {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* 푸터 위 이미지 */
.simple-image-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    line-height: 0;
}

.full-width-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 푸터 스타일 */
.site-footer {
    background-color: white;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.company-name {
    margin-bottom: 20px;
}

.company-name p {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

/* 회사 개요 섹션의 회사명 스타일 */
.company-info-area .company-name {
    font-size: 28px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 25px;
    text-align: left;
    padding-bottom: 10px;
    border-bottom: 2px solid #1e3a8a;
}

/* 회사 이념・이력 섹션 스타일 */
.company-philosophy-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f3ff 50%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.company-philosophy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.02"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    opacity: 0.6;
    pointer-events: none;
}

.philosophy-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.philosophy-item {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.philosophy-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6, #60a5fa);
}

.philosophy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.philosophy-icon {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.icon-circle i {
    font-size: 24px;
    color: white;
}

.philosophy-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.philosophy-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 20px;
    font-style: italic;
}

.philosophy-text {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    margin: 0;
    text-align: justify;
}

/* ファデーション・アニメーション強化 */
.philosophy-item.fadein-delay-1 {
    animation-delay: 0.2s;
}

.philosophy-item.fadein-delay-2 {
    animation-delay: 0.4s;
}

.philosophy-item.fadein-delay-3 {
    animation-delay: 0.6s;
}

.philosophy-item.fadein-delay-4 {
    animation-delay: 0.8s;
}

.main-links ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    flex-wrap: wrap;
}

.main-links ul li {
    margin: 0 15px 10px;
}

.main-links ul li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.main-links ul li a:hover {
    color: #0053a5;
}

.sub-links ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-wrap: wrap;
}

.sub-links ul li {
    margin: 0 15px 10px;
}

.sub-links ul li a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.sub-links ul li a:hover {
    color: #0053a5;
}

.footer-copyright p {
    color: #999;
    font-size: 12px;
    margin: 0;
}

/* 스크롤 탑 버튼 */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #0068b7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: #004e8a;
    transform: translateY(-3px);
}

/* 애니메이션 효과 */
.fadein {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fadein.show {
    opacity: 1;
    transform: translateY(0);
}

/* 왼쪽에서 나타나는 애니메이션 */
.fadein-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 1s ease;
}

.fadein-left.show {
    opacity: 1;
    transform: translateX(0);
}

/* 오른쪽에서 나타나는 애니메이션 */
.fadein-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.fadein-right.show {
    opacity: 1;
    transform: translateX(0);
}

/* 확대되면서 나타나는 애니메이션 */
.fadein-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1s ease, transform 1s ease;
}

.fadein-scale.show {
    opacity: 1;
    transform: scale(1);
}

/* 딜레이 애니메이션 */
.fadein-delay-1 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease 0.2s, transform 1s ease 0.2s;
}

.fadein-delay-1.show {
    opacity: 1;
    transform: translateY(0);
}

.fadein-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease 0.4s, transform 1s ease 0.4s;
}

.fadein-delay-2.show {
    opacity: 1;
    transform: translateY(0);
}

.fadein-delay-3 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease 0.6s, transform 1s ease 0.6s;
}

.fadein-delay-3.show {
    opacity: 1;
    transform: translateY(0);
}

.fadein-delay-4 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease 0.8s, transform 1s ease 0.8s;
}

.fadein-delay-4.show {
    opacity: 1;
    transform: translateY(0);
}

/* 로테이션 애니메이션 */
.fadein-rotate {
    opacity: 0;
    transform: rotateY(-15deg);
    transition: opacity 1s ease, transform 1s ease;
}

.fadein-rotate.show {
    opacity: 1;
    transform: rotateY(0);
}

/* 반응형 스타일 */
@media (max-width: 1220px) {
    /* PC에서 햄버거 메뉴 숨기기 */
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        display: none !important;
    }

    .header-buttons {
        display: none !important;
    }

    /* 메가 메뉴 숨기기 */
    .mega-dropdown {
        display: none !important;
    }

    .top-header .container {
        justify-content: space-between !important;
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    .logo {
        order: 1 !important;
        display: flex !important;
        flex: 0 0 auto !important;
        z-index: 1002 !important;
        position: relative !important;
        left: 0 !important;
        margin-right: auto !important;
    }

    .logo img {
        height: 35px !important;
        width: auto !important;
        max-width: 120px !important;
        display: block !important;
        object-fit: contain !important;
    }

    .mobile-menu-toggle {
        display: block !important;
        order: 2 !important;
        z-index: 1002 !important;
        position: relative !important;
        right: 0 !important;
        top: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
    }

    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        background-color: white !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        min-height: 70px !important;
        display: flex !important;
        align-items: center !important;
    }

    /* 서비스 카테고리 모바일 스타일 */
    .service-main-categories {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .service-main-categories .service-category-container {
        width: 100%;
        margin-bottom: 20px;
    }

    .service-detail-categories {
        flex-direction: column;
        gap: 25px;
    }

    .service-detail-container {
        width: 100%;
        margin-bottom: 25px;
    }

    /* 새로운 아이콘 서비스 섹션 모바일 스타일 */
    .service-new-categories {
        flex-direction: column;
        gap: 25px;
        margin: 40px auto 0;
        width: 90%;
    }

    .service-new-container {
        width: 100%;
        max-width: none;
        margin-bottom: 25px;
    }

    .service-new-header {
        padding: 30px 20px 25px;
    }

    .service-icon img {
        width: 80px;
        height: 80px;
    }

    .customer-grid {
        flex-direction: column;
        align-items: center;
    }

    .customer-card {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .contact-methods {
        flex-direction: column;
    }

    .contact-methods-new {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }

    .contact-method-new {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .contact-method-new:not(:last-child)::after {
        display: none;
    }

    .company-container {
        flex-direction: column;
        height: auto;
    }

    .company-image-area,
    .company-info-area {
        width: 100%;
    }

    .company-image-area {
        height: 400px;
    }

    .company-info-area {
        padding: 40px 20px;
    }

    /* 회사 이념 섹션 모바일 스타일 */
    .company-philosophy-section {
        padding: 60px 0;
    }

    .philosophy-content {
        padding: 0 20px;
    }

    .philosophy-item {
        padding: 30px 25px;
        margin-bottom: 25px;
    }

    .philosophy-icon {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
    }

    .icon-circle {
        width: 50px;
        height: 50px;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .icon-circle i {
        font-size: 20px;
    }

    .philosophy-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .philosophy-subtitle {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .philosophy-text {
        font-size: 14px;
        line-height: 1.7;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .main-visual-section {
        height: 60vh;
        min-height: 400px;
    }

    .slide-text-content {
        padding: 0 20px;
        max-width: 90vw;
    }

    .slide-title {
        font-size: 2.4rem;
        margin-bottom: 15px;
        word-wrap: break-word;
        line-height: 1.1;
    }

    .slide-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
        word-wrap: break-word;
        line-height: 1.4;
    }

    .slide-btn {
        padding: 8px 16px;
        font-size: 0.72rem;
        white-space: nowrap;
    }

    section {
        padding: 60px 0;
    }

    .section-title,
    .section-title-white,
    .section-title-dark {
        font-size: 28px;
    }

    .section-subtitle,
    .section-subtitle-white,
    .section-subtitle-dark {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .service-category-header {
        height: 120px;
        font-size: 24px;
    }

    .service-detail-header {
        padding: 20px 15px;
    }

    .service-detail-header h5 {
        font-size: 20px;
    }

    .service-detail-content {
        padding: 20px 15px;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-date {
        margin-bottom: 5px;
    }

    .simple-image-container {
        height: 300px;
    }

    .main-links ul,
    .sub-links ul {
        flex-direction: column;
    }

    .main-links ul li,
    .sub-links ul li {
        margin: 5px 0;
    }
}

@media (max-width: 576px) {
    .main-visual-section {
        height: 50vh;
        min-height: 300px;
    }

    .slide-text-content {
        padding: 0 15px;
        max-width: 95vw;
    }

    .slide-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
        word-wrap: break-word;
        line-height: 1.1;
    }

    .slide-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
        word-wrap: break-word;
        line-height: 1.4;
    }

    .slide-btn {
        padding: 6px 13px;
        font-size: 0.64rem;
        white-space: nowrap;
    }

    .slider-controls {
        bottom: 20px;
        z-index: 1000 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .slider-nav {
        gap: 8px;
    }

    .slider-nav span {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }

    .service-category-header {
        height: 100px;
        font-size: 22px;
    }

    .service-detail-header {
        padding: 18px 12px;
    }

    .service-detail-header h5 {
        font-size: 18px;
    }

    .service-detail-content {
        padding: 15px 10px;
    }

    .service-detail-content .service-buttons a {
        padding: 12px 15px;
        font-size: 14px;
    }

    .company-image-area {
        height: 480px;
    }

    .company-info-area {
        padding: 30px 15px;
    }

    .contact-method {
        padding: 20px;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .contact-method h4 {
        font-size: 16px;
    }

    .contact-note {
        font-size: 14px;
    }

    /* 회사 이념 섹션 소형 모바일 스타일 */
    .company-philosophy-section {
        padding: 50px 0;
    }

    .philosophy-content {
        padding: 0 15px;
    }

    .philosophy-item {
        padding: 25px 20px;
        margin-bottom: 20px;
        border-radius: 15px;
    }

    .philosophy-title {
        font-size: 16px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .philosophy-subtitle {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .philosophy-text {
        font-size: 13px;
        line-height: 1.6;
        text-align: left;
    }

    .icon-circle {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }

    .icon-circle i {
        font-size: 18px;
    }

    .simple-image-container {
        height: 200px;
    }

    .scroll-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 20px;
        right: 20px;
    }
}