#document-content .image {
	margin-top: 40px!important;
}

#document-content .form {
	margin-top: 80px!important;
}

.pageLead {
	margin-bottom: 80px;
}

.step {
	display: flex;
	justify-content: center;
	margin-bottom: 100px;
}

.step .no{
	text-align: center;
	padding-top: 4px;
	line-height: 1.6;
	width: 65px;
	height: 57px;
	font-size: 12px;
	font-weight: 700;
	background: #F9F9F9;
	border-radius: 6px;
}

.step .no span {
	font-size: 16px;
	font-weight: 700;
}

.step .no.active {
	background: #0178DC;
	color: #fff;
}

.step .no:not(:last-child) {
	margin-right: 56px;
	position: relative;
}

.step .no:not(:last-child):before {
	position: absolute;
	content: "";
	width: 24px;
	height: 24px;
	background: url(../../images/contact/ico_arrow_right.svg) no-repeat center center / contain;
	right: -40px;
	top: 17px;
}

.thanks .contensBody .inr {
	max-width: 960px;
}

.message h2 {
	font-size: 40px;
	line-height: 1.2;
	font-weight: 700;
	margin-bottom: 32px;
}

.message p {
	margin-bottom: 32px;
	line-height: 1.6;
}

.message .image {
	text-align: center;
	margin-bottom: 80px;
}

.message .btnB {
	color: #fff!important;
	text-decoration: none!important;
}

/******************************
 form 
*******************************/
.required:after {
	display: none;
}
.wpcf7-not-valid-tip {
	color: #ff0000;
}
.screen-reader-response {
	display: none;
}
.wpcf7-response-output {
	text-align: center;
	padding: 24px;
}
.formWrap,
.formTitle,
.formInput {
	display: block;
	font-size: 16px;
	line-height: 2;
}
.formWrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin-bottom: 64px;
}
.formWrap.check {
	/*align-items: flex-start;*/
}
.formTitle {
	width: 220px;
}
.formTitle span {
	font-weight: 700;
	position: relative;
	display: inline-block;
}
.formTitle.required span:before {
	content: "必須";
	display: block;
	position: absolute;
	font-weight: 400;
	width: 36px;
	height: 22px;
	line-height: 22px;
	background: #EE7B7B;
	color: #fff;
	font-size: 12px;
	text-align: center;
	right: -54px;
	top: 50%;
	transform: translatey(-50%);
	border-radius: 2px;
}
.formInput {
	width: calc(100% - 300px);
}
input[type="text"], input[type="tel"], input[type="email"], 
textarea, select {
	display: block;
	width: 100%;
	font-size: 16px;
	background-color: #fff;
	border: none!important;
	border-bottom: 1px solid #D8D8D8!important;
	border-radius: 0;
	padding: 16px 0;
	box-sizing: border-box;
}
input:hover, textarea:hover, select:hover, button:hover, input:focus, textarea:focus, select:focus button:focus {
	outline: none;
}
input::placeholder, textarea::placeholder, select::placeholder {
  color: #B1B1B1;
}
textarea {
	border: 1px solid #D8D8D8!important;
	height: 200px;
	padding: 16px;
}

/* selectbox
---------------------------------------- */
select {
	width: 400px;
}
.selectWrap {
	position: relative;
	display: inline-block;
}
.selectWrap:before {
	position: absolute;
	display: block;
	content: "";
	top: 22px;
	right: 8px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 6px 4px 0 4px;
	border-color: #000 transparent transparent transparent;
}
.p_confirm .selectWrap:before {
	display: none;
}

/* checkbox
---------------------------------------- */
input[type="checkbox"] {
  display: none;
}
.mwform-checkbox-field {
	margin-right: 28px;
	margin-bottom: 4px;
	margin-left: 0!important;
	display: inline-block;
}
.mwform-checkbox-field-text{
  position:relative;
	padding-left: 32px;
}
.mwform-checkbox-field-text::before{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 24px;
	height: 24px;
	border: 1px solid #D8D8D8;
	border-radius: 4px;
	background-color: #fff;
	transition: all 0.8s;
	cursor: pointer;
}
input[type="checkbox"]:checked + .mwform-checkbox-field-text::before{
	background-color: #0178DC;
	border: 1px solid #0178DC;
}
input[type="checkbox"]:checked + .mwform-checkbox-field-text::after{
	content: "";
	display: block;
	position: absolute;
	top: 2px;
	left: 8px;
	width: 8px;
	height: 16px;
	transform: rotate(40deg);
	border-bottom: 2px solid #fff;
	border-right: 2px solid #fff;
	cursor: pointer;
}
.formAgree .mwform-checkbox-field {
	margin-right: 32px;
	margin-top: 2px;
}
.formAgree .mwform-checkbox-field-text{
	padding-left: 0;
}

