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

.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] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	color: #111;
	width: 100%;
	max-width: 100%;
	border: solid 2px #1a1a1a;
	border-radius: 10px;
	padding: 22px 20px 18px;
}

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

/*
.efo-form select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-size: 1.8rem;
	max-width: 100% !important;
	letter-spacing: 1.4px;
	color: #333;
	border: solid 1px #ccc !important;
	padding: 18.75px 51px 18.75px 30px !important;
	background: url( ../img/common/svg/arrow-select.svg ) right 20px center no-repeat !important;
}

.efo-form input[type=date] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-size: 1.8rem;
	line-height: 1.5;
	text-align: left !important;
	color: #333;
	width: 240px;
	max-width: 100%;
	border: solid 1px #ccc;
	padding: 14.5px 15px 14.5px 20px;
}
*/

.efo-form textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-size: 1.8rem;
	line-height: 1.8;
	width: 100% !important;
	max-width: 100%;
	height: 140px !important;
	border: solid 2px #1a1a1a;
	border-radius: 10px;
	padding: 18.5px 20px !important;
	margin: 0 !important;
}

.efo-form input[type=file] {
	font-size: initial;
	padding: 15px 0;
	color: #333;
}

.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;
	line-height: 1.6;
	cursor: pointer;
	position: relative;
}

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

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

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

.radio label::after {
	content: '';
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ff9900;
	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: 11px;
	border-right: solid 3px #ff6600;
	border-bottom: solid 3px #ff6600;
	position: absolute;
	left: 7px;
	top: 3px;
	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 input[type=submit],
.efo-form button[type=submit],
button#mfp_button_send {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: inline-block;
	width: 320px;
	max-width: 100%;
	font-size: 2rem;
	font-weight: bold;
	text-shadow: none;
	padding: 11px 15px 11px 10px;
	border: solid 4px #1a1a1a !important;
	border-radius: 30px;
	box-shadow: 4px 4px 0 #d9d4c0 !important;
	background-color: #ffee00;
	background-image: url( ../img/2x/arrow-02.png );
	background-position: right 18px center;
	background-size: 22px;
	background-repeat: no-repeat;
	border: solid 2px #ff9900;
	display: block;
	margin: 2.5rem auto;
	transition: all .2s;
}

input[type=submit].disabled,
button[type=submit].disabled {
	color: #fff !important;
	background-color: #ccc !important;
	background-image: none !important;
	border: solid 4px #ccc !important;
	padding: 11px 10px;
	box-shadow: none !important;
}

.efo-form input[type=reset],
.efo-form button[type=reset],
button#mfp_button_cancel {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: inline-block;
	font-size: 1.8rem;
	text-align: center;
	text-shadow: none !important;
	color: #111;
	background: #fff;
	padding: 5px 0;
	margin-bottom: 3rem;
	border: none;
	border-bottom: solid 2px #111;
	border-radius: 0;
	box-shadow: none !important;
	transition: all .2s;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
	color: #999;
	font-size: 1.6rem;
	letter-spacing: .8px;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: #999;
	font-size: 1.6rem;
	letter-spacing: .8px;
}

::placeholder{ /* Others */
	color: #999;
	font-size: 1.6rem;
	letter-spacing: .8px;
}


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

/* form-step */

.form-step {
	width: 100%;
	margin-bottom: .8rem;
}

.form-step > div {
	height: 52px;
	line-height: 52px;
	width: calc( ( 100% - 16px ) / 3 );
	margin-right: 8px;
	text-align: center;
	white-space: nowrap;
	color: #fff;
	background: url( ../img/2x/step-off.png ) right center / auto 52px no-repeat;
	position: relative;
}

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

.form-step > div .en {
	text-transform: uppercase;
}

.form-step .step-01,
#mfp_phase_confirm .form-step .step-02 {
	background: url( ../img/2x/step-on.png ) right center / auto 52px no-repeat;
}

#mfp_phase_confirm .form-step .step-01,
.thanks .form-step .step-01 {
	background: url( ../img/2x/step-off.png ) right center / auto 52px no-repeat;
}

.thanks .form-step .step-03 {
	background: #ff9900;
}

/* remaining */

.remaining {
	position: fixed;
	right: 20px;
	bottom: 140px;
	display: inline-block;
	background: #fff;
	border: solid 4px #1a1a1a;
	border-radius: 5px;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	z-index: -1;
	transition: all .2s;
}

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

.remaining .read {
	padding: 15px 20px;
	line-height: 1.8;
}

.remaining .num {
	font-weight: bold;
	background: #ffee00;
	padding: 5px 20px;
}

