/* sub.css */

body {
    margin: 0;
    font-family: 'Noto Sans KR', sans-serif;
    background: #fff;
    color: #333;
}

.inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#header {
	position: static;
}

#header .handle {
	top: 70px;
}

.sub-header {
    border-bottom: 1px solid #ddd;
    background-color: #fff;
    padding: 20px 0;
}

/* 헤더 전체를 flex로 정렬 */
.sub-header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* 로고 왼쪽 / 메뉴 오른쪽 */
}


/* 로고 사이즈 조정 */
.sub-header .logo img {
    height: 40px;
}

/* GNB 메뉴 기본 스타일 */
.sub-gnb ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sub-gnb a {
    text-decoration: none;
    color: #858484;
    font-weight: 500;
}

.sub-gnb a:hover {
    color: #7b6788;
}


.sub-container {
    padding: 60px 0;
}

.sub-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.sub-content p {
    font-size: 16px;
    line-height: 1.6;
}


.sub-footer {
    background-color: #f8f8f8;
    padding: 30px 0;
    border-top: 1px solid #ccc;
    text-align: center;
}

.sub-footer .sns_list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin-bottom: 15px;
}

.sub-footer .sns_list img {
    width: 24px;
    height: 24px;
}

.sub-footer .E-Mail {
    font-size: 14px;
    color: #666666d0;
}

.sub-footer .copyright {
    font-size: 13px;
    color: #999;
    margin-top: 5px;
}


.sub-footer .sns_list li {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin: 0 10px;
    position: relative;
}

.sub-footer .sns_list li a {
    display: block;
    width: 100%;
    height: 100%;
}

.sub-footer .sns_list li a img {
    width: 100%;
    height: auto;
    display: block;
}

.sub-footer .sns_list li:nth-child(1) a {
    padding-top: 4px;
}

/* ▶ 유튜브 */
.sub-footer .sns_list li:nth-child(1) a:hover img {
    content: url("../images/youtube_hover.png");
}

/* ▶ 인스타그램 hover 시 이미지 변경 */
.sub-footer .sns_list li:nth-child(2) a:hover img {
    content: url("../images/instar_hover.png");
}


/* ▶ 네이버 */
.sub-footer .sns_list li:nth-child(3) a:hover img {
    content: url("../images/naver_hover.png");
}

/* ▶ 페이스북 */
.sub-footer .sns_list li:nth-child(4) a:hover img {
    content: url("../images/facebook_hover.png");
}
address a:hover { color: #7b6788;}