.fomrStyle{
	padding: 10px;
	background-color: #ffffff;
}
#doc article .fomrStyle h3{
	background-color: #83b263;
	color: #fff;
}
#doc article p.any_note{
	margin-bottom: -2em;
	text-align: center;
}

.required{
background-color: #fff;
    color: #ff0000;
    margin-left: 10px;
    font-size: 0.7rem;
    font-weight: 400;
    padding: 2px 10px;
    line-height: 1;
    border-radius: 5px;
}


.btnLayout{
	text-align: center;
	margin: 30px 0;
	padding: 20px 0;
	border-top: 1px solid #ccc;
}
.book_now_button{
	font-size: 1.2rem;
	padding: 10px 30px;
	background-color: #333333;
	color: #fff;
	border-width: 2px;
	border-style: solid;
	border-color: #fff;
	cursor: pointer;
	transition:.5s;
}
.book_now_button:hover{
	background-color: #fff;
	color: #333;
	border-color: #333;
}
.return_form_button{
	font-size: 0.9rem;
	padding: 10px 20px;
	background-color: #999;
	color: #fff;
	border-width: 2px;
	border-style: solid;
	border-color: #999;
	cursor: pointer;
	transition:.5s;
}
.return_form_button:hover{
	background-color: #666;
	color: #fff;
	border-color: #333;
}

/*メール要素*/
.contact input[type="text"],
.contact input[type="tel"],
.contact input[type="email"],
.contact input[type="number"],
.contact textarea,
.contact select{
	padding: 10px;
	-webkit-transition:.5s; /*transitionで動きを*/
	-moz-transition:.5s;
	transition:.5s;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-style: solid;
	border-color: #ddd;
	border-width: 2px;
	background-color:#f6f6f6;
}
.contact textarea{
	width: calc(100% - 42px);
	height: 8rem;
}

@media screen and (max-width: 768px) {
	.contact input[type="text"],
	.contact input[type="tel"],
	.contact input[type="email"],
	.contact input[type="number"],
	.contact textarea,
	.contact select{
		padding: 5px;
		margin-bottom: 10px;
	}
	.contact textarea{
		width: calc(100% - 10px);
		height: 8rem;
	}
}
.contact input[type="text"]:focus,
.contact input[type="tel"]:focus,
.contact input[type="email"]:focus,
.contact input[type="number"]:focus,
.contact textarea:focus,
.contact select:focus{
	background-color:#fff;
	border-color: #e26885;;
}


.contact input[type="radio"]{
	display: none;
}
.contact input[type="radio"] + span,
.contact input[type="hidden"] + span{
	padding-left: 24px;
	position:relative;
	margin-right: 20px;
	-webkit-transition:.5s; /*transitionで動きを*/
	-moz-transition:.5s;
	transition:.5s;
}
.contact input[type="radio"] + span::before,
.contact input[type="hidden"] + span::before{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 21px;
	height: 21px;
	border: 1px solid #999;
	border-radius: 50%;
	-webkit-transition:.5s; /*transitionで動きを*/
	-moz-transition:.5s;
	transition:.5s;
}
.contact input[type="radio"] + span:hover::before,
.contact input[type="hidden"] + span::before{
	border: 1px solid #d01137;
}

.contact input[type="radio"]:checked + span,
.contact input[type="hidden"] + span{
	color: #d01137;
}
.contact .mwform-radio-field input[type="radio"].wpcf7c-conf + span{
	color: #999;
}
.contact input[type="radio"].wpcf7c-conf + span:hover::before{
	border: 1px solid #999;
}

.contact input[type="radio"] + span::after,
.contact input[type="hidden"] + span::after{
	content: "";
	display: block;
	position: absolute;
	top: 4px;
	left: 4px;
	width: 15px;
	height: 15px;
	background-color: transparent;
	border-radius: 50%;
	-webkit-transition:.5s; /*transitionで動きを*/
	-moz-transition:.5s;
	transition:.5s;
}
.contact input[type="radio"]:checked + span::after,
.contact input[type="hidden"] + span::after{
	background-color: #d01137;
}