.wpcf7-checkbox {
}
.wpcf7-checkbox .wpcf7-list-item {
	margin-right: 28px;
	display: inline-block;
}
.wpcf7-list-item-label{
  position:relative;
	padding-left: 32px;
}
.wpcf7-list-item-label::before{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 24px;
	height: 24px;
	border: 1px solid #D8D8D8;
	border-radius: 4px;
	background-color: #fff;
	transition: all 0.8s;
	cursor: pointer;
}
input[type="checkbox"]:checked + .wpcf7-list-item-label::before{
	background-color: #0178DC;
	border: 1px solid #0178DC;
}
input[type="checkbox"]:checked + .wpcf7-list-item-label::after{
	content: "";
	display: block;
	position: absolute;
	top: 2px;
	left: 8px;
	width: 8px;
	height: 16px;
	transform: rotate(40deg);
	border-bottom: 2px solid #fff;
	border-right: 2px solid #fff;
	cursor: pointer;
}
/*.formAgree .mwform-checkbox-field {
	margin-right: 0;
}
.formAgree .mwform-checkbox-field-text{
	padding-left: 0;
}*/

/* radio button
---------------------------------------- */
input[type=radio] {
	display: none;
}
.mwform-radio-field-text {
	cursor: pointer;
	display: inline-block;
	padding-left: 26px;
	margin-right: 20px;
	position: relative;
}
.mwform-radio-field-text:before {
	content: "";
	width: 20px;
	height: 20px;
	display: block; 
	position: absolute;
	background: #fff;
	border: 1px solid #000;
	border-radius: 50%;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.mwform-radio-field-text:after {
	content: "";
	width: 14px;
	height: 14px;
	position: absolute;
	background: #000;
	border: 1px solid transparent;
	border-radius: 50%;
	padding: 2px;
	left: 3px;
	top: 50%;
	transform: translateY(-50%);
	transition: all 0.3s ease 0s;
	opacity: 0;
}
input[type=radio]:checked + .mwform-radio-field-text:after {
	opacity: 1;
}

/* agree
---------------------------------------- */
.formAgree {
	display: block;
	margin-bottom: 40px;
}
.agreeCheck {
	display: flex;
	justify-content: center;
	position: relative;
	padding: 24px;
	width: 100%;
	max-width: 840px;
	margin: 0 auto;
	background: #F9F9F9;
	text-align: center;
	line-height: 1.8;
}
.agreeCheck a {
	text-decoration: underline;
	color: #0178DC;
}
.agreeCheck .error {
	position: absolute;
	left: 50%;
	transform: translatex(-50%);
	bottom: -30px;
}
.p_confirm .formAgree {
	display: none;
}

/* submit
---------------------------------------- */
.formSubmit {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
input[type=submit] {
	display: block;
	border: none;
	font-weight: 700;
	background: #0178DC;
	color: #fff;
	font-size: 16px;
	text-align: center;
	width: 240px;
	height: 48px;
	line-height: 48px;
	margin: 12px;
	cursor: pointer;
	transition: all .3s;
}
input[type=submit][disabled] {
	background: #ccc!important;
}
input[type=submit].formBack {
	background: #fff;
	border: 2px solid #0178DC;
	color: #0178DC;
	line-height: 46px;
}

@media screen and (max-width: 767px) {
	.pageLead {
		margin-bottom: 60px;
	}
	
	.step {
		margin-bottom: 60px;
	}
	
	.formWrap {
		display: block;
	}
	
	.formTitle {
		width: 100%;
		margin-bottom: 16px;
	}
	
	.formInput {
		width: 100%;
	}
	
	.message h2 {
		font-size: 24px;
		line-height: 1.6;
		margin-bottom: 24px;
	}
}