.form-box div#mfp_warning {
	text-align: center;
	line-height: 1.8;
	color: #111;
	background: transparent;
	border-radius: 0;
	border: solid 3px #ff9900;
	padding: 15px;
	margin-bottom: 2rem;
}

.form-box div#mfp_warning a {
	color: #111;
}

.efo-form .form-wrap .form {
	border-bottom: solid 1px #e6e6e6;
}

.efo-form .form-wrap .input-name {
	font-size: 1.7rem;
	font-weight: bold;
	width: 330px;
	padding: 45px 20px;
	border: none;
	text-align: left;
	position: relative;
	border-top: solid 1px #e6e6e6;
}

.efo-form .form-wrap .input-name:first-of-type {
	border-top: none;
}

.req-label {
	display: inline-block;
	background: #ffee00;
	color: #1b1b1b;
	font-size: 1.4rem;
	font-weight: bold;
	width: 56px;
	text-align: center;
	border-radius: 5px;
	margin-left: 5px;
	transform: translateY( -1px );
}

.efo-form .form-wrap .input-cont {
	width: calc( 100% - 330px );
	padding: 29px 0;
	border: none;
	line-height: 1;
	position: relative;
	border-top: solid 1px #e6e6e6;
}

.efo-form .form-wrap .input-name:first-of-type + .input-cont {
	border-top: none;
}

.efo-form .form-wrap .input-cont::after {
	content: '';
	width: 27px;
	height: 27px;
	background: url( ../img/icon-ok.svg ) center center / contain no-repeat;
	position: absolute;
	top: 46.5px;
	right: -40px;
	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: 2rem;
}

.efo-form .form-wrap .date-wrap {
	flex-wrap: nowrap;
}

.efo-form .form-wrap .date-wrap select {
	width: 140px;
	letter-spacing: 0;
}

.efo-form .form-wrap .date-wrap .txt {
	margin: 0 2rem 0 1.6rem;
	vertical-align: middle;
}

.pp-box {
	font-family: 'Noto Sans JP', sans-serif;
	max-height: 200px;
	overflow: auto;
	padding: 2.2rem 3rem;
	margin: 3rem 0 3.5rem;
	border: solid 1px #b3b3b3;
	-webkit-overflow-scrolling: touch;
}

/* scrollbar */

.pp-box::-webkit-scrollbar {
	width: 5px;
	background: #ececec;
}

.pp-box::-webkit-scrollbar-track {
	box-shadow: none;
}

.pp-box::-webkit-scrollbar-thumb {
	background-color: #a9a9a9;
	box-shadow: none;
}

.pp-box h2 {
	font-size: 1.8rem;
	margin-bottom: 1.5rem;
}

/*
.pp-box h3 {
	font-size: 1.7rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: solid 1px #e6e6e6;
}
*/

.pp-box h3 {
	font-size: 1.6rem;
	line-height: 1.6;
	border-left: solid 4px #1a1a1a;
	padding-left: 1.2rem;
	margin: 2.5rem 0 1.5rem;
}

.pp-box p {
	font-size: 1.4rem;
	line-height: 2;
	margin: 1.5rem 0;
}

.pp-box ol {
	counter-reset: ol 0;
	font-size: 1.4rem;
	margin: 1.5rem 0;
}

.pp-box ol li {
	position: relative;
	padding-left: 2.4rem;
}

.pp-box ol li::before {
	counter-increment: ol 1;
	content: '(' counter( ol ) ')';
	position: absolute;
	top: 0;
	left: 0;
}

.pp-box table {
	font-size: 1.4rem;
	margin: 1.5rem 0;
	border-top: solid 1px #e6e6e6;;
}

.pp-box table th {
	background: #f5f5f5;
	font-weight: normal;
	text-align: center;
	padding: 12px 18px;
	border-bottom: solid 1px #e6e6e6;;
}

.pp-box table td {
	padding: 12px 18px;
	border-bottom: solid 1px #e6e6e6;;
}

.pp-box ul li {
	font-size: 1.4rem;
	margin-bottom: 7px;
	padding-left: 1rem;
	position: relative;
}

.pp-box ul li::before {
	content: '・';
	position: absolute;
	top: 0;
	left: 0;
}

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

.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;
}

.mfp_element_all {
	max-width: 100%;
}

.mfp_element_text,
.mfp_element_number,
.mfp_element_select-one,
.mfp_element_email,
.mfp_element_tel,
.mfp_element_textarea,
.mfp_element_date,
.mfp_element_password {
	box-shadow: none;
	border: solid 1px #ccc;
	border-radius: 0;
	background: transparent;
	margin: 0;
}

