@charset "UTF-8";
/* ----------------------------------------------------------------
フォームの設定
-----------------------------------------------------------------*/

.c-form {
	width: 100%;
}

.contact-text {
    padding-left: 224px;
    margin: 60px 0 32px;
}

/* 基本設定 */
.c-form input {
	display: none;
}
.c-form input[type="text"], .c-form input[type="tel"], .c-form input[type="number"], .c-form input[type="email"], .c-form input[type="date"], .c-form input[type="month"], .c-form input[type="week"], .c-form input[type="time"], .c-form input[type="url"], .c-form input[type="password"] {
	font-size: 15px;
	color: #333333;
	padding: 1em;
	border: 1px solid #f2f2f2;
	background-color: #f2f2f2;
	cursor: text;
	display: block;
	width: 100%;
	box-sizing: border-box;
}
.c-form input[type="text"]:focus, .c-form input[type="tel"]:focus, .c-form input[type="number"]:focus, .c-form input[type="email"]:focus, .c-form input[type="date"]:focus, .c-form input[type="month"]:focus, .c-form input[type="week"]:focus, .c-form input[type="time"]:focus, .c-form input[type="url"]:focus, .c-form input[type="password"]:focus {
	border-color: #f2f2f2;
}

/* Chrome, Safari */
input::-webkit-input-placeholder{
	color: #808080;
}

/* Firefox */
input::-moz-placeholder{
	color: #808080;
}

/* Firefox 18以前 */
input:-moz-placeholder{
	color: #808080;
}

/* IE */
input:-ms-input-placeholder{
	color: #808080;
}




/* ファイルアップロード */
.c-form input[type="file"]{
	display: inline-block;
}

/* チェックボックス、ラジオボックス 基本設定 */
.c-form input + span {
	line-height: 1.5;
	font-size: 15px;
	padding-left: 1em;
	display: inline-block;
	vertical-align: top;
	margin: 0;

}


/* 送信ボタン */
.c-form button[type="submit"] {
	display: inline-block;
	border: none;
	cursor: pointer;
		-webkit-appearance: none;

	width: 540px;
	max-width: 100%;
	height: 66px;

	background: #fff;
	color: #2B883A;

	font-size: 16px;
	font-weight: bold;
}
.c-form input[type="submit"] {
	display: inline-block;
	border: none;
	cursor: pointer;
		-webkit-appearance: none;

	width: 540px;
	max-width: 100%;
	height: 66px;
	background-color: #fff;
	color: #2B883A;

	font-size: 16px;
}

/* テキストエリア */
.c-form textarea {
	border: 1px solid #f2f2f2;
	background-color: #f2f2f2;
	width: 100%;
	padding: .8em;
	font-size: 15px;
	max-width: 100%;
	box-sizing: border-box;
	display: block;
	margin: 0 0 0 auto;
	line-height: 1.7;
}
.c-form textarea:focus {
	border-color: #ffa000;
}

.c-form table th {
	width: 350px;
	position: relative;

	font-size: 15px;
	line-height: 1.5;
	font-weight: bold;
	color: #000000;

	padding-left: 70px;
	box-sizing: border-box;

	text-align: left;
}
@media screen and (max-width: 767px) {
.c-form table th {
		display: block;
		width: 100%;
		padding-left: 0px;
		padding-top: 20px;
	}
}

.c-form	table	th.required:after {
	content: "必須";

	height: 22px;
	padding: 5px 15px 4px;

	font-size: 13px;
	font-weight: bold;
	line-height: 13px;
	color: #ffffff;
	background: #2B883A;
	position: absolute;
	right: 0;
	z-index: 2;
	box-sizing: border-box;
}
@media screen and (max-width: 767px) {
.c-form	table	th.required:after {
	right: 0px;
}
}

.c-form	table	td {
	padding: 20px 32px;
	box-sizing: border-box;
	text-align: left;
}
@media screen and (max-width: 767px) {
.c-form	table	td {
		display: block;
		padding: 20px 0;
	}
}


