
/*
----------------------------------------
form
----------------------------------------
*/

div#mfp_hidden {
	overflow: hidden;
	width: 1px;
	height: 1px;
	padding: 0px;
	margin: 0px;
}
div#mfp_hidden input {
	margin: 10px;
}
div#mfp_loading_screen {
	z-index: 20000;
	opacity: 0.8;
	display: none;
	background-color: #000;
	position: absolute;
}
div#mfp_loading {
	z-index: 20001;
	position: absolute;
	display: none;
	width: 40px;
	height: 40px;
	background-image: url(../mailformpro/mfp.statics/_images/mfp_loading.gif);
}
div#mfp_overlay {
	position: absolute;
	display: none;
	z-index: 10001;
}
div#mfp_overlay_background {
	background-color: #000;
	position: absolute;
	display: none;
	z-index: 10000;
}

br.sp {
	display: none;
}

.efo-form input[type=text],
.efo-form input[type=search],
.efo-form input[type=tel],
.efo-form input[type=number],
.efo-form input[type=url],
.efo-form input[type=email],
.efo-form input[type=password],
.efo-form select,
.efo-form textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-size: 16px;
	color: #333;
	width: 100%;
	height: 56px;
	background: #fff;
	border: solid 1px #ddd;
	border-radius: 0;
	margin: 0;
	padding: 0 15px;
}

.efo-form input.s,
.efo-form select.s {
	max-width: 350px
}

.efo-form select {
	max-width: 350px;
	padding-right: 40px;
	background: #fff url( ../img/form/arrow-select.svg ) right 24px center no-repeat !important;
}

.efo-form select:has(option[value=""]:checked) {
    color: #707070;
}

.efo-form textarea {
	line-height: 1.8;
	width: 100% !important;
	height: 168px !important;
	padding: 16px 15px !important;
}

.efo-form .file-wrap {
	position: relative;
	margin-top: 8px;
}

.efo-form input[type=file] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-size: 16px;
	color: #333;
	width: 400px;
	max-width: 100%;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	margin: 0;
}

.efo-form input::file-selector-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 144px;
	height: 56px;
	background: #999;
	border: none;
	border-radius: 2px;
	color: #fff;
	font-size: 16px;
	margin-right: 24px;
	padding: 0;
	cursor: pointer;
}

.file-wrap .file-reset {
	display: none;
	width: 40px;
	height: 40px;
	right: 0;
	background: url(../img/form/close.svg) center no-repeat;
	border: none;
    margin: 0;
    padding: 0;
    vertical-align: middle;
	cursor: pointer;
}

.file-wrap .file-reset.show {
	display: inline-block;
}

.radio,
.checkbox {
	padding: 13.5px 0;
}

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

.radio label,
.checkbox label {
	display: inline-block;
	padding: .2rem 0 .2rem 3.2rem;
	margin: 0 4rem 0 0 !important;
	font-size: 1.8rem;
	line-height: 1.6;
	cursor: pointer;
	position: relative;
}

.radio label::before,
.checkbox label::before {
	content: '';
	display: inline-block;
	width: 18px;
	height: 18px;
	border: solid 2px #ddd;
	position: absolute;
	top: 4px;
	left: 0;
}

.radio label::before {
	border-radius: 50%;
}

.checkbox label::before {
	border-radius: 5px;
}

.radio label::after {
	content: '';
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var( --vk-color-primary );
	position: absolute;
	left: 6px;
	top: 10px;
	opacity: 0;
	transition: all .2s;
}

.radio input[type=radio]:checked + label::after,
.radio input[type=radio]:checked + input[type=hidden] + label::after {
	opacity: 1;
}

.checkbox label::after {
	content: '';
	width: 6px;
	height: 12px;
	border-right: solid 3px var( --vk-color-primary );
	border-bottom: solid 3px var( --vk-color-primary );
	position: absolute;
	left: 6px;
	top: 5px;
	opacity: 0;
	transform: rotate( 45deg );
	transition: all .2s;
}

.checkbox input[type=checkbox]:checked + label::after,
.checkbox input[type=checkbox]:checked + input[type=hidden] + label::after {
	opacity: 1;
}