.efo-form label.mfp_not_checked,
.efo-form label.mfp_checked {
	background: transparent;
	display: inline-block;
	text-align: center;
	margin: 0 10px 0 0;
	padding: 0;
	box-shadow: none;
	border: none;
	border-radius: 0;
	transition: all .2s;
}

.efo-form label.mfp_not_checked .mfp_err,
.efo-form label.mfp_checked .mfp_err {
	text-align: center;
}

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

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

div.mfp_err {
	background: transparent !important;
	padding: 0 !important;
	margin: 1rem 0 0;
	font-size: 1.4rem;
	color: #ff9900 !important;
}

#form div#mfp_phase_confirm div#mfp_phase_confirm_inner {
	text-align: center;
}

#form div#mfp_phase_confirm h4 {
	display: inline-block;
	font-size: 2.8rem;
	line-height: 1.7;
	border-bottom: solid 4px #ff9900;
	padding: 0;
	margin: 3rem auto;
}

#form table#mfp_confirm_table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
	margin-bottom: 2rem;
}

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

#form table#mfp_confirm_table tr th {
	width: 22%;
	font-size: 1.6rem;
	font-weight: normal;
	text-align: center;
	padding: 15px;
	background: rgba( 255, 153, 0, .15 );
	border-bottom: solid 1px #ff9900;
}

#form table#mfp_confirm_table tr:first-of-type th {
	border-top: solid 1px #ff9900;
}

#form table#mfp_confirm_table tr td {
	width: 78%;
	font-size: 1.6rem;
	padding: 15px 0 15px 18px;
	border-bottom: solid 1px #ccc;
	letter-spacing: .5px;
}

#form table#mfp_confirm_table tr:first-of-type td {
	border-top: solid 1px #ccc;
}

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

div.mfp_buttons {
	padding: 0;
}