[type="text"].required + label,
[type="email"].required + label,
textarea.required + label{
		line-height: inherit;
		padding: 0;
		padding-left: 0;
		margin-top: 0;
		display: block;
		position: absolute;
		top: .5em;
		right: .5em;
		z-index: 1;
		overflow: hidden;
		width: 10px;
}

[type="text"].required + label:after,
[type="email"].required + label:after,
textarea.required + label:after{
			content: "＊";
			font-size: .75em;
			font-weight: bold;
			color: #000000;
			position: absolute;
			top: 0;
			left: 0;
			z-index: 2;
	}

[type="text"].required:focus + label:after,
[type="email"].required:focus + label:after,
textarea.required:focus + label:after {
	left: .8em;
}

.va-top {
	vertical-align: top;
	padding-top: 22px;
}
#privacy-check {
	text-align: center;
	margin: 28px 0 16px;
}
#submit {
	margin-bottom: 96px;
}
#submit-comp .button_back,
#submit .button_back,
#submit .button_submit {
	box-sizing: border-box;
	width: 250px;
	height: 44px;
	display: block;
	color: #2b883a;
	text-align: center;
	border: 2px solid #2b883a;
	font-size: 14px;
	line-height: 14px;
	font-weight: bold;
	border-radius: 6px;
	margin: 18px auto;
	box-shadow: 6px 6px 0px 0px #e3d4ca;
	cursor: pointer;
	background-image: url(../img/button_right.png);
	background-size: 15px 15px;
	background-position: calc(100% - 22px) 12px;
	background-repeat: no-repeat;
}
#submit-comp .button_back,
#submit .button_back {
	padding: 14px 5px 16px;
	background-image: url(../img/button_left.png);
	background-size: 15px 15px;
	background-position: 22px 11px;
	background-repeat: no-repeat;
}
#submit .button_submit {
	padding: 14px 5px 16px;
	background-image: url(../img/button_right.png);
	background-size: 15px 15px;
	background-position: calc(100% - 22px) 12px;
	background-repeat: no-repeat;
}
#submit-comp .button_back:hover,
#submit .button_back:hover,
#submit .button_submit:hover {
    transform: translate( 3px, 3px);
    box-shadow: 3px 3px 0px 0px #e3d4ca;
    opacity: 1;
    filter: opacity(1);
}

.mw_wp_form_confirm #privacy-check,
.mw_wp_form_confirm .mail-confirm {
	display: none;
}
.mw_wp_form_confirm #submit {
	width: 1080px;
	margin: 12px auto 68px;
	display: flex;
	justify-content: center;
}

.mw_wp_form_confirm #submit .button_back,
.mw_wp_form_confirm #submit .button_submit {
	margin: 24px;
}
#submit-comp .button_back {
	margin-top: 48px;
	margin-bottom: 72px;
}

#privacy-check #pp-check {
	display: inline-block;
	margin-right: 12px;
}

#submit-comp {
	text-align: center;
}
#submit-comp h2 {
	margin: 72px auto 56px ;
	font-size: 32px;
	color: green;
	font-weight: bold;
}
#submit-comp p {
	font-size: 16px;
	margin: 32px auto;
}
#posbtn {
	display: inline-block;
	vertical-align: middle;
	font-size: 13px;
	line-height: 1;
	color: #ffffff;
	background-color: #333333;
	padding: 11px;
	cursor: pointer;
	margin-left: 25px;
}
#posbtn:hover {
	opacity: 0.6;
	filter: opacity(60);
}
@media screen and (max-width: 442px){
	#posbtn {
		margin-top: 28px;
		margin-left: 24px;
	}
}

