input[type=radio] {
	padding: 6px !important;
}
input[type=checkbox] {
	padding: 6px !important;
	border-radius: 0 !important; 
}
.consult_form select {
  appearance:none;
	background:url('/images/middle-aged/utils/select_arrow.png') no-repeat right 24px center;
}
.consult .sub_container {
	max-width:640px;
	padding: 80px 0;
}
.consult_title {
	text-align: center;
	font-size: 35px;
	color: #1c1c1c;
	line-height: 1;
	margin-bottom: 32px;
}
.consult_desc {
	font-size: 18px;
	color:#1c1c1c;
	line-height: 1.4;
	font-weight: 400;
	text-align: center;
}

.consult_form {
	margin-top: 50px;
	margin-right: 10%;
}
.consult_form .form_area table {
	width: 100%;
}
.consult_form .form_area tr {
	width: 100%;
	display: flex;
	align-items: center;
	color:#1c1c1c;
	margin-bottom: 17px;
}
.consult_form .form_area tr.agree {
	margin-top: 20px;
}
.consult_form .form_area tr.agree td {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.consult_form .form_area tr.agree td input {
	width: 17px;
	border-radius: 0;
	margin-right: 5px;
	cursor: pointer;
}
.consult_form .form_area tr.agree td label {
	cursor: pointer;
}
.consult_form .form_area tr.agree td a {
	font-size: 12px;
	color:#fff;
	background-color: #606060;
	padding: 2px 8px 4px;
	margin-left: 18px;
	cursor: pointer;
}
.consult_form .form_area tr.agree .sns {
	margin-left: 30px;
}
.consult_form .form_area tr.agree .agree_box {
	display: none;
	margin: 12px 0;
	max-height: 170px; /* 원하는 높이로 설정 */
	overflow-y: auto; /* 수직 스크롤 생성 */
	overflow-x: hidden; /* 가로 스크롤 숨김 */
	width: 100%;
	font-size: 13px;
	color: #989898;
	border: 1px solid #d2d2d2;
	padding: 20px;
	box-sizing: border-box;
	word-break: keep-all;
}
.consult_form .form_area tr th {
	width: 16%;
	text-align: left;
	font-size: 16px;
	line-height: 1;
	font-weight: 400;
}
.consult_form .form_area tr td {
	width: 84%;
}
.consult_form .form_area tr td.surgery select {
	width: 100%;
	border: 1px solid #d2d2d2;
	padding:  22px 20px;
	box-sizing: border-box;
	color:#989898;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	
}
.consult_form .form_area tr td.phone {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0 7px;
}
.consult_form .form_area tr td.phone select {
	width: 90%;
	border: 1px solid #d2d2d2;
	padding: 17px 20px;
	font-size: 16px;
	cursor: pointer;
}
.consult_form .form_area tr td input {
	width: 100%;
	border: 1px solid #d2d2d2;
	padding: 20px;
	box-sizing: border-box;
}
.consult_form .form_area .btn_wrap {
	margin-top: 55px;
	display: flex;
	justify-content: right;
	gap: 0 10px;
	width: 84%;
	margin-left: 16%;
}
.consult_form .form_area .btn_wrap > button {
	width: calc(100% / 2 - 5px);
	padding: 16px 0 18px;
	font-size: 20px;
	color:#fff;
	font-weight: 500;
	background-color: #444444;
	cursor: pointer;
}
.consult_form .form_area .btn_wrap > button.cancel {
	background-color: #898989;
}

/* 카카오 상담 */
.kakao_consult {
	text-align: center;
}
.kakao_consult .logo {
	margin: 30px auto 20px;
	width: 200px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 6px 16px;
	box-sizing: border-box;
	background-color: #f9e213;
	border-radius: 20px;
	color:#361a2a;
	font-size: 18px;
	font-weight: 500;
	position: relative;
}
.kakao_consult .logo img {
	position: absolute;
	left: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
}
.kakao_consult .time {
	font-size: 18px;
	color:#1c1c1c;
}
.kakao_consult .time span {
	font-weight: 500;
}

/* 온라인 예약 */
.consult.reserve .sub_container {
	max-width: 1200px;
	padding: 80px 0;
	
}
.consult.reserve .form_area {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 80px;
}
.consult.reserve .form_area .req {
	display: inline-block;
	margin-left: 3px;
	color: #f73031;
}
.consult.reserve .form_area .info {
	width: 48%;
}
.consult.reserve .form_area .info .gender {
	width: 40%;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 0 40px;
}
.consult.reserve .form_area .info .gender > div {
	display: flex;
	align-items: center;
	gap: 0 8px;
	width:28%;
}
.consult.reserve .form_area .info .gender > div label,
.consult.reserve .form_area .info .gender > div input {
	cursor: pointer;
}
.consult.reserve .form_area .info .gender > div input {
	width: 30%;
} 
.consult.reserve .form_area .info .gender {
	width: 40%;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 0 40px;
}
.consult.reserve .form_area .info tr {
	margin-bottom: 30px;
}
.path_tr {
	align-items: flex-start !important;
}
.path_tr th{
	margin-top: 4px;
}
.consult.reserve .form_area .info .path {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 20px;
	box-sizing: border-box;
}
.consult.reserve .form_area .info .path > div {
	display: flex;
	align-items: center;
	gap: 0 8px;
	width: 20%;
}
.consult.reserve .form_area .info .path > div label,
.consult.reserve .form_area .info .path > div input {
	cursor: pointer;
}
.consult.reserve .form_area .info .path > div input {
	width: auto;
} 
.consult.reserve .form_area .content {
	width: 100%;
	height: 160px;
	display: flex;
	gap: 0 85px;
}
.consult.reserve .form_area .content textarea {
	flex: 1;
	background-color: #fff;
	resize: none;
	border: 1px solid #d2d2d2;
	padding: 16px;
	box-sizing: border-box;
	border-radius: 0;
}

.consult.reserve .form_area > .day {
	width: calc(52% - 80px);
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}
.consult.reserve .form_area .day .calendar {
	width: 80%;
}
.consult_form .form_area .day tr {
	margin-bottom: 25px;
	color:#656565;
	cursor: pointer;
}
.consult_form .form_area .day tr th {
	width: 100%;
	display: flex;
	align-items: center;
	color: #1c1c1c;
	justify-content: center;
}
/* ======== Calendar ======== */
.my-calendar {
	width: 100%;
	text-align: center;
	cursor: default;
}

.my-calendar .calendar-box {
	width: 100%;
}
.ctr-box {
	display: flex;
	justify-content: space-between;
	margin-bottom: 40px;
}
.ctr-box .btn-cal {
	position: relative;
	cursor: pointer;
	border: none;
	background: none;
}
.ctr-box .btn-cal.prev::after {
	content: '';
	position: absolute;
	background-image: url(/images/middle-aged/utils/calendar_prev.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	top: 50%;
	transform: translateY(-50%);
	left: 20px;
  width: 16px;
	height: 16px;
}
.ctr-box .btn-cal.next::after {
	content: '';
	position: absolute;
	background-image: url(/images/middle-aged/utils/calendar_next.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	top: 50%;
	transform: translateY(-50%);
	right: 20px;
	width: 16px;
	height: 16px;
}

.cal-table {
	width: 100%;
}
.day-active {
	position: relative;
	z-index: 2;
	color:#fff;
	line-height: 1;
}
.day-active::before {
	position: absolute;
	content: "";
	left:50%;
	top: 48%;
	transform: translate(-50%, -50%);
	width: 70%;
	z-index: -1;
	aspect-ratio: 1/1;
	background-color: #f73131;
	border-radius: 50%;
}
.disabled {
	color: #ccc;
	pointer-events: none;
}

/* 온라인 상담 */
.board{margin-top:70px;margin-bottom:80px;}
.board .notice{
	width:100%;
	margin-top: 50px;
	}
.board .notice > ul{
	font-size:0;
	}
.board .notice > ul > li{
	display:inline-block;
	color:#666666;
	font-size:15px;
	height:52px;
	line-height:52px;
	border-bottom:1px solid #e5e5e5;
	}
.board .notice > ul.notice_head{border-top:2px solid #21212d;}
.board .notice > ul.notice_head > li{
	color:#000000;
	border-bottom:0;
	background:#f7f7f7;
	}
.board .notice > ul.notice_con{}
.board .notice > ul.notice_con > li{background:none;}
.board .notice > ul > li.num{width:100px;text-align:center;}
.board .notice > ul > li.cate{width:150px; text-align:center;}
.board .notice > ul > li.title{width:688px;padding-left:35px;}
.board .notice > ul > li.title a{color:#666666; font-size:15px;}
.board .notice > ul > li.answer{width:100px;text-align:center;}
.board .notice > ul > li.write{width:165px;text-align:center;}
.board .notice > ul > li.date{width:142px;text-align:center;}
.board .check_box:after{display:block; content:""; clear:both;}
.board .check_box li{float:left; margin-right:20px;}
.board .check_box input[type=checkbox] {
		position: absolute;
		overflow: hidden;
		clip: rect(0 0 0 0);
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		border: 0;
}
.board .check_box input[type=checkbox]+label {
		position: relative;
		padding-left: 52px;
		color: #999;
		font-size: 18px;
}
.board .check_box input[type=checkbox]+label:after, input[type=checkbox]+label:before {
		position: absolute;
		left: 0;
		display: block;
		-webkit-box-sizing: content-box;
		box-sizing: content-box;
		content: '';
}
.board .check_box input[type=checkbox]+label:before {
		top: 25%;
		width: 30px;
		height: 30px;
		margin-top: -8px;
		text-align: center;
		border: 1px solid #e1e1e1;
		background: #fff;
}
.board .check_box input[type=checkbox]+label:after {
		top: 35%;
		left: 5px;
		width: 17px;
		height: 10px;
		margin-top: -4px;
		display: none;
		-webkit-transform: rotate(-45deg) translate(0,-50%);
		transform: rotate(-45deg) translate(0,-50%);
		border-width: 0 0 4px 4px;
		border-style: solid;
		border-color: #6d6d6d;
		background-color: transparent;
}
.board .check_box input[type=checkbox]:checked+label:after {
		content: '';
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
		display: block;
}


@media (max-width: 1200px){
	/* 온라인 예약 */
	.consult.reserve .sub_container {
		max-width: 1200px;
		padding: 80px 0;
	}
	.consult.reserve .form_area {
		gap: 40px 0;
	}
	.consult.reserve .form_area .info {
		width: 100%;
	}
	.consult.reserve .form_area > .day {
		width:  100%;
		justify-content: flex-start;
	}
	.consult.reserve .form_area .day .calendar {
		width: 84%;
		max-width: 400px;
	}
	.consult.reserve .form_area .info .path {
		gap: 10px 12px;
	}
	.consult.reserve .form_area .content {
		width: 100%;
		gap: 0;
	}
	.consult.reserve .form_area .day .title,
	.consult.reserve .form_area .content .title {
		width: 16%;
	}
	.consult.reserve .form_area .content textarea {
		flex: 1;
		
	}
}
@media (max-width: 768px){
	.consult .sub_container{
		padding: 80px 0;
		margin-top: 154px;
	}
	.consult_title {
		font-size: 28px;
		margin-bottom: 16px;
	}
	.consult_desc {
		font-size: 16px;
		word-break: keep-all;
	}
	.consult_form {
		margin-top: 30px;
		margin-right: 0;
	}
	.consult.reserve .form_area {
		gap: 0 ;
	}
	.consult_form .form_area table:not(.cal-table) tr {
		flex-wrap: wrap;
		margin-bottom: 30px;
	}
	.consult_form .form_area tr:not(.cal-table) th {
		width: 100%;
		font-size: 16px;
		margin-bottom: 17px;
	}
	.consult_form .form_area tr:not(.cal-table) td {
		width:100%;
	}
  .consult_form .form_area tr td.phone select {
		padding: 16px ;
		color: #3c3c3c;
	}
	.consult_form .form_area tr.agree td a {
		display: none;
	}
	.consult_form .form_area tr.agree .agree_box {
		display: block;
		order: -1;
		margin: 0 0 10px;
	}
	.consult_form .form_area tr.agree .sns {
		width: 100%;
		margin-left: 0;
		margin-top: 5px;
	}
	.consult_form .form_area tr td input ,
	.consult_form .form_area tr td.surgery select {
		padding: 16px;
		border-radius: 0;
		color: #3c3c3c;
		font-size: 16px;
	}
	.consult_form .form_area .btn_wrap {
		margin-top: 25px;
		width: 100%;
		margin-left: 0;
	}
	.consult_form .form_area .btn_wrap > button {
		padding: 14px 0 16px;
		font-size: 20px;
	}
	.kakao_consult .logo {
		margin: 20px auto 14px;
	}
	.kakao_consult .time {
		font-size: 16px;
		word-break: keep-all
	}
	
	.consult.reserve .form_area > .day, 
	.consult.reserve .form_area > .content{
		flex-direction: column;
		gap:30px 0;
	}
	.consult.reserve .form_area .info .gender {
		width: 100%;
		gap: 0 20px;
	}
	.consult.reserve .form_area .info .gender > div {
		gap: 0;
		width: 70px;
	}
	.consult.reserve .form_area .info .gender > div input {
		width: auto;
	}
	.consult.reserve .form_area .info .gender > div label {
		margin-left: 10px;
	}
	.consult.reserve .form_area .day .title,
	.consult.reserve .form_area .content .title {
		width: 100%;
	}
	.consult.reserve .form_area .day .calendar {
		width: 100%;
		max-width: 100%;
	}
	.consult.reserve .form_area .info .path {
		gap: 6px 10px;
	}
	.consult.reserve .form_area .content {
		margin-bottom: 40px;
	}
}
@media (max-width: 375px){
	.consult_desc {
		word-break: keep-all;
	}
	.consult_desc br {
		display: none;
	}
}