.contact input[type="checkbox"]{
	display: none;
}
.contact span.checkbox-field{
	width : auto;
	margin: 6px 0 6px 1em;
	display: inline-block;
}
.contact span.checkbox-field.vertical-item{
	display: block;
}

.contact span.-checkbox-field label{
	cursor : pointer;
}
.contact input[type="checkbox"] + span,
.contact input[type="hidden"] + span{
	padding-left: 24px;
	position:relative;
	margin-right: 20px;
	line-height: 22px;
	-webkit-transition:.5s; /*transitionで動きを*/
	-moz-transition:.5s;
	transition:.5s;
}
.contact input[type="checkbox"] + span::before,
.contact input[type="hidden"] + span::before{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 21px;
	height: 21px;
	border: 1px solid #999;
	border-radius: 3px;
	-webkit-transition:.5s; /*transitionで動きを*/
	-moz-transition:.5s;
	transition:.5s;
}
.contact  input[type="checkbox"] + span:hover::before{
	border: 1px solid #d01137;
}

.contact input[type="checkbox"]:checked + span,
.contact input[type="hidden"] + span{
	color: #d01137;
}

.contact input[type="checkbox"].wpcf7c-conf + span{
	color: #999;
}
.contact input[type="checkbox"].wpcf7c-conf + span:hover::before{
	border: 1px solid #999;
}

.contact input[type="checkbox"] + span::after,
.contact input[type="hidden"] + span::after{
	content: "";
	display: block;
	position: absolute;
	top: -3px;
	left: 1px;
	width: 14px;
	height: 20px;
	transform: rotate(40deg);
	border-width : 0px 3px 3px 0px;
	border-style : solid;
	border-color : transparent;
	border-radius: 3px;
	-webkit-transition: .5s;
	-moz-transition: .5s;
	transition: .5s;
}
.contact input[type="checkbox"]:checked + span::after,
.contact input[type="hidden"] + span::after{
	border-color : #d01137;
}
@media screen and (max-width: 768px) {
	.contact input[type="checkbox"] + span.mwform-checkbox-field-text{
		margin-right: 0px;
	}
}

/* 同意ボタン */
.contact .doui{
	text-align: center;
	margin: 30px auto;
}

/*送信ボタン*/
.mail_submit{
	text-align: center;
	margin-bottom: 40px;
}

.mail_submit input[type="submit"]{
	display : inline-block;
	border-radius : 3px;
	font-size : 1.3rem;
	text-align : center;
	cursor : pointer;
	padding : 20px 5px;
	background-color : #e26885;;
	color : #fff;
	line-heigh : 1.4em;
	transition : .3s;
	box-shadow : 3px 3px 3px #ccc;  /* 影の設定 */
	border : 1px solid #eee;    /* 枠の指定 */
	width : 60%;
}
.koseikai .mail_submit input[type="submit"]	{background-color : #4b90ba;}
.enzan .mail_submit input[type="submit"] 	{background-color : #ab75bc;}
.heartfull .mail_submit input[type="submit"]{background-color : #f08f52; }

.mail_submit input[type="submit"]:hover {
	box-shadow : none;
	color : #fff;
	background-color : #d01137;
}

.mail_submit .back{
	text-align: center;
	margin-bottom: 30px;
}

.mail_submit .back input[type="submit"]{
	display: inline-block;
	border-radius: 3px;
	font-size: 1.0em;
	text-align: center;
	cursor: pointer;
	padding: 10px 20px;
	background-color:#ccc;
	color:#333;
	line-heigh: 1.0em;
	transition: .3s;
	border: 0px solid #eee;
}
.mail_submit .back input[type="submit"]:hover {
	box-shadow    : none;
	color : #fff;
	background-color : #d01137;
}


@media screen and (max-width: 800px) {
	.confirm input[type="submit"]{
		width : 100%;
	}
	.back input[type="submit"]{
		width : 80%;
		margin-bottom: 10px;
	}
}

.contact .error {
	display: inline-block;
	font-size: 1.0em;
	background-color: #c00;
	color:#fff;
	padding: 3px 10px;
}

.contact a{
	color:#0078bf;
	-webkit-transition:.5s; /*transitionで動きを*/
	-moz-transition:.5s;
	transition:.5s;
}
.contact a:hover{
	color:#bf0000;
}