.efo-form button[type=submit],
button#mfp_button_send {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	position: relative;
	display: block;
	width: 335px;
	max-width: 100%;
	font-size: 18px;
	letter-spacing: .06em;
	text-shadow: none;
	padding: 18px 35px 16px 0;
	border-radius: 4px;
	box-shadow: none;
	transition: all .2s;
	background: var( --vk-color-primary );
	color: #fff;
	border: solid 1px var( --vk-color-primary );
	margin: 40px auto 0;
	cursor: pointer;
}

.efo-form button[type=submit]::after,
button#mfp_button_send::after {
	content: '';
	position: absolute;
	right: 14px;
	top: 0;
	bottom: 0;
	display: block;
	width: 21px;
	height: 21px;
	background: #fff;
	mask: url(../img/form/circle-arrow.svg) center / contain no-repeat;
	margin: auto;
	transition: .2s;
}

button[type=submit].disabled {
	color: #fff !important;
	background: #ccc !important;
	border: solid 2px #ccc !important;
}

button[type=submit].disabled::after {
	display: none;
}

.efo-form input[type=reset],
.efo-form button[type=reset],
button#mfp_button_cancel {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: block;
	min-width: 90px;
	font-size: 18px;
	text-align: center;
	text-shadow: none !important;
	white-space: nowrap;
	color: #333;
	background: transparent;
	padding: 10px;
	border: none;
	border-bottom: solid 2px #333;
	border-radius: 0;
	box-shadow: none !important;
	transition: all .2s;
	margin: 40px auto 0;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
	color: #707070;
	font-size: 16px
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: #707070;
	font-size: 16px
}

::placeholder{ /* Others */
	color: #707070;
	font-size: 16px
}


/*
----------------------------------------
efo-form
----------------------------------------
*/

.form-wrap {
	padding: 48px 40px 50px;
	background: #f9f9f9;
	font-size: 16px;
}

/* form-step */

.form-step {
	display: flex;
	width: 100%;
}

.form-step > div {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60px;
	width: calc( ( 100% - 2px ) / 3 );
	margin-right: 1px;
	text-align: center;
	white-space: nowrap;
	background: #999;
	color: #fff;
	position: relative;
}

.form-step > div:last-of-type {
	margin-right: 0;
}

.form-step .step-01,
#mfp_phase_confirm .form-step .step-02 {
	background: #36CCE5;
}


/* remaining */

.remaining {
	position: fixed;
	right: 20px;
	bottom: 120px;
	display: inline-block;
	background: #fff;
	border: solid 1px var( --vk-color-primary );
	text-align: center;
	opacity: 0;
	visibility: hidden;
	z-index: -1;
	transition: all .2s;
}

.remaining.active {
	opacity: 1;
	visibility: visible;
	z-index: 9999;
}

.remaining .read {
	padding: 15px 20px;
	line-height: 1.8;
	margin-bottom: 0 !important;
}

.remaining .num {
	background: var( --vk-color-primary );
	color: #fff;
	padding: 5px 20px;
	margin-bottom: 0 !important;
}

.form-box div#mfp_warning {
	text-align: center;
	line-height: 1.8;
	color: #a00;
	background: transparent;
	border-radius: 0;
	border: solid 1px #a00;
	padding: 15px;
	margin-bottom: 30px;
}

.form-box div#mfp_warning a {
	color: #a00;
	text-decoration: underline;
}

.efo-form .form-list {
	display: flex;
	flex-wrap: wrap;
	row-gap: 32px;
}

.efo-form .form-wrap .input-name {
	width: 309px;
	padding: 18px 80px 0 0;
	border: none;
	font-weight: 700;
	line-height: 1.5;
	text-align: left;
	position: relative;
}

.req-label {
	display: inline-block;
	background: var( --vk-color-primary );
	color: #fff;
	font-size: 14px;
	line-height: 32px;
	width: 60px;
	text-align: center;
	border-radius: 2px;
	position: absolute;
	top: 12px;
	right: 40px;
}

.efo-form .form-wrap .input-cont {
	width: calc( 100% - 309px );
	border: none;
	line-height: 1;
	position: relative;
}

.efo-form .form-wrap .input-cont .note {
	color: #707070;
	font-size: 14px;
	line-height: 1.4;
	margin-top: 9px;
	margin-bottom: 0;
}

