@charset "UTF-8";

/* 메인 콘텐츠 영역 */
#main-content {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

/* 메인 영역 */
.main-area {
	display: flex;
	width: 100%;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 40px;
	background-color: #F6F6F9;
	padding: 40px 0px;
	justify-content: center;
}

.main-image {
	width: 718px;
	border-radius: 35px;
}
/* 타이틀 컨테이너 */
.title-container {
	font-weight: 700;
	font-size: 33px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.title-container-content {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}
/* 회색 텍스트 */
.gray {
	font-size: 24px;
	font-weight: 500;
	color: #8A8A8D;
}

/* 요청 버튼 */
.req-button {
	background-color: #3578F6;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 380px;
	height: 88px;
	border-radius: 150px;
	font-size: 32px;
	font-weight: 700;
	cursor: pointer;
	border: none;
}

/* 검색 영역 */
.search-area {
	box-sizing: border-box;
	width: 100%;
	background-color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 40px 20px;
}

/* 검색 컨테이너 */
.search-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
}

/* 검색 제목 */
.search-title {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-weight: 700;
	font-size: 33px;
	color: #8A8A8D;
}

/* 입력 컨테이너 */
.input-container {
	box-sizing: border-box;
	width: 100%;
	font-size: 30px;
	font-weight: 500;
	border: 4px solid #3578F6;
	border-radius: 12px;
	margin-bottom: 20px;
	color: #3578F6;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 30px;
	cursor: pointer;
}

.input-container div {
	font-size: 30px;
}

/* 입력 컨테이너 내 이미지 */

/* 폼 입력 스타일 */

/* 입력 필드의 placeholder 색상 */
::placeholder {
	color: #3578F6;
}

/* 강조 텍스트 */
.search-title span, .title-container span {
	font-weight: 700;
	color: #3578F6;
}

/* 슬라이드 영역   display: flex;
    align-items: center;
    justify-content: center;*/
.notice-area, .advertise-area {
	width: 100%;
	height: 297px;
	background-color: #F6F6F9;
	position: relative;
	overflow: hidden;
	position: relative; /* 화면 밖으로 나간 부분을 잘라내기 */
}

/* 슬라이더 */
/* 슬라이드 영역 */
.notice-area {
	background-color: #F6F6F9;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden; /* 화면 밖으로 나간 부분을 잘라내기 */
}

/* 슬라이더 */
.slider {
	display: flex;
	transition: transform 0.3s ease; /* 슬라이드 전환 애니메이션 */
}

/* 각 슬라이드 */
.slide {
	width: calc(50vw - 140px);
	height: 200px;
	background-color: white;
	border-radius: 26px;
	padding: 20px 60px;
	margin: 0 10px; /* 슬라이드 간격 */
	transition: transform 0.3s ease, opacity 0.3s ease; /* 슬라이드 전환 애니메이션 */
}
.slide-title {
	font-size: 20px;
	color: #333;
	margin-bottom: 10px;
}

.slide-content {
	font-size: 16px;
	color: #666;
}
/* 가운데 슬라이드 */

/* 화살표 버튼 */
.web-prev-btn, .web-next-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: auto;
	cursor: pointer;
	z-index: 9;
}

.mobile-prev-btn, .mobile-next-btn {
	display: none;
}
/* 왼쪽 화살표 */
.web-prev-btn {
	left: 26vw;
}

/* 오른쪽 화살표 */
.web-next-btn {
	right: 26vw;
}

/* 화살표 이미지 크기 조정 */
.prev-btn img, .next-btn img {
	width: 100%;
	height: 100%;
}

/* 광고 영역 */
.advertise-area {
	background-color: white;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden; /* 화면 밖으로 나간 부분을 잘라내기 */
}

/* 광고 슬라이드 스타일 */
.advertise-area .slide {
	background-color: #D3D8E0;
}

.slide-page {
	background-color: #8A8A8D;
	width: 85px;
	height: 25px;
	padding-top: 5px;
	padding-bottom: 5px;
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 22px;
	font-weight: 500;
	border-radius: 35px;
	position: absolute;
	top: 70%;
	right: 28vw;
	line-height: 24.64px;
}
.form-container{
	width: 100%;
}
@media ( max-width : 767px) {
	.main-area {
		padding-bottom: 0px;
	}
	.search-area {
		padding: 20px;
	}
	.title-container {
		font-size: 20px;
		line-height: 29px;
	}
	.title-container .gray {
		font-size: 14px;
	}
	.req-button {
		width: 208px;
		height: 48px;
		font-size: 18px;
	}
	.main-image {
		border-radius: 0px;
	}
	.search-title {
		font-size: 20px;
	}
	form {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		justify-content: center;
	}
	.input-container {
		width: 100%;
		height: 50px;
		font-size: 20px;
		border: 3px solid #3578F6;
		border-radius: 6px;
		padding: 10px 20px;
	}
	.input-container div {
		font-size: 20px;
	}
	.input-container img{
		width: 21px;
		height: 21px;
	}
	.main-image {
		width: 100vw;
	}
	.slide div {
		font-size: 14px;
	}
	.slide h1 {
		font-size: 20px;
	}
	.slide {
		border-radius: 0;
		background-color: #F6F6F9;
		box-sizing: border-box;
		height: 180px;
		margin: 0;
		padding: 20px;
		box-sizing: border-box; /* 슬라이드 간격 */
	}
	.mobile-prev-btn, .mobile-next-btn {
		position: absolute;
		top: 70%;
		transform: translateY(-50%);
		width: 40px;
		height: auto;
		cursor: pointer;
		z-index: 9;
		display: block;
		top: 80%;
	}
	.mobile-prev-btn {
		left: 5vw;
	}
	.mobile-next-btn {
		right: 5vw;
	}
	.web-prev-btn, .web-next-btn {
		display: none;
	}
	.notice-area, .advertise-area {
		height: 180px;
	}
	.slide-page {
		display: none;
	}
}

@media ( min-width : 601px) and (max-width: 717px) {
	.main-image {
		width: 100vw;
	}
}