/* Form */
.form-table .row {
	display: flex;
	padding-left:20px;
	margin-bottom:8px;
	background-color: #efefef;
}

.form-table .row:last-child .th {
	padding-top:20px;
}

.form-table .th {
	width: 180px;	
}

.form-table .td {
	width: calc(100% - 180px);
}

.form-table input {
	width: 100%;
	height:56px;
	padding:0px 20px;
	background-color: transparent;
	font-size:1.8rem;
}

.form-table textarea {
	resize: none;
	width: 100%;
	height:180px;
	padding:20px;
	background-color: transparent;
	font-size:1.8rem;
}

.form-agree {
	display: flex;
	align-items: center;
	width: 100%;
	height:56px;
	padding:0px 0px 0px 20px;
	background-color: #efefef;
}

.form-agree label {
	position: relative;
	display:inline-flex;
	align-items: center;
	gap:10px;
	cursor: pointer;
}

.form-agree input {
	position: absolute;
	top:0;
	left:0;
	width:100%;
	opacity:0;
	visibility: hidden;
}

.form-agree i {
	display: inline-block;
	width:32px;
	height:32px;
	background: url('/image/icon/ico_chk_off.png') no-repeat center;
	transition: all .3s ease;
}

.form-agree a {
	text-decoration: underline;
	text-underline-offset:3px;
	cursor: pointer;
}

.form-agree input:checked + i {
  background-image: url('/image/icon/ico_chk_on.png');
}

.form-btn {
	display: flex;
	justify-content: center;
}

.form-btn button {
	max-width:320px;
	width: 100%;
	height:64px;
	border-radius: 10px;
	background-color: #0081c7;
}

@media screen and (max-width:1200px) {
	.form-table .th {
		width: 140px;	
	}

	.form-table .td {
		width: calc(100% - 140px);
	}

	.form-table input {
		height:50px;
		font-size:1.6rem;
	}

	.form-table textarea {
		height:160px;
		font-size:1.6rem;
	}

	.form-agree {
		height:50px;
	}

	.form-agree i {
		width:26px;
		height:26px;
		background-size: auto 26px;
	}

	.form-btn button {
		max-width:280px;
		height:58px;
	}
}
@media screen and (max-width:1024px) {
	.form-table .row {
		padding-left:16px;
		margin-bottom:4px;
	}

	.form-table .row:last-child .th {
		padding-top:16px;
	}

	.form-table input {
		padding:0px 16px;
	}

	.form-table textarea {
		padding:16px;
	}

	.form-agree {
		padding:0px 0px 0px 16px;
	}

	.form-agree label {
		gap: 6px;
	}

	.form-agree i {
		width:24px;
		height:24px;
		background-size:auto 24px;
	}
}
@media screen and (max-width:768px) {
	.form-table .row {
		flex-wrap: wrap;
		padding:0px;
	}

	.form-table .th {
		width: 100%;
		padding:12px 16px;
	}

	.form-table .td {
		width: 100%;
	}

	.form-table input {
		height:40px;
		font-size:1.4rem;
	}

	.form-table textarea {
		height:120px;
		font-size:1.4rem;
	}

	.form-agree {
		padding:0px 16px;
	}

	.form-agree i {
		width: 20px;
		height:20px;
		background-size: auto 20px;
	}

	.form-btn button {
		max-width:200px;
		height:50px;
	}
}
@media screen and (max-width:576px) {
	.form-table .th {
		padding:12px;
	}

	.form-table input {
		height:36px;
		padding:0px 12px;
		font-size:1.3rem;
	}

	.form-table textarea {
		height:100px;
		padding:12px;
		font-size:1.3rem;
	}

	.form-agree {
		height:auto;
		padding:12px;
	}

	.form-agree label {
		gap:4px;
	}

	.form-agree i {
		width:16px;
		height:16px;
		background-size:auto 16px;
	}

	.form-agree span {
		width: calc(100% - 20px);
	}

	.form-agree em {
		display: none;
	}

	.form-btn button {
		max-width:160px;
		height:46px;
	}
}


/* Modal */
.form-modal {
	display: none;
	position: fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	padding:20px;;
	z-index: 9999;
}

.form-modal .modal-con {
	display: flex;
  justify-content: center;
  align-items: center;
	position: relative;
  max-width:960px;
  width: 100%;
  /* max-height: calc(100% - 120px);
	height:100%; */
	padding:80px;
	margin:0 auto;
}

.form-modal .modal-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.form-modal .modal-close {
	position: absolute;
	top:0;
	right:0;
	width: 34px;
	height: 34px;
	background: url('/image/icon/ico_close.png') no-repeat center;
}

.form-modal .modal-inner {
	width: 100%;
	height:100%;
	background-color: #fff;
	overflow-y: auto;
}

.form-modal .modal-article {
	padding:40px;
}

.form-modal .modal-article .textarea {
	width: 100%;
	height:480px;
	padding:40px;
	border:1px solid #bbbbbb;
	overflow-y: auto;
}

.form-modal.open {
  display: flex;
  align-items: center;
  visibility: visible;
} 

@media screen and (max-width:1200px) {

}
@media screen and (max-width:1024px) {
	.form-modal .modal-con {
		padding:40px;
	}

	.form-modal .modal-article .textarea {
		padding:20px;
		height:360px;
	}
}
@media screen and (max-width:768px) {
	.form-modal .modal-con {
		padding:30px;
	}

	.form-modal .modal-close {
		width: 26px;
		height:26px;
		background-size: auto 26px;
	}

	.form-modal .modal-article {
		padding:20px;
	}
}
@media screen and (max-width:576px) {
	.form-modal .modal-con {
		padding:0px;
	}

	.form-modal .modal-article {
		padding:16px;
	}

	.form-modal .modal-article .textarea {
		padding:16px;
		height:280px;
	}
}
