/* 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;
}

/* 기본 폰트 크기 (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;
    }
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
	 overflow-x: hidden;
}
.header {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    color: #333;
    padding: 0 15px;
	border-bottom: 0.5px solid #BDBDBD;
}

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

.menu a {
    color: #333;
    text-decoration: none;
    margin-right: 20px;
}

.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: #333;
}

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

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

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


@media (max-width: 768px) {
    .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 {
    width: 90%;
    max-width: 600px;
    background-color: #f8f9fa;
    padding: 5px 20px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center; /* 기본적으로 내부 요소 중앙 정렬 */
}

html {
  scroll-behavior: smooth;
}

.content-box {
  scroll-margin-top: 100px; /* 헤더 높이에 따라 값 조절 */
}

/* 제목 (h2) 중앙 정렬 */
.content-box h2 {
    text-align: center;
    margin-bottom: 15px;
}

/* 본문 (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 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;
    }
	
	@media (max-width: 768px) {
	  .footer-bottom {
		padding-bottom: 60px; /* 모바일: 아래만 크게 */
	  }
	}

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: 140px;
	padding-top:20px;
	padding-bottom:20px;
}

.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;
}