/* Noto Sans KR 폰트를 불러오기 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&display=swap');

/* 본문과 제목에 Noto Sans KR 폰트 적용하기 */
body,
h1, h2, h3, h4, h5, h6, p, a {
    font-family: 'Noto Sans KR', sans-serif;
	margin: 0;
	padding: 0;
}


/* 기본 폰트 크기 (PC & 태블릿) */
h1 {
    font-size: 36px;   /* 메인 제목 */
    font-weight: bold;
    line-height: 1.4;
}

h2 {
    font-size: 30px;   /* 섹션 제목 */
    font-weight: bold;
    line-height: 1.4;
}

h3 {
    font-size: 24px;   /* 하위 섹션 제목 */
    font-weight: bold;
    line-height: 1.4;
}

/* 모바일 최적화 (768px 이하) */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 28px; /* 모바일에서는 조금 축소 */
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }
}


.header {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0); /* 초기 투명 */
    color: #333;
    padding: 10px 15px;
    z-index: 100;
	border-bottom: 0.5px solid rgba(229, 231, 235, 0.3);

}

/* 스크롤 내릴 때 적용될 클래스 */
.header.scrolled {
    background-color: #000000; /* 스크롤 시 흰색 */
}


.header-container {
    max-width: 1200px; /* 원하는 최대 폭 설정 */
    width: 100%;
    margin: 0 auto; /* 중앙 정렬 */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.menu a:hover {
    text-decoration: underline;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    justify-content: space-between;
}

.hamburger div {
    width: 30px;
    height: 4px;
    background-color: #FFFFFF;
}

.mobile-menu {
	display: none;
	flex-direction: column;
	position: fixed; /* absolute에서 fixed로 변경 */
	top: 20; /* 상단에 고정 */
	right: 10px;
	background-color: #000000;
	padding: 10px;
	width: 150px;
	z-index: 1000; /* 메뉴가 다른 콘텐츠 위로 보이도록 설정 */
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 10px;
    text-align: center;
}

.mobile-menu a:hover {
    background-color: #555;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 100px; /* 헤더 높이만큼 위쪽 여백 */
}

@media (max-width: 1100px) {
    .menu {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .mobile-menu.active {
        display: flex;
    }
}

/* 이미지 스타일 - 반응형 설정 */

.main-image {
    width: 100%;
    max-width: 1200px; /* 최대 너비 설정 */
    height: auto; /* 가로 비율 유지 */
    display: block;
    margin: 0px auto;
}

.sub-image {
    width: 100%;
    max-width: 1000px; /* 최대 너비 설정 */
    height: auto; /* 가로 비율 유지 */
    display: block;
    margin: 0px auto;
}

.tel-image {
    width: 100%;
    max-width: 800px; /* 최대 너비 설정 */
    height: auto; /* 가로 비율 유지 */
    display: block;
    margin: 20px auto;
}

.plan-img {
    width: 100%;
    height: auto; /* 가로 비율 유지 */
    display: block;
    margin: 20px auto;
    border-radius: 10px; /* 모서리 둥글게 (선택사항) */
}

/* 가운데 정렬된 박스 */
.content-box-top {
	color: #ffffff;
    width: 5rem;
    padding: 10px;
    margin: 100px auto 0;
    text-align: center; /* 기본적으로 내부 요소 중앙 정렬 */
	background-color: rgb(75, 145, 255);
	border-radius: 35px;
}

/* 가운데 정렬된 박스 */
.content-box {
    width: 90%;
    max-width: 600px;
    padding: 10px;
    margin: 10px auto;
    text-align: center; /* 기본적으로 내부 요소 중앙 정렬 */
}

/* 본문 (p) 왼쪽 정렬 */
.content-box p {
    text-align: left;
    line-height: 1.6; /* 가독성을 위한 줄 간격 */
}

/* 반응형: 작은 화면에서 여백 조정 */
@media (max-width: 480px) {
    .content-box {
        padding: 15px; /* 패딩 줄이기 */
    }
}

.title-link {
    text-decoration: none; /* 밑줄 제거 */
    color: #333; /* 부모 요소의 색상을 상속받음 */
	font-size: 26px;
	font-weight: bold;
}

    .footer {
        background-color: #333;
        color: #fff;
        padding: 20px;
        margin-top: 20px;
    }

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

    .footer a:hover {
        text-decoration: underline;
    }

    .footer h3 {
        margin-bottom: 10px;
    }

    .footer ul {
        list-style: none;
        padding: 0;
    }

    .footer ul li {
        margin-bottom: 5px;
    }

    .footer-content {
        display: block;
        text-align: center;
    }

    .footer-bottom {
        text-align: center;
        margin-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 10px;
    }
	
/* 개인정보 관련 안내문 스크롤 설정 */
.privacy-policy {
    max-height: 120px; /* 최대 높이 150px로 설정 */
    overflow-y: auto; /* 세로 스크롤이 가능하도록 */
    border: 1px solid #ccc; /* 테두리 */
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px; /* 모서리 둥글게 */
    font-size: 14px; /* 폰트 크기 */
    color: #333;
    margin-bottom: 15px; /* 하단 여백 */
}	
	
/* 개인정보 수집 및 이용 동의 항목 스타일 */
.consent {
    margin-bottom: 15px; /* 하단 여백 */
}

.consent label {
    color: #333;
}

.consent input[type="checkbox"] {
    margin-right: 8px; /* 체크박스와 텍스트 간 여백 */
}

/* 체크박스가 선택되었을 때 텍스트 색상을 약간 강조 */
.consent input[type="checkbox"]:checked + label {
    font-weight: bold;
    color: #4CAF50; /* 체크박스 선택 시 강조 색상 */
}

/* 버튼과 폼의 스타일은 이전과 동일 */
form {
    max-width: 600px; /* 폼 최대 너비 600px */
    margin: 20px auto; /* 상하 여백 20px, 좌우 중앙 정렬 */
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px; /* 모서리 둥글게 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 약간의 그림자 효과 */
}

/* 기존 폼 스타일을 그대로 유지 */
label {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    display: block; /* 라벨을 블록 요소로 */
    margin-bottom: 8px;
}

input[type="text"], textarea {
    width: 100%; /* 너비 100% */
    padding: 12px;
    margin-bottom: 15px; /* 입력 필드 간 여백 */
    border: 1px solid #ccc; /* 테두리 색 */
    border-radius: 4px; /* 모서리 둥글게 */
    font-size: 16px;
    box-sizing: border-box; /* padding을 너비에 포함 */
}

textarea {
    height: 150px; /* 높이 150px */
}

button {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50; /* 버튼 색상 */
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s; /* 호버 시 색상 변화 */
}

button:hover {
    background-color: #45a049; /* 버튼 색상 호버 시 */
}

button:active {
    transform: scale(0.98); /* 버튼 클릭 시 살짝 눌리는 효과 */
}

@media (max-width: 768px) {
    .mobile-buttons {
        position: fixed;
        bottom: 0px;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .mobile-buttons a {
		width: 50%;
        text-decoration: none;
        border: none;
        padding: 20px 20px;
        font-size: 16px;
		text-align: center;
        cursor: pointer;
        display: inline-block;
        color: white;
    }
    .left-button {
        background-color: #2d3047; /* 초록색 */
    }
    .right-button {
        background-color: #93b7be; /* 파란색 */
    }
}

@media (min-width: 769px) {
    .mobile-buttons {
        display: none;
    }
}

.logo{
	width: 180px;
	padding-top:15px;
	padding-bottom:15px;
}

.contact-button {
	width: 120px;
    background-color: #007bff;	
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    margin-left: 16px;
	padding: 10px 0;
}

.contact-button:hover {
    background-color: #0056b3;
}
