@charset "utf-8";

/*
=======================================================
 FORM
=======================================================	
*/

/*
-------------------------------------------------------
 INPUT
-------------------------------------------------------
*/

.form-table th {
	padding: 30px 20px;
	width: 240px;
	background: #f2f2f2;
	overflow: hidden;
	vertical-align: middle;
	}
	.form-table tr:not(:last-child) th {
		border-bottom: 1px solid #ccc;
	}
	.form-table tr:last-child th {
		padding-top: 20px;
		vertical-align: top;
		}
		.form-table th::before {
			content: none;
		}
		.form-table tr:not(.notrequired) th::after {
			content: '必須';
			display: block;
			font-size: 13px;
			line-height: 1;
			text-align: center;
			color: #fff;
			background: #ed1c24;
			width: 38px;
			padding: 3px 0;
			float: right;
		}

.form-table td {
	padding: 20px 40px;
	vertical-align: middle;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
	color: #999;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
	color: #999;
}

input[type=text],
input[type=mail],
textarea {
	background: #f2f2f2;
	border: none;
	font-size: 16px;
	padding: 13.5px 13px;
	width: 100%;
	font-weight: 500;
}

input[type=radio] {
	display: inline-block;
	margin: 0 .5em 0 0;
}

label {
	display: inline-block;
	margin-right: 1em;
	}
	label:nth-of-type(-n+3) {
		margin-bottom: 5px;
	}


select {
	border: 1px solid #000;
	border-radius: 3px;
	padding: 10px 45px 10px 16px;
	background: url(../images/common/select_arrow.svg) right center no-repeat;
	background-size: contain;
	margin-right: 5px;
	font-size: 15px;
	}
	.select.birth-year {
		padding-right: 48px;
	}

select+span {
	display: inline-block;
	margin-right: 1em;
}

textarea {
	vertical-align: bottom;
	width: 100%;
}

.form-button {
	text-align: center;
	margin-top: 60px;
}

button[type=submit],
button.back {
	width: 400px;
	min-height: 96px;
	padding: 0 20px;
	background: #007ece;
	border-radius: 4px;
	box-shadow: 2px 2px 8px rgba(0,0,0,.3);
}

button[type=submit]>span,
button.back>span {
	display: block;
	color: #fff;
	font-size: 24px;
	background: url(../images/form/btn_submit.svg) right center no-repeat;
	background-size: 36px auto;
	padding: 20px 0;
	line-height: 1;
	letter-spacing: .1em;
	}
	button.back>span {
		background: url(../images/form/btn_back.svg) left center no-repeat;
	}
	
button[type=submit]>span>span {
	display: block;
	font-size: 14px;
	margin-bottom: 9px;
}

.privacy-box {
	width: 690px;
	margin: 40px auto 0 auto;
}

.privacy-box dt {
	text-align: center;
	background: #333;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	padding: 8px 0;
}

.privacy-box dd {
	height: 110px;
	overflow: hidden;
	padding: 10px 0;
	border: 1px solid #000;
	border-top: none;
	text-align: left;
	background: #fff;
}

.privacy-box p {
	height: 100%;
	padding: 0 15px;
	line-height: 1.25;
	overflow-y: scroll;
	font-size: 12px;
}

.error {
	color: #ed1c24;
	font-size: 12px;
	margin-top: 10px;
	line-height: 1;
}
	
.error.multiple span {
	display: block;
}

/*
-------------------------------------------------------
 CONFIRM
-------------------------------------------------------
*/

.confirm .form-table th {
	padding: 35px 20px;
	}
	.confirm .form-table tr:not(.required) th::after {
		content: none;
	}


/*
-------------------------------------------------------
 FINISH / ERRORS
-------------------------------------------------------
*/

.finish,
.errors {
	text-align: center;
}

.finish .thx em {
	font-size: 40px;
}

.finish p {
	margin-top: 70px;
	font-size: 16px;
}

.finish .form-button {
	margin: 70px 0 30px 0;
}


/* -------------------------------------------------------------- */
	@media screen and (max-width: 767px) {
/* -------------------------------------------------------------- */
	
/*
=======================================================
 FORM
=======================================================	
*/

/*
-------------------------------------------------------
 INPUT
-------------------------------------------------------
*/

.form-table {
	border: none;
}

.form-table th {
	display: block;
	padding: 15px 10px !important;
	width: 100%;
	border: none !important;
	position: relative;
	}
	.form-table tr:not(.required) th::after {
		display: block;
		font-size: 11px;
		width: 30px;
		padding: 2px 0 3px 0;
		position: absolute;
		right: 10px;
		top: 50%;
		transform: translateY(-50%);
	}

.form-table td {
	display: block;
	padding: 5px 0 15px 0;
	border-bottom: none;
}

input[type=text],
input[type=mail],
textarea {
	font-size: 13px;
	padding: 15px 10px;
	width: 100%;
	background: none;
	border: 1px solid #ccc;
}

label {
	display: inline-block;
	margin-right: .75em;
	margin-top: 5px;
	}
	label:nth-of-type(-n+3) {
		margin-bottom: 0;
	}
	
input[type=radio] {
	margin-right: 3px;
}

textarea {
	height: 90px;
}

.form-button {
	margin: 40px 0 20px 0;
}

button[type=submit],
button.back {
	width: 82%;
	min-height: 60px;
	padding: 0 13px;
}

button[type=submit]>span,
button.back>span {
	font-size: 17px;
	background-size: 23px auto;
	padding: 14px 0;
}
	
button[type=submit]>span>span {
	font-size: 12px;
	margin-bottom: 5px;
}

.privacy-box {
	width: 100%;
	margin-top: 25px;
}

.privacy-box dt {
	padding: 5px 0;
}

.privacy-box dd {
	height: 72px;
	padding: 5px 0;
}

.privacy-box p {
	height: 100%;
	padding: 0 10px;
	font-size: 10px;
	line-height: 1.6;
}

.error {
	font-size: 12px;
	position: static !important;
	margin-top: 5px;
	}
	.error.multiple {
		margin-bottom: 0;
	}
	.dept-choices+.error {
		margin-top: 10px;
	}

/*
-------------------------------------------------------
 CONFIRM
-------------------------------------------------------
*/

.confirm .form-table th {
	padding: 15px 10px !important;
}

.confirm .form-table td {
	padding: 20px 10px 30px 10px !important;
}

/*
-------------------------------------------------------
 FINISH / ERRORS
-------------------------------------------------------
*/

.finish .title {
	font-size: 17px;
}

.finish .thx em {
	font-size: 20px;
}

.finish p {
	margin-top: 30px;
	font-size: 13px;
}

.finish .form-button {
	margin: 60px 0 30px 0;
}

/*----------------------------------------------------------------*/
	@media screen and (max-width: 325px) {
/*----------------------------------------------------------------*/

	.title {
		line-height: 1.2;
	}
	
	button[type=submit],
	button.back {
		width: 100%;
	}

/* -------------------------------------------------------------- */
	}
/* -------------------------------------------------------------- */
/* -------------------------------------------------------------- */
	}
/* -------------------------------------------------------------- */