/* 멤버 페이지 공통요소 */
#member {
	padding: 100px 0 80px;
	margin-top: 134px;
}

#member .title {
	text-align: center;
	font-size: 36px;
	font-weight: 400;
	margin-bottom: 70px;
}

.private_con,
.agreement_con {
	border: 1px solid #eeeeee;
	padding: 40px;
	max-height: 420px; /* 원하는 높이로 설정 */
	overflow-y: auto; /* 수직 스크롤 생성 */
	overflow-x: hidden; /* 가로 스크롤 숨김 */
	color: #7c7c7c;
	font-size: 15px;
}

/* 회원가입 */
.join_con,
.login_con,
.mypage_con {
	width: 100%;
	max-width: 680px;
	margin: 0 auto;
}
.join_con form,
.mypage_con {
	text-align: left;
}
.join_con form table {
	width: 100%;
}
.join_con form tr,
.mypage_con form tr {
	width: 100%;
	display: flex;
	align-items: baseline;
	margin-bottom: 17px;
}

.join_con form tr th,
.mypage_con form tr th {
	width: 140px;
	font-size: 16px;
	font-weight: 400;
	color: #1c1c1c;
}
.join_con form tr th span {
	color: #fa3448;
}

.join_con form tr td,
.mypage_con form tr td {
	width: 100%;
	max-width: 540px;
}
.mypage_con form tr td.fixed {
	margin: 10px 0;
	box-sizing: border-box;
	padding: 0 20px;
}
.input_full {
	width: 100%;
	border: 1px solid #d2d2d2;
	padding: 14px 20px;
	font-size: 16px;
	color: #1c1c1c;
	box-sizing: border-box;
}
.login_con .input_full {
	max-width: 540px;
}
.input_radio_label {
	font-size: 16px;
	font-weight: 400;
	color: #1c1c1c;
	margin-right: 40px;
	cursor: pointer;
	padding: 10px 0;
	display: inline-block;
	box-sizing: border-box;
}

/* 아이디 */
.id_box td {
	display: flex;
	justify-content: space-between;
}
.input_id {
	width: 75%;
	border: 1px solid #d2d2d2;
	padding: 14px 20px;
	font-size: 16px;
	color: #1c1c1c;
	box-sizing: border-box;
}
.button_id {
	width: 23%;
	display: inline-block;
	color: #fff;
	background-color: #606060;
	cursor: pointer;
}
.input_option td {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}
.select_option {
	width: 28%;
	border: 1px solid #d2d2d2;
	padding: 14px;
	font-size: 16px;
	cursor: pointer;
}
.input_half {
	width: 33.3333%;
	border: 1px solid #d2d2d2;
	padding: 14px;
	font-size: 16px;
	box-sizing: border-box;
}
#member [type="checkbox"] {
	margin-right: 4px;
	cursor: pointer;
}
.member select {
	appearance: none;
	background: url("/images/middle-aged/utils/select_arrow.png") no-repeat right 20px center;
	color: #000;
}
.member input {
	border-radius: 0;
}
.promotion_sms {
	width: 100%;
	margin: 10px 0;
	color: #1c1c1c;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
	align-self: flex-start; /* label은 위쪽으로 정렬 */
}

.join_agree {
	padding-top: 40px;
	border-top: 1px solid #d2d2d2;
}
.join_agree label {
	margin-bottom: 16px;
	display: inline-block;
	font-size: 16px;
	font-weight: 400;
	color: #1c1c1c;
	cursor: pointer;
}

.join_agree td > div {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: baseline;
}
.join_agree td > div span {
	font-size: 12px;
	color: #fff;
	font-weight: 400;
	background-color: #606060;
	padding: 6px 9px;
	cursor: pointer;
}

.private_box,
.agreement_box {
	display: none;
	margin: 10px 0 20px;
	max-height: 180px; /* 원하는 높이로 설정 */
	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;
}

.btn_wrap {
	width: 100%;
	max-width: 540px;
	margin: 30px auto 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0 10px;
}

.btn_wrap button {
	width: calc(100% / 2 - 5px);
	font-size: 20px;
	color: #fff;
	font-weight: 500;
	padding: 20px 0;
	background-color: #444444;
	cursor: pointer;
}
.btn_wrap button:last-child {
	background-color: #898989;
}

.mypage_con .btn_wrap {
	width: 100%;
	max-width: 100%;
	margin: 30px auto 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0 10px;
}

.mypage_con .btn_wrap a {
	width: calc(100% / 3 - 5px);
	font-size: 20px;
	text-align: center;
	color: #fff;
	font-weight: 500;
	padding: 20px 0;
	background-color: #898989;
	cursor: pointer;
}