@media screen and (max-width: 767px) {
	#submit-comp {
		width: 92%;
		margin: 0 auto;
	}
	#submit-comp h2 {
		line-height: 1.7;
	}
	#submit-comp p {
		width: 92%;
		line-height: 1.7;
	}
	.mw_wp_form_confirm #submit {
		width: 100%;
		margin: 20px auto;
		display: block;
	}

	.mw_wp_form_confirm #submit .button_back,
	.mw_wp_form_confirm #submit .button_submit {
		margin: 20px 20px 0 20px;
	}
	.mw_wp_form_confirm .c-form {
		margin-bottom: 72px;
	}
}

/*
#privacy-check label {
	position: relative;
}
#privacy-check label::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    z-index: 3;
    top: 4px;
    left: 4px;
    width: 10px;
    height: 10px;
    background: #2b883a;
    border-radius: 50%;
    opacity: 0;
}
#privacy-check label::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    background: #ffffff;
    width: 14px;
    height: 14px;
    border-radius: 50%;
}
#privacy-check input:checked + label::before {
    opacity: 1;
}

#privacy-check {

}
*/


/* クラスによるスタイルの設定 */
.c-form .mwform-checkbox-field, .c-form .mwform-radio-field {
	display: block;
}
	.c-form .mwform-checkbox-field:not(:nth-last-of-type(1)),
	.c-form .mwform-radio-field:not(:nth-last-of-type(1)) {
		margin-bottom: 50px;
	}

	.c-form .mwform-checkbox-field.horizontal-item,
	.c-form .mwform-radio-field.horizontal-item {
		display: inline-block;
		margin-bottom: 0;
		line-height: 1;
		padding: 1em 0;
	}
	.c-form .mwform-checkbox-field.horizontal-item:not(:nth-last-of-type(1)),
	.c-form .mwform-radio-field.horizontal-item:not(:nth-last-of-type(1)) {
			margin-right: 50px;
		}
@media screen and (max-width: 767px) {
	.c-form .mwform-checkbox-field.horizontal-item:not(:nth-last-of-type(1)),
	.c-form .mwform-radio-field.horizontal-item:not(:nth-last-of-type(1)) {
			display: block;
			padding: 0;
	}
	.c-form .mwform-checkbox-field.horizontal-item:not(:nth-last-of-type(1)),
	.c-form .mwform-radio-field.horizontal-item:not(:nth-last-of-type(1)) {
				margin-right: 0;
				margin-bottom: 50px;
			}

	.c-form .mwform-checkbox-field.horizontal-item:not(:nth-last-of-type(1)) label,
	.c-form .mwform-radio-field.horizontal-item:not(:nth-last-of-type(1)) label {
				display: block;
				box-sizing: border-box;
				width: 100%;
				height: 100%;
				padding: 1em 0 1em 15px;
		}
	}

@media screen and (max-width: 767px) {
.c-form .mwform-checkbox-field, .c-form .mwform-radio-field {
		padding-left: 15px;
		border: 1px solid #f2f2f2;
}

}

/* セレクトボックス */
.c-formItem__select {
	position: relative;
	font-size: 15px;
	z-index: 1;
}
.c-formItem__select:after {
	content: '▼';
	position: absolute;
		top: 50%;
		right: 0;
		transform: translateY(-50%) translateX(-50%);
	font-size: .8em;
	box-sizing: border-box;
}
.c-formItem__select select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	padding: .5em;
	background-color: #fff;
	border: 1px solid #f2f2f2;
	border-radius: 0;
}


.c-form .mwform-tel-field input[type="text"] {
	width: auto;
	display: inline-block;
}
@media screen and (max-width: 767px) {
.c-form .mwform-tel-field input[type="text"] {
	padding: 1em .8em;
}
}

/* MW WP CSS */
.mw_wp_form .horizontal-item + .horizontal-item {
		margin-left: 0!important;
}

@media screen and (max-width: 767px) {
	table {
		width: 100%;
	}
	.contact-text {
	    padding-left: 0;
	}
	#mw_wp_form_mw-wp-form-196 .mwform-tel-field input,
	#mw_wp_form_mw-wp-form-196 .mwform-zip-field input {
		width: 80px;
	}

}
