
header {
	background: url(../img/contact/header.jpg) no-repeat;
		-webkit-background-size: cover;
	background-size: cover;
}


.contactWrap>h2 {
	font-size: 1.7em;
	font-weight: bold;
}

.contactWrap>small {font-size: .9rem;}

.contactWrap>p {
	margin: 20px 0;
}

/* form */

form {
	width: 100%;
}

.required {
	position: relative;
}

.required:after {
	content: '必須';
	color: #f00;
	font-size: 12px;
	font-weight: bold;
}

.cution{
	color: #f00;
}

.formWrap {
	margin: 10px auto;
}

#mailform {
	width: 100%;
	padding: 10px 0;
}

/*inputGroupWrap*/

.inputGroupWrap {
	width: 100%;
	margin-bottom: 1em;
}

.inputGroupWrap label {
	display: block;
	width: 100%;
}

.inputGroupWrap small {
	display: block;
	width: 100%;
}

.inputGroupWrap small.red {
	font-size: 80%;
	width: 90%;
	color: #f00;
}

/* formErrorText */

.formErrorText {
	color: #F00;
	font-size: 80%;
}

.formUnit {
	padding-left: .25rem;
}


/* input */

input[type="reset"],
input[type="button"],
input[type="submit"],
input[type="text"],
input[type="date"],
input[type="file"],
input[type="time"],
input[type="number"],
input[type="email"],
select,
textarea {
	font-weight: bold;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-clip: padding-box;
	color: #666;
	border-radius: 0.25rem;
}

input:focus,
textarea:focus {
	color: #546E7A;
	background-color: #fff;
	border-color: #66afe9;
	outline: none;
}

::-webkit-input-placeholder {
	color: #ccc;
}
::-moz-placeholder {
	color: #ccc; opacity: 1;
}
input[type="number"]:-ms-input-placeholder,
input[type="text"]:-ms-input-placeholder{
	color: #ccc;
}

/* select */

select::-ms-expand {
	display: none;
}