/*
----------------------------------------
1080
----------------------------------------
*/

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

	.form-step > div .en {
		font-size: 1.8rem !important;
	}

	.efo-form .form-wrap .input-cont::before {
		left: -200px;
	}

	.efo-form .form-wrap .date-wrap select {
		width: 85px;
		padding: 17px 35px 17px 20px !important;
	}

	.efo-form .form-wrap .date-wrap .year select {
		width: 100px;
	}

	.efo-form .form-wrap .date-wrap .txt {
		margin: 0 1rem 0 0.6rem;
	}

	.pp-box {
		padding: 3.5rem 3rem;
		margin: 4.5rem 0;
		font-size: 1.4rem;
	}

	div#mfp_phase_confirm h4 {
		font-size: 2.2rem;
	}

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

	table#mfp_confirm_table tr th,
	table#mfp_confirm_table tr td {
		font-size: 1.5rem;
	}

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

	.efo-form .form-wrap .input-name {
		width: 40%;
	}

	.efo-form .form-wrap .input-cont {
		width: 60%;
	}

}


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

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

	.form-step {
		margin-bottom: 0;
	}

	.form-step > div {
		height: 30px;
		line-height: 30px;
		width: calc( ( 100% - 8px ) / 3 );
		margin-right: 4px;
		white-space: initial;
		font-size: 2.6666vw;
		letter-spacing: 0;
		padding-right: 1vw;
	}

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

	.form-step > div .en {
		font-size: 2.6666vw !important;
		margin-right: 4px;
	}

	.efo-form > dl {
		flex-direction: column;
	}

	.efo-form .form-wrap .form {
		border: none;
	}

	.efo-form .form-wrap .input-name {
		width: 100%;
		font-size: 4.2666vw;
		background: transparent;
		padding: 16px 40px 8px 0;
		position: relative;
		border-top: 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] {
		/*font-size: 3.7333vw;*/
		font-size: 1.6rem;
		padding: 11px 12px 9px;
		border-radius: 5px;
	}

	.efo-form textarea {
		font-size: 1.6rem;
		/*font-size: 3.7333vw;*/
		padding: 10px 15px !important;
	}

	.radio label,
	.checkbox label {
		font-size: 1.6rem;
	}

	.efo-form input[type=submit],
	.efo-form button[type=submit],
	button#mfp_button_send {
		margin: 3rem auto 3.5rem;
	}

	::-webkit-input-placeholder { /* WebKit, Blink, Edge */
		font-size: 3.7333vw;
		letter-spacing: 1px;
	}

	:-ms-input-placeholder { /* Internet Explorer 10-11 */
		font-size: 3.7333vw;
		letter-spacing: 1px;
	}

	::placeholder{ /* Others */
		font-size: 3.7333vw;
		letter-spacing: 1px;
	}

	.efo-form .form-wrap .input-name::after {
		content: '';
		width: 24px;
		height: 24px;
		background: url( ../img/icon-ok.svg ) center center / contain no-repeat;
		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: 12.5vw;
		position: relative;
		top: .6px;
		margin-left: 0;
		padding: 0;
		font-size: 3.4666vw;
		letter-spacing: 0;
		border-radius: 3px;
	}

	.efo-form .form-wrap .input-cont {
		width: 100%;
		padding: 0 0 2rem;
		border-top: none;
		border-bottom: solid 1px #e6e6e6;
	}

	.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=date] {
		width: 100%;
		min-height: 60px;
		padding: 16px 20px;
	}

	.efo-form input[type=file] {
		padding: 4px 0 10px;
	}

	.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;
	}

	.efo-form .form-wrap .date-wrap select {
		width: 15vw;
		padding: 17px 12px !important;
		background: none !important;
	}

	.efo-form .form-wrap .date-wrap .year select {
		width: 20vw;
	}

	.efo-form .form-wrap .date-wrap .txt {
		margin: 0 .8rem 0 .4rem;
	}

	.pp-box {
		padding: 3.7333vw;
		margin: 2.5rem 0;
	}

	.pp-box h2 {
		font-size: 1.5rem;
		margin-bottom: .8rem;
	}

	/*
	.pp-box h3 {
		font-size: 1.5rem;
		padding-bottom: .8rem;
		margin-bottom: .8rem;
	}
	*/

	.pp-box h3 {
		font-size: 1.4rem;
		border-left: solid 3px #1a1a1a;
		margin: 2rem 0 .8rem;
	}

	.pp-box p {
		font-size: 1.3rem;
		letter-spacing: .4px;
		text-align: justify;
		margin: .8rem 0;
	}

	.pp-box ol {
		font-size: 1.3rem;
		letter-spacing: .8px;
		margin: .8rem 0;
	}

	.pp-box table {
		width: 100%;
		font-size: 1.3rem;
		letter-spacing: .4px;
		margin: .8rem 0;
	}

	.pp-box table th {
		padding: 10px;
		width: 34%;
		vertical-align: middle;
	}

	.pp-box table td {
		padding: 10px 12px;
		vertical-align: middle;
	}

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

	#mfp_loading,
	#mfp_loading_screen,
	#div#mfp_overlay_background {
		display: none !important;
	}

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

	.submit-box .agree {
		margin: 0 -2rem 2rem;
	}

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

	.efo-form input[type=submit],
	.efo-form button[type=submit],
	button#mfp_button_send {
		font-size: 4.2666vw;;
		width: 100%;
		margin: 0 0 2rem;
		color: #1a1a1a !important;
		border: solid 2px #1a1a1a !important;
	}

	.efo-form input[type=submit].disabled,
	.efo-form button[type=submit].disabled {
		border: solid 2px #ccc !important;
	}

	.efo-form input[type=reset],
	.efo-form button[type=reset],
	button#mfp_button_cancel {
		font-size: 1.6rem;
	}

	#form table#mfp_confirm_table {
		margin-top: 1rem;
		border: none;
	}

	#form div#mfp_phase_confirm h4 {
		font-size: 1.8rem;
		margin: 20px 0;
		border-bottom: solid 2px #ff9900;
	}

	table#mfp_confirm_table {
		margin: 20px 0 3rem;
		border: none;
		border-top: dotted 1px #999;
	}

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

	#form table#mfp_confirm_table tr th {
		width: 100%;
		padding: 6px 20px;
		text-align: left;
		border-top: solid 1px #ff9900;
	}

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

	#form table#mfp_confirm_table tr td {
		border: none !important;
	}

	div.mfp_buttons button#mfp_button_cancel {
		margin-bottom: 0;
	}

	#form div.mfp_buttons {
		padding: 0;
		margin-bottom: 2.5rem;
	}

	div#mfp_phase_confirm {
		padding-top: 1rem;
	}

	.remaining {
		right: 0;
		bottom: 0;
		left: 0;
		display: block;
		border: solid 2px #1a1a1a;
		border-radius: 0;
	}

	.remaining .num {
		font-size: 1.8rem;
		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: #ff9900;
	}

	.efo-form input[type=submit]:hover,
	.efo-form button[type=submit]:hover,
	button#mfp_button_send:hover {
		background: #ffee00 url( ../img/2x/arrow-02.png ) right 13px center / 22px no-repeat;
	}

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

}