.efo-form .form-wrap .input-cont .note:first-child {
	margin-top: 0;
}

.efo-form .form-wrap .input-cont .note + .note {
	margin-top: 4px;
}

.efo-form .form-wrap .input-cont::after {
	content: '\f00c';
	font-family: fontAwesome;
	font-size: 18px;
	color: var( --vk-color-primary );
	position: absolute;
	top: 18px;
	right: -28px;
	opacity: 0;
	visibility: hidden;
	transition: all .2s;
}

.efo-form .form-wrap .input-cont.ok::after {
	opacity: 1;
	visibility: visible;
}

.efo-form .form-wrap .input-list .input + .input {
	margin-top: 20px;
}

.pp-box {
	max-height: 300px;
	background: #fff;
	overflow: auto;
	padding: 4.5rem 5rem;
	margin: 6rem 0 5.8rem;
	-webkit-overflow-scrolling: touch;
}

.pp-box h2 {
	font-size: 2rem;
	font-weight: normal;
	text-align: center;
	letter-spacing: 1.6px;
	margin-bottom: 3rem;
}

.pp-box h3 {
	font-size: 1.8rem;
	font-weight: normal;
	line-height: 1.8;
	margin: 3.2rem 0 1.6rem;
	padding-bottom: .8rem;
	border-bottom: solid 1px #ddd;
}

.pp-box p {
	letter-spacing: 1.1px;
}

.pp-box .address-box p {
	margin-top: 3rem;
	padding-left: 2rem;
	border-left: solid 5px #ccc;
}

.submit-box .agree {
	text-align: center;
	padding: 0;
}

.submit-box .agree .req-label {
	margin-right: 1.5rem;
	transform: translateY( -2px );
	position: relative;
	top: 0;
}

.submit-box .agree div.mfp_err {
	text-align: center;
}

.agree label {
	margin-right: 1rem !important;
	letter-spacing: 1.2px;
	padding: 0 0 0 3.2rem;
}

.agree label .req-label {
	margin-right: .5rem;
}

.agree label a {
	text-decoration: underline;
}

form#mailformpro {
	padding: 0;
}

.name.flex > span {
	padding: 0;
	margin-right: 15px;
}

.problem {
	border: solid 1px #a00 !important;
}

div.mfp_err {
	display: none;
	background: transparent;
	padding: 0;
	margin: 10px 0 0;
	font-size: 14px;
	color: var( --vk-color-primary );
}

div#mfp_phase_confirm h4 {
	background-color: unset;
	font-size: 24px;
	font-weight: normal;
	padding: 0;
	margin: 30px 0;
	text-align: center;
}

table#mfp_confirm_table {
	background: #fff;
}

table#mfp_confirm_table tr th,
table#mfp_confirm_table tr td {
	font-size: 16px;
	line-height: 1.8;
	font-weight: normal;
	border: none;
	border-bottom: dotted 1px #999;
}


table#mfp_confirm_table tr td {
	padding: 28px 20px;
}

table#mfp_confirm_table tr th {
	width: 300px;
	font-weight: 700;
	padding: 28px 40px;
	text-align: left;
}

table#mfp_confirm_table tr.mfp_colored {
	background: transparent;
}

div.mfp_buttons {
	padding: 0;
}


/*
----------------------------------------
991
----------------------------------------
*/

@media screen and ( max-width: 991px ) {

	.efo-form .form-wrap .input-name {
		width: 240px;
		padding: 18px 50px 0 0;
	}

	.req-label {
		right: 20px;
	}

	.efo-form .form-wrap .input-cont {
		width: calc( 100% - 240px );
	}

	table#mfp_confirm_table tr th {
		width: 240px;
	}
}


/*
----------------------------------------
768
----------------------------------------
*/