select {
	position: relative;
	background: #FFF;
	padding-right: 1.2em;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.arrow {
	position: relative;
}

.arrow:after {
	font-family: 'FontAwesome';
	content: '\f0d7';
	position: absolute;
	right: 5px;
	top: -.8rem;
	text-align: center;
	line-height: 2em;
	color: #355018;
	width: 1rem;
	height: 1rem;
	padding: .6rem;
	pointer-events: none;
	z-index: 3;
}

.arrow:before {
	content: '';
	position: absolute;
	right: 1px;
	top: -9px;
	width: 3rem;
	height: 2.75rem;
	pointer-events: none;
	z-index: 2;
}


/*label*/

label {
	position: relative;
}

label.any:after,
label.required:after {
	margin: .5em 0 0 .5rem;
	position: absolute;
	content: "";
	width: 2.5rem;
	height: 1em;
	background-repeat: no-repeat;
	-webkit-background-size: contain;
	background-size: contain;
}

label.any:after {
	background-image: url(../contact/img/any.svg);
}

label.required:after {
	background-image: url(../contact/img/required.svg);
}

.inlineLabel{
	display: inline-block;
	width: 100px;
	text-align: right;
	margin-right: 5px;
}

/*contoroll*/

input.danger,
select.danger,
textarea.danger {
	border-color: #d9534f;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #eba5a3;
	background-repeat: no-repeat;
	background-image: none\9;
}

input.success,
select.success,
textarea.success {
	border-color: #5cb85c;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #a3d7a3;
	background-repeat: no-repeat;
	background-image: none\9;
}

textarea.danger,
textarea.success {
	background-position: left 100% top 5%;
	-webkit-background-size: 7%;
	background-size: 7%;
}

@-webkit-keyframes autofill {
	to {
		color: #666;
		background: transparent;
	}
}

input.success:-webkit-autofill,
input.success:-webkit-autofill:hover,
input.success:-webkit-autofill:focus,
input.success:-webkit-autofill:active,
textarea.success:-webkit-autofill,
textarea.success:-webkit-autofill:hover,
textarea.success:-webkit-autofill:focus,
textarea.success:-webkit-autofill:active,
select.success:-webkit-autofill,
select.success:-webkit-autofill:hover,
select.success:-webkit-autofill:focus,
select.success:-webkit-autofill:active{
	-webkit-animation-name: autofill;
	-webkit-animation-fill-mode: both;
	border-color: #5cb85c!important;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #a3d7a3 !important;
	background-image: url("../img/success.svg") !important;
}

input.danger:-webkit-autofill,
input.danger:-webkit-autofill:hover,
input.danger:-webkit-autofill:focus,
input.danger:-webkit-autofill:active,
textarea.danger:-webkit-autofill,
textarea.danger:-webkit-autofill:hover,
textarea.danger:-webkit-autofill:focus,
textarea.danger:-webkit-autofill:active,
select.danger:-webkit-autofill,
select.danger:-webkit-autofill:hover,
select.danger:-webkit-autofill:focus,
select.danger:-webkit-autofill:active{
	-webkit-animation-name: autofill;
	-webkit-animation-fill-mode: both;
	border-color: #d9534f!important;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #eba5a3 !important;
	background-image: url("../img/danger.svg") !important;
}


/* IE Hack */


/*after*/

.afterWrap>.title {
	margin-top: 60px;
	margin-bottom: 30px;
	padding-bottom: 10px;
	font-size: 1.3em;
	border-bottom: 2px dashed #25507a;
}

.afterWrap>.text {
	padding: 30px;
}
.afterWrap>.text>p {
	line-height: 2em;
	text-align: justify;
}

@media all and (-ms-high-contrast:none) {
	input.danger,
	textarea.danger,
	input.success,
	select.success,
	textarea.success {
		background: none;
	}
	label.any:after,
	label.required:after {
		padding-top: 2px;
	}
}


/* radio checkbox */

.radioGroup {
	width: 90%;
	display: -webkit-box;
	display: box;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
}

.inputGroupWrap>.radioGroup:nth-child(n+2){
	margin-bottom: 5px;
}

input[type=radio],
input[type=checkbox] {
	display: none;
}

.radioLabel,
.checkbox {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: background-color 0.2s linear;
	transition: background-color 0.2s linear;
	position: relative;
	display: inline-block;
	margin-right: 1.4rem;
	padding: .25rem 1rem .25rem 3rem;
	background: #fff;
	vertical-align: middle;
	cursor: pointer;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 0.25rem;
}

.radioLabel:hover,
.checkbox:hover {
	background-color: #F7E7EA;
}

.radioLabel:hover:after,
.checkbox:hover:after {
	border-color: #F6A9BB;
}

.radioLabel:after,
.checkbox:after {
	-webkit-transition: border-color 0.2s linear;
	transition: border-color 0.2s linear;
	position: absolute;
	top: 50%;
	left: 1rem;
	display: block;
	margin-top: -.5em;
	width: 1rem;
	height: 1rem;
	border: 2px solid #F6A9BB;
	border-radius: 6px;
	content: '';
}

.radioLabel:before {
	-webkit-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
	position: absolute;
	top: 50%;
	left: 1em;
	display: block;
	margin-top: -.5em;
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	background-color: #F6A9BB;
	content: '';
	opacity: 0;
}

input[type=radio]:checked + .radioLabel:before {
	opacity: 1;
}

.checkbox:before {
	-webkit-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
	position: absolute;
	top: 50%;
	left: 1.7em;
	display: block;
	margin-top: -.6em;
	width: .8em;
	height: .8em;
	border-right: 3px solid #F6A9BB;
	border-bottom: 3px solid #F6A9BB;
	content: '';
	opacity: 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

input[type=checkbox]:checked + .checkbox:before {
	opacity: 1;
}

/* imgThumbnail */

.imgThumbnail{
	display: block;
}

.imgThumbnail img{
	max-height: 100px;
	max-width: 100px;
}

/* lenght */

input.formWidht100,
select.formWidht100,
textarea.formWidht100 {
	width: 90%!important;
	box-sizing: border-box;
}

input.formWidht50,
select.formWidht50,
textarea.formWidht50 {
	width: 50%!important;
	box-sizing: border-box;
}

input.formWidht45,
select.formWidht45,
textarea.formWidht45 {
	width: 70%!important;
	box-sizing: border-box;
}

input.formWidhtTel,
input.formWidht90,
select.formWidht90,
textarea.formWidht90 {
	width: 80%!important;
	box-sizing: border-box;
}

input.formWidht15,
select.formWidht15,
textarea.formWidht15 {
	width: 8%!important;
	box-sizing: border-box;
}

input.formWidhtPost {
	width: 20%!important;
	box-sizing: border-box;
}
input.formWidAddress {
	width: 25%!important;
	box-sizing: border-box;
}


/* collum */

.col1 {
	width: 100%;
}

.col2 {
	width: 48%;
}

.col2:nth-child(even){
	margin-left: 4%;
}

.col3 {
	width: 31%;
	margin-left: 2%;
}

.col3:nth-child(1) {
	margin-left: 0;
}


/* button */

.btnWrap {
	width: 95%;
}

.btnWrap input {
	cursor: pointer;
	width: 48%;
}


/* thx */

.content p.fa.fa-check {
	color: #a3d7a3;
	width: 100%;
	text-align: center;
	font-size: 48px;
	margin-top: 20px;
}

.content p.thxCenter {
	text-align: center;
}


/* PC */

@media screen and (min-width: 760px) {
	.formWrap {
		width: 800px;
		margin-bottom: 50px;
	}
	/* input */
	input[type="text"],
	input[type="date"],
	input[type="file"],
	input[type="time"],
	input[type="number"],
	input[type="email"],
	select,
	textarea {
		padding: .25rem;
		border: 1px solid rgba(0, 0, 0, 0.15);
		font-size: 14px;
		line-height: 1.25;
		margin: 5px 0;
	}
	input[type="reset"],
	input[type="button"],
	input[type="submit"]{
		padding: .25rem 0;
		text-align: center;
		border: 1px solid rgba(0, 0, 0, 0.15);
		font-size: 14px;
		line-height: 1.25;
		margin: 5px 0;
	}
}


/*SP*/

@media screen and (max-width: 760px) {
	.container{
		width: 100%;
	}
	.formWrap {
		width: 100%;
		padding: 0 10px;
	}
	/* input */
	input[type="reset"],
	input[type="button"],
	input[type="submit"],
	input[type="text"],
	input[type="date"],
	input[type="file"],
	input[type="time"],
	input[type="number"],
	input[type="email"],
	select,
	textarea {
		padding: .75rem;
		border: 1px solid rgba(0, 0, 0, 0.15);
		font-size: 1rem;
		line-height: 1;
		margin: 5px 0;
	}
	input[type="reset"],
	input[type="button"],
	input[type="submit"] {
		padding: .75rem 1rem;
		text-align: center;
	}
	/*label*/
	label.any:after,
	label.required:after {
		margin: .1rem 0 0 .5rem;
		padding: 0;
		width: 3rem;
		height: 1.2rem;
		font-size: 80%;
	}
	.inlineLabel{
		display: block;
		width: 90%;
		text-align: left;
		margin-right: 5px;
	}
	/* radio checkbox */
	.radioGroup {
		width: 100%;
	}
	.radioLabel:after,
	.checkbox:after {
		top: 50%;
		left: 1em;
		margin-top: -.8em;
		width: 1.5em;
		height: 1.5em;
	}
	.checkbox:before,
	.radioLabel:before {
		top: 47%;
		left: 1.35em;
		display: block;
		margin-top: -.4em;
		width: .8em;
		height: .8em;
	}
	/* lenght */
	input.formWidht100,
	select.formWidht100,
	textarea.formWidht100 {
		width: 100%!important;
		box-sizing: border-box;
	}
	input.formWidht50,
	select.formWidht50,
	textarea.formWidht50 {
		width: 100% !important;
		box-sizing: border-box;
	}
	input.formWidht45,
	select.formWidht45,
	textarea.formWidht45 {
		width: 100%!important;
		box-sizing: border-box;
	}
	input.formWidht90,
	select.formWidht90,
	textarea.formWidht90 {
		width: 100%!important;
		box-sizing: border-box;
	}
	input.formWidht15,
	select.formWidht15,
	textarea.formWidht15 {
		width: 20%!important;
		box-sizing: border-box;
	}
	input.formWidhtPost {
		width: 46%!important;
		box-sizing: border-box;
	}
	input.formWidAddress {
		width: 100%!important;
		box-sizing: border-box;
	}
	/* collum */
	.col1 {
		width: 100%;
	}
	.col2 {
		width: 48%;
	}
	.col2.tireRight {
		padding-top: 1.5em;
	}
	.col3 {
		width: 49%;
		margin-left: 2%;
	}
	.col3:nth-child(1) {
		margin-left: 0;
	}
	/* button */
	.btnWrap {
		width: 100%;
	}
	.btnWrap input {
		cursor: pointer;
		width: 100%;
	}

	/*form*/
	.formWrap {
		width: 100%;
	}
	.required:after {
		font-size: .8rem;
	}
	/*btn*/
	.btnWrap>.btn {
		width: 80%;
		margin: 0 auto 10px;
	}
}

/* 縦長の場合 */

@media only screen and (max-width: 760px) and (orientation: portrait) {
	input.formWidhtTel{
		width: 80%!important;
		box-sizing: border-box;
	}
}


input[type="email"].parsley-error,
input[type="text"].parsley-error,
input[type="file"].parsley-error,
input[type="url"].parsley-error {
	background-color: #FFEBEE;
	border: solid 1px #E57373;
}

input[type="email"].parsley-success,
input[type="text"].parsley-success,
input[type="file"].parsley-success,
input[type="url"].parsley-success {
	background-color: #E8F5E9;
	border: solid 1px #A5D6A7;
}
.form_wrap{
	display: flex;
}
.form_box{
	width: 100%;
}

@media screen and (max-width: 760px) {
	.form_wrap {
		display: block;
	}
}