.mypage_con .btn_wrap a:first-child {
	background-color: #444444;
}

/* 로그인 */
.login_con {
	width: 100%;
	max-width: 540px;
}
.login_info > ul {
	display: flex;
	flex-direction: column;
	gap: 16px 0;
}
.login_utils {
	margin-top: 10px;
	display: flex;
	gap: 0 16px;
}
.login_utils label {
	cursor: pointer;
	color: #1c1c1c;
}
.logn_btn {
	margin: 30px 0 20px;
}
.logn_btn button {
	width: 100%;
	background-color: #444444;
	font-size: 20px;
	color: #fff;
	padding: 20px 0;
	cursor: pointer;
}
.sns_login ul {
	display: flex;
	align-items: center;
	gap: 0 20px;
}
.sns_login ul li {
	width: calc(100% / 2 - 10px);
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #d2d2d2;
	padding: 14px 0;
	gap: 0 20px;
	cursor: pointer;
}
.sns_login ul li img {
	width: 24px;
	object-fit: contain;
}
.sns_login ul li span {
	font-size: 18px;
	color: #1c1c1c;
}

.login_more {
	margin-top: 10px;
}
.login_more ul {
	display: flex;
	justify-content: center;
	gap: 0 30px;
	align-items: center;
}
.login_more ul li {
	font-size: 18px;
	color: #1c1c1c;
}
.login_more ul li:first-child {
	position: relative;
}
.login_more ul li:first-child::before {
	position: absolute;
	content: "|";
	right: -15px;
	top: 50%;
	font-size: 14px;
	font-weight: 700;
	transform: translateY(-50%);
}
.login_more ul li a {
	display: inline-block;
	padding: 20px 0;
}

/* 아이디 비밀번호 찾기 */
.find_con {
	display: flex;
	justify-content: space-between;
	box-sizing: border-box;
}
.find_con > div {
	width: 49%;
	box-sizing: border-box;
}
.find_con .find_id {
	padding-right: 40px;
	position: relative;
}
.find_con .find_id::before {
	position: absolute;
	content: "";
	width: 1px;
	height: 100%;
	right: -20px;
	top: 0;
	background-color: #d2d2d2;
}
.find_con .find_pw {
	padding-left: 40px;
}
.find_con .tit {
	font-size: 24px;
	color: #1c1c1c;
	text-align: center;
	margin-bottom: 40px;
	margin-left: 18%;
}
.find_con table {
	width: 100%;
}
.find_con table tr {
	width: 100%;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
}
.find_con table tr th {
	width: 18%;
	text-align: left;
	font-size: 16px;
	font-weight: 400;
	color: #1c1c1c;
}
.find_con table tr td {
	width: 82%;
	justify-content: space-between;
	display: flex;
	align-items: baseline;
}
.find_con table tr td.c1 {
	font-size: 16px;
	color: #1c1c1c;
	line-height: 1.2;
	justify-content: start;
}
.find_con table tr td span {
	color: #fa3448;
}
.find_btn {
	width: 82%;
	margin-left: 18%;
	text-align: center;
	margin-top: 52px;
	font-size: 20px;
	color: #fff;
	padding: 20px 0;
	background-color: #444444;
	font-weight: 500;
	cursor: pointer;
}