@media screen and ( max-width: 768px ) {

	br.sp {
		display: inline;
	}

	br.pc {
		display: none;
	}

	.file-wrap .file-reset {
		top: -2.5px;
	}

	.form-wrap {
		padding: 15px 20px 30px;
	}

	.form-step > div {
		height: 48px;
		font-size: 13px;
		line-height: 1.3;
	}

	.efo-form .form-list {
		flex-direction: column;
		gap: 0;
	}

	.efo-form .form-wrap .input-name {
		width: 100%;
		padding: 20px 40px 15px 0;
		margin-top: 10px;
		position: relative;
	}

	.efo-form input.s,
	.efo-form select.s {
		width: 100%;
	}

	.efo-form .form-wrap .input-name::after {
		content: '\f00c';
		font-family: fontAwesome;
		font-size: 18px;
		color: var( --vk-color-primary );
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY( calc( -50% + 2.5px ) );
		opacity: 0;
		visibility: hidden;
		transition: all .2s;
	}

	.efo-form .form-wrap .input-name.ok::after {
		opacity: 1;
		visibility: visible;
	}

	.req-label {
		width: 50px;
		position: relative;
		top: -1.4px;
		right: unset;
		margin-left: 10px;
		font-size: 13px;
	}

	.efo-form .form-wrap .input-cont {
		width: 100%;
		padding: 0;
	}

	.efo-form .form-wrap .input-cont::before {
		display: none;
	}

	.efo-form input.s, select.s {
		width: 100%;
	}

	.efo-form select {
		width: 100%;
	}

	.efo-form input[type=file] {
		font-size: 14px;
		width: calc(100% - 48px);
	}

	.efo-form input::file-selector-button {
		width: 120px;
		height: 40px;
		font-size: 14px;
		margin-right: 12px;
	}

	.file-wrap .file-reset {
		display: none;
		width: 40px;
		height: 40px;
		right: 0;
		background: url(../img/form/close.svg) center no-repeat;
		border: none;
		margin: 0;
		padding: 0;
		vertical-align: middle;
		cursor: pointer;
	}

	.radio,
	.checkbox {
		padding: 5px 0 10px;
	}

	.radio label,
	.checkbox label {
		margin: 0 2rem 0 0 !important;
	}

	.efo-form .form-wrap .input-cont::after {
		display: none;
	}

	.pp-box {
		padding: 2rem;
		margin: 3rem 0 4.5rem;
	}

	.pp-box h3 {
		margin-top: 2rem;
	}

	.pp-box p {
		letter-spacing: 0;
		text-align: justify;
	}

	.submit-box {
		text-align: center;
	}

	.agree label {
		display: block;
		text-align: center;
		margin: 0 !important;
	}

	.submit-box .agree .req-label {
		margin: 0 1rem 0 0;
		transform: translateY( 1px );
	}

	.submit-box .agree {
		margin-bottom: 4.5rem;
	}

	.efo-form button[type=submit],
	button#mfp_button_send {
		width: 100%;
		margin: 30px auto 0;
	}

	.efo-form input[type=reset],
	.efo-form button[type=reset],
	button#mfp_button_cancel {
		min-width: 80px;
		font-size: 16px;
		margin-top: 30px;
	}

	div#mfp_phase_confirm h4 {
		font-size: 18px;
		margin: 20px 0;
	}

	table#mfp_confirm_table {
		margin: 20px 0 30px;
	}

	table#mfp_confirm_table tr {
		-js-display: flex;
		display: -ms-flex;
		display: -webkit-flex;
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
	}

	table#mfp_confirm_table tr th {
		width: 100%;
		padding: 16.5px 20px 11px;
		border: none;
	}

	table#mfp_confirm_table tr td {
		width: 100%;
		padding: 11px 20px 16.5px;
	}

	.remaining {
		right: 0;
		bottom: 0;
		left: 0;
		display: block;
	}

	.remaining .num {
		font-size: 18px;
		line-height: 1.5;
		padding: 10px 20px 11.5px;
	}

	.remaining .read {
		display: none;
	}

}


/*
----------------------------------------
hover
----------------------------------------
*/

@media screen and ( min-width: 769px ) {

	.tel-block .box:hover {
		background: #fafafa;
	}

	.agree label a:hover {
		color: var( --vk-color-primary );
	}

	.efo-form input[type=submit]:hover,
	.efo-form button[type=submit]:hover,
	button#mfp_button_send:hover {
		color: var( --vk-color-primary );
		background: #fff;
	}

	.efo-form button[type=submit]:hover::after,
	button#mfp_button_send:hover::after {
		background: var(--vk-color-primary);
	}

	.efo-form input[type=reset]:hover,
	.efo-form button[type=reset]:hover,
	button#mfp_button_cancel:hover {
		background: transparent;
	}

}
