@charset "UTF-8";

/* ++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* リンク集
/* ++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* タイトル */
@media (min-width:769px){
	#pageTitle {
		background-image: url(../images/contact/bg_title_pc.jpg);
	}
}
@media (max-width:768px){
	#pageTitle {
		background-image: url(../images/contact/bg_title_sp.jpg);
	}
}

#contact form { display: none; }
#contact form.active { display: block; }
#contact table {
	width: 100%;
	table-layout: fixed;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
#contact tr > * {
	vertical-align: top;
}
#contact th span {
	color: #fff;
	background: #ff5c5c;
	display: inline-block;
	vertical-align: middle;
}
#contact input[type="text"],
#contact input[type="tel"],
#contact input[type="email"],
#contact select,
#contact textarea {
	border: 1px solid #999;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
#contact select option[disabled] {
	color: #666;
	background: #ddd;
}
#contact textarea {
	resize: vertical;
}
#contact dl {
	background: #f2f2f2;
}
#contact dl dt {
	color: #008678;
}
#contact dl li:before {
	content: "●";
	color: #008678;
	text-indent: 0;
	display: inline-block;
}
#contact .consent a {
	text-decoration: underline;
}
#contact .submit button,
#contact .submit a {
	padding: 0;
	color: #fff;
	border: none;
	cursor: pointer;
	font-weight: bold;
	text-align: center;
	background: #008678;
	display: inline-block;
	-webkit-appearance: none;
}
#contact .submit button[onClick] {
	color: #333;
	background: #e9e9e9;
}
#contact .submit button img {
	vertical-align: middle;
}
@media (min-width:769px){
	#contact {
		padding-bottom: 55px;
	}
	#contact .mainText,
	#contact .thx {
		text-align: center;
		padding: 53px 0 29px;
	}
	#contact > table {
		border-top: 1px solid #d3d3d3;
	}
	#contact tr {
		border-bottom: 1px solid #d3d3d3;
	}
	#contact > table td {
		font-size: 16px;
		line-height: 40px;
		padding: 18px 0 16px;
	}
	#contact th {
		width: 175px;
		line-height: 22px;
		padding: 24px 0 24px 30px;
	}
	#contact th.middle {
		vertical-align: middle;
	}
	#contact th span {
		height: 19px;
		font-size: 12px;
		line-height: 19px;
		padding: 0 4px;
		margin: 3px 0 4px;
		text-align: center;
		letter-spacing: -0.01em;
	}
	#contact th small {
		display: block;
		font-size: 12px;
	}
	#contact td small {
		margin-top: 10px;
		line-height: 1.2;
		display: inline-block;
	}
	#contact form td {
		padding: 24px 0;
		line-height: 30px;
	}
	#contact form td ul {
		margin-top: -10px;
	}
	#contact form td li + li {
		margin-top: 20px;
		border-top: 1px solid #d3d3d3;
	}
	#contact form td span {
		margin: 0 7px;
	}
	#contact form td br + span {
		margin-left: 0;
	}
	#contact input[type="text"],
	#contact input[type="tel"],
	#contact input[type="email"],
	#contact select,
	#contact textarea {
		width: 479px;
		padding: 12px 12px 11px;
	}
	#contact input[name="お名前"],
	#contact input[name="ふりがな"],
	#contact input[type="tel"] { width: 295px; }
	#contact select[name="参加人数"] { width: 116px; }
	#contact select.year { width: 92px; }
	#contact select.month { width: 74px; }
	#contact select.day { width: 64px; }
	#contact select.time { width: 125px; }
	#contact textarea {
		height: 86px;
	}
	#contact textarea[name="セミナー・研修内容へのご希望"] {
		height: 195px;
	}
	#contact p.confirm {
		text-align: center;
		margin-bottom: -36px;
	}
	#contact dl {
		margin: 26px 0 14px;
		padding: 18px 68px 24px;
	}
	#contact dl dt {
		font-size: 16px;
	}
	#contact dl dd {
		line-height: 24px;
	}
	#contact dl li {
		padding-left: 18px;
		text-indent: -18px;
	}
	#contact dl li + li {
		margin-top: 10px;
	}
	#contact .consent {
		text-align: center;
		padding: 36px 0 21px;
	}
	#contact .submit {
		text-align: center;
	}
	#contact .error_messe + .submit {
		margin-top: 50px;
	}
	#contact .formTable {
		margin-bottom: 50px;
	}
	#contact .submit button,
	#contact .submit a {
		width: 404px;
		height: 67px;
		font-size: 18px;
		line-height: 67px;
		border-radius: 34px;
		-moz-border-radius: 34px;
		-webkit-border-radius: 34px;
	}
	#contact .formTable ~ .submit button[type="submit"] {
		width: 250px;
	}
	#contact .formTable ~ .submit button[type="button"] {
		width: 200px;
		margin-left: 20px;
	}
	#contact .submit button img {
		height: 23px;
	}
}
@media (max-width:768px){
	#contact {
		padding-bottom: 40px;
	}
	#contact .mainText,
	#contact .thx,
	#contact tr > * {
		padding: 18px 20px;
	}
	#contact table,
	#contact tbody,
	#contact tr,
	#contact tr > * {
		display: block;
	}
	#contact th {
		background: #e9e9e9;
	}
	#contact > table td {
		font-size: 14px;
	}
	#contact > table td label {
		display: block;
	}
	#contact > table td label ~ label {
		margin-top: 15px;
	}
	#contact form td {
		line-height: 30px;
	}
	#contact form td span {
		margin: 0 5px;
	}
	#contact form td br + span {
		margin-left: 0;
	}
	#contact th span {
		padding: 0 5px;
		font-size: 10px;
		line-height: 15px;
		margin-left: 10px;
		margin-right: 5px;
	}
	#contact form td li {
		margin: 0 -10px;
		padding: 0 10px;
	}
	#contact form td li + li {
		margin-top: 20px;
		padding-top: 10px;
		border-top: 1px solid #d3d3d3;
	}
	#contact input[type="text"],
	#contact input[type="tel"],
	#contact input[type="email"],
	#contact textarea {
		width: 100%;
	}
	#contact input[type="text"],
	#contact input[type="tel"],
	#contact input[type="email"],
	#contact select,
	#contact textarea {
		padding: 9px;
		border-radius: 0;
		-moz-border-radius: 0;
		-webkit-border-radius: 0;
		-webkit-appearance: none;
	}
	#contact textarea {
		height: 132px;
		border-radius: 0;
		-moz-border-radius: 0;
		-webkit-border-radius: 0;
	}
	#contact textarea[name="セミナー・研修内容へのご希望"] {
		height: 162px;
	}
	#contact select { width: 140px; }
	#contact select.year { width: 80px; }
	#contact select.month,
	#contact select.day { width: 62px; }
	#contact select.time { width: 121px; margin-top: 11px; }
	#contact .confirm {
		text-align: center;
		margin-top: 22px;
	}
	#contact dl {
		margin: 0 20px;
		padding: 20px 20px 28px;
	}
	#contact dl dt {
		font-size: 13px;
		text-align: center;
	}
	#contact dl dd {
		line-height: 22px;
		letter-spacing: 0.01em;
	}
	#contact dl li {
		padding-left: 14px;
		text-indent: -14px;
	}
	#contact dl li:before {
		width: 14px;
	}
	#contact .consent {
		text-align: center;
		padding: 20px 0 18px;
	}
	#contact .consent span,
	#contact .confirm span {
		text-align: left;
		margin-left: 7px;
		vertical-align: top;
		display: inline-block;
	}
	#contact .error_messe {
		padding: 0 20px;
	}
	#contact .error_messe + .submit {
		margin-top: 20px;
	}
	#contact .submit {
		text-align: center;
	}
	#contact .submit button,
	#contact .submit a {
		width: 257px;
		height: 50px;
		line-height: 50px;
		border-radius: 20px 20px 20px 20px / 25px 25px 25px 25px;
	}
	#contact .formTable ~ .submit button {
		margin-top: 20px;
	}
	#contact .submit button img {
		height: 17px;
	}
}