/* 마이페이지 */
.mypage_con .input_half {
	width: 32%;
}
@media (max-width: 1200px) {
	/* 아이디 비밀번호 찾기 */
	.find_con {
		flex-wrap: wrap;
		gap: 160px 0;
	}
	.find_con > div {
		width: 100%;
	}
	.find_con .find_id {
		padding-right: 0;
		position: relative;
	}
	.find_con .find_id::before {
		display: none;
	}
	.find_con .find_id::after {
		position: absolute;
		content: "";
		width: 100%;
		max-width: 700px;
		height: 1px;
		right: 0;
		bottom: -80px;
		background-color: #d2d2d2;
	}
	.find_con .find_pw {
		padding-left: 0;
	}
	.find_con .tit {
		margin-bottom: 30px;
		margin-left: 0;
	}
	.find_con table {
		width: 100%;
		max-width: 700px;
		margin: 0 auto;
	}
	.find_con table tr {
		width: 100%;
		margin-bottom: 30px;
		flex-direction: column;
		align-items: flex-start;
	}
	.find_con table tr th {
		width: 100%;
		text-align: left;
		font-size: 16px;
		font-weight: 400;
		color: #1c1c1c;
		margin-bottom: 10px;
	}
	.find_con table tr td {
		width: 100%;
	}
	.find_con table tr td.c1 {
		margin-top: -20px;
	}
	.find_con table tr td span {
		color: #fa3448;
	}
	.find_btn {
		width: 100%;
		max-width: 700px;
		margin: 0 auto;
		font-size: 18px;
		padding: 16px 0;
	}
}
@media (max-width: 768px) {
	#member {
		padding: 100px 0 80px;
		margin-top: 64px;
	}
	#member .title {
		text-align: center;
		font-size: 30px;
		margin-bottom: 40px;
	}
	#member .private_con,
	#member .agreement_con {
		padding: 35px 20px;
		max-height: 360px;
		color: #464646;
		font-size: 15px;
	}

	/* 회원가입 */
	.join_con form tr,
	.mypage_con form tr {
		width: 100%;
		max-width: 600px;
		margin: 0 auto 20px;
		display: flex;
		flex-wrap: wrap;
		gap: 14px 0;
	}
	.join_con form tr th,
	.mypage_con form tr th {
		width: 100%;
		font-size: 14px;
	}

	.join_con form tr td,
	.mypage_con form tr td {
		width: 100%;
		max-width: 100%;
	}
	.mypage_con form tr td.fixed {
		width: 100%;
		border: 1px solid #d2d2d2;
		padding: 10px;
		font-size: 14px;
		color: #1c1c1c;
		box-sizing: border-box;
		margin: 0;
	}
	.input_full {
		padding: 10px;
		font-size: 14px;
	}
	.input_radio_label {
		font-size: 16px;
		margin-right: 16px;
		padding: 4px 0;
	}

	.input_id {
		width: 70%;
		padding: 10px;
		font-size: 14px;
	}
	.button_id {
		width: 27%;
		font-size: 13px;
		word-break: keep-all;
	}
	.input_half,
	.select_option {
		padding: 10px;
		font-size: 14px;
	}

	.mypage_con .input_half {
		width: 30%;
	}
	.mypage_con .email .input_half {
		width: 46%;
	}
	.mypage_con .email .select_option {
		width: 100%;
		margin-top: 8px;
	}
	.member select {
		appearance: none;
		background: url("/images/middle-aged/utils/select_arrow.png") no-repeat right 10px center;
		background-size: 10px; /* 가로, 세로 크기 */
	}
	.promotion_sms {
		width: 100%;
		margin: 10px 0;
		font-size: 14px;
	}

	.join_agree {
		padding-top: 20px;
	}
	.join_agree label {
		margin-bottom: 10px;
		font-size: 14px;
	}

	.private_box,
	.agreement_box {
		max-height: 160px;
		font-size: 12px;
		padding: 16px;
	}

	.btn_wrap {
		width: 100%;
		margin: 20px auto 0;
	}

	.btn_wrap button {
		font-size: 18px;
		padding: 14px 0;
	}

	.mypage_con .btn_wrap {
		width: 100%;
		margin: 0;
	}

	.mypage_con .btn_wrap a {
		font-size: 16px;
		font-weight: 400;
		padding: 10px 0;
	}

	/* 로그인 */
	.login_info > ul {
		display: flex;
		flex-direction: column;
		gap: 10px 0;
	}
	.logn_btn button {
		font-size: 18px;
		padding: 10px 0;
	}
	.sns_login ul {
		gap: 0 10px;
	}
	.sns_login ul li {
		width: calc(100% / 2 - 5px);
		padding: 14px 0;
		gap: 0 10px;
	}
	.sns_login ul li img {
		width: 20px;
		object-fit: contain;
	}
	.sns_login ul li span {
		font-size: 16px;
	}
	.login_more ul li {
		font-size: 16px;
	}
	.login_more ul li:first-child::before {
		right: -18px;
	}
	.login_more ul li a {
		display: inline-block;
		padding: 10px 0;
	}

	/* 아이디 비밀번호 찾기 */
	.find_con {
		gap: 80px 0;
	}
	.find_con .find_id::after {
		bottom: -40px;
	}
	.find_con .tit {
		margin-bottom: 20px;
		font-size: 20px;
	}
	.find_con table tr {
		margin-bottom: 20px;
	}
	.find_con table tr:last-child {
		margin-bottom: 0;
	}
	.find_con table tr th {
		font-size: 14px;
		margin-bottom: 10px;
	}
	.find_con table tr td {
		width: 100%;
		flex-wrap: wrap;
	}
	.align-center {
		align-items: center !important;
	}
	.find_con table tr td.c1 {
		margin-top: -20px;
		font-size: 14px;
	}
	.find_con table tr td span {
		color: #fa3448;
	}
	.find_btn {
		margin: 20px auto 0;
		font-size: 16px;
		padding: 14px 0;
	}

	/* 마이 페이지 */
}

@media (max-width: 425px) {
	.find_con .input_half {
		width: 47%;
	}
	.find_con .select_option {
		width: 100%;
		margin-top: 6px;
	}
}
