/* 푸터 전체 컨테이너 */
.footer {
    background-color: #121314;
    color: #999999;
    padding: 80px 15px;
    font-size: 12px;
    line-height: 1.8;
}

.footer-container {
    max-width: var(--max-width2);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

/* --- 왼쪽 영역 스타일 --- */
.footer-left {
    flex: 1;
    min-width: 300px;
}

/* 로고 영역 (이미지가 있다면 <img> 태그로 대체 권장) */
.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    color: #ffffff;
}
.footer-logo img {
    width: var(--width-160-250);
    height: auto;
    transition-duration: 0.3s;
}

/* 상단 메뉴 */
.footer-menu {
    list-style: none;
    display: flex;
    gap: var(--padding-8-15);
    margin-bottom: 20px;
    font-size: var(--font-size-14-16);
}

.footer-menu a {
    color: #d1d1d1;
    text-decoration: none;
}

.footer-menu a.bold {
    font-weight: bold;
    color: #ffffff;
}

/* 기업 정보 및 카피라이트 */
.footer-info {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    font-size: var(--font-size-13-15);
}

.footer-info span {
    margin-right: 12px;
    display: inline-block;
}
.footer-info p {
    text-align: left;
}

.footer-copyright {
    display: flex;
    margin-top: 20px;
    color: #666666;
    justify-content: flex-start;
    align-items: center;
    font-size: var(--font-size-13-14);
}


/* --- 오른쪽 영역 스타일 --- */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    min-width: 25px;
}

/* SNS 아이콘 스타일 */
.footer-sns {
    display: flex;
    gap: 8px;
}

.sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.sns-icon img {
	width: 100%;
    max-width: var(--width-20-30);
    height: 100%;
    border-radius: 6px;
}


/* 연락처 */
.footer-tel {
    text-align: right;
}

.tel-number {
    font-size: var(--font-size-20-36);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.5px;
}
.tel-number a {
    color: #ffffff;
}

.floating-area {
    position: fixed;
    display: flex;
    right: 15px;
    bottom: 60px;
    z-index: 99;
    flex-direction: column;
    align-items: center;
    gap: var(--padding-15-30);
}
/* 1. 우측 중앙 플로팅 메뉴 컨테이너 */
.floating-container {
    position: relative;
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #333333;
    border-radius: 80px;
    gap: var(--padding-20-40);
    padding: var(--padding-15-30) var(--padding-10-20);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9;
}

/* 개별 메뉴 아이템 */
.floating-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-size: var(--font-size-13-13);
    font-weight: 400;
    transition: transform 0.2s ease;
}

.floating-item:hover {
    transform: scale(1.05);
}

/* 아이콘 원형 배경 */
.icon-circle {
    width: 26px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--padding-4-8);
}

/* 카톡 아이콘 글자 스타일 */
.chat-icon {
    font-size: 10px;
    letter-spacing: -0.5px;
}
/* 모바일 화면 (예: 화면 너비 768px 이하)에서의 하단 배치 스타일 */
@media screen and (max-width: 768px) {
    .floating-container {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        flex-direction: row; /* 가로 배열 */
		justify-content: space-evenly;
        padding: 10px 0;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.0);
    }

    .floating-item {
        flex-direction: row; /* 아이콘과 텍스트를 가로로 배치하거나 세로 유지 선택 */
        align-items: center;
        gap: 5px;
    }
	.icon-circle {
		margin-bottom: 0;
	}
}

/* 패밀리 사이트 선택창 */
.family-site select {
    border: none;
	outline: none;
    padding: 8px 35px 8px 15px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    width: 160px;
    cursor: pointer;
    /* 기본 화살표 스타일 커스텀 */
    appearance: none;
    /* 따옴표 감싸기 및 xmlns 보완 */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 20px;
	}
	/* 클릭/포커스 상태 (위쪽 화살표 ▲) */
.family-site select:focus {
	  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M7 14l5-5 5 5z'/%3E%3C/svg%3E");
	}

/* 반응형 모바일 대응 */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
	.footer-menu {
		justify-content: center;
	}
    .footer-right {
        align-items: flex-start;
        width: 100%;
    }
    .footer-tel {
        text-align: left;
    }
	.footer-logo {
		justify-content: center;
	}
	.footer-copyright {
		justify-content: center;
	}
	.footer-sns {
		margin: 0 auto;
	}
	.footer-tel {
        text-align: center;
        margin: 0 auto;
    }
	.family-site {
        margin: 0 auto;
    }
	.footer-info p {
		text-align: center;
	}
}