@charset "utf-8";

body, p, li {
	font-size: min(1.8rem, 1.8vw);
}

i {
	font-size: min(1.6rem, 1.6vw);
	font-style: normal;
}

.ea-mailform_box {
	width: 100%;
	padding: min(19%, 240px) 0 min(22%, 160px);
	background-color: #FFE8DF;
}

.ea-form_personal {
	margin-top: min(8%, 60px);
}
.ea-form_personal-title {
	font-weight: 600;
}
.ea-form_personal-text {
	margin-top: max(10px, 1%);
	padding: 15px;
	background-color: #fff;
	border: 1px solid #222;
	border-radius: 5px;
	font-size: min(1.6rem, 1.6vw);
	line-height: 190%;
}
.ea-form_check {
	margin-top: min(4%, 30px);
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 1vw;
}
.ea-form_check-text {
	font-family: "Noto Sans JP", sans-serif, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic";
	font-size: 1.6rem;
	text-align: justify !important;
}
.ea-form_check input {
	display: none;
}
.checkbox {
	width: auto;
	padding: 5px 0 5px 35px !important;
	display: inline-block;
	position: relative;
	box-sizing: border-box;
	cursor: pointer;
}
.checkbox::before,
.checkbox::after {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}
.checkbox::before {
	width: 20px;
	height: 20px;
	/* margin-top: -8px; */
	left: 5px;
	background-color: #fff;
	border: 1px solid #222;
	border-radius: 3px;
}
.checkbox::after {
	width: 7px;
	height: 12px;
	margin-top: -2px;
	left: 11px;
	transform: translateY(-50%) rotate(45deg);
	border-right: 3px solid #fff;
	border-bottom: 3px solid #fff;
	opacity: 0;
}
input[type=checkbox]:checked + .checkbox::before {
	background-color: #222;
}
input[type=checkbox]:checked + .checkbox::after {
	opacity: 1;
}
.ea-form_button {
	width: 30%;
	max-width: 430px;
	margin: min(6%, 70px) auto 0;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	text-decoration: none;
}
.ea-form_link {
	width: 100%;
	padding: 3.7% 5% 4.2%;
	display: inline-block;
	border: 3px solid #FF5800;
	border-radius: 50px;
	background-color: #fff;
	color: #FF5800;
	text-align: center;
	font-weight: 500;
	font-size: 2.1rem;
	position: relative;
}
.ea-form_link::after {
	content: "";
	width: 6.7%;
	height: 42%;
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 5%;
	transform: translateY(-50%) rotate(90deg);
	background-image: url(./../../img/arrow_orange.svg);
	background-repeat: no-repeat;
	background-position: 0;
	background-size: contain;
}
.ea-form_link:hover {
	opacity: .7;
}
::placeholder {
	color: #B0AAA4;
	line-height: 1.5;
	letter-spacing: 0.05em;
	text-align: justify;
}
/* 旧Edge対応 */
::-ms-input-placeholder {
	color: #B0AAA4;
}
/* IE対応 */
:-ms-input-placeholder {
	color: #B0AAA4;
}
.ea-form_footer {
	margin-top: 0;
	background-color: #fff;
}

/* -- form#mail_form, dl, dt, dd -------------------------------------------------------------------------------- */

form#mail_form * {
	/* margin: 0; */
	/* padding: 0; */
	box-sizing: content-box;
}

form#mail_form {
	width: 78.2%;
	max-width: 1100px;
    margin: 0 auto;
	padding: min(4%, 40px) 7% min(4%, 50px);
	line-height: 1.8;
	background-color: #fff;
	border-radius: 20px;
	position: relative;
}

form#mail_form>h2 {
	font-size: min(5rem, 5vw);
	line-height: 140%;
	text-align: center;
	color: #FF5800;
	font-weight: 600;
}

form#mail_form dl {
	width: 100%;
	margin-top: min(5%, 40px);
}


form#mail_form dl dt {
	display: flex;
	align-items: center;
	text-align: right;
	color: #222;
	font-weight: 600;
}

form#mail_form dl dd {
	width: 100%;
	margin-top: max(10px, 1%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

form#mail_form dl dd label {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #222;
}

form#mail_form dl dd input[type="checkbox"] {
	width: 25px;
	height: 25px;
	margin-right: 10px;
}

form#mail_form dl dd label:hover {
	cursor: pointer;
}

form#mail_form dl dd.ea-form_note {
	width: auto;
	padding-left: 1em;
	text-indent: -1em;
	font-size: 1.4rem;
	color: #222;
	text-align: justify;
}

form#mail_form dl dt i {
	position: relative;
	top: -2px;
}

form#mail_form dl dd div {
	max-width: 340px;
	min-width: 280px;
	margin: 0 auto;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
form#mail_form dl dd a {
	width: 52%;
	margin: max(10px, 2%) auto 0;
	padding-bottom: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	color: #222;
	font-size: 1.6rem;
	text-decoration: none;
	text-align: center;
}
form#mail_form dl dd a::before {
	content: "";
	width: 100%;
	height: 1px;
	display: inline-block;
	background-color: #222;
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
}
form#mail_form dl dd img {
	width: 3%;
	min-width: 18px;
	margin-left: 2%;
}

/* -- span.required, span.optional -------------------------------------------------------------------------------- */

form#mail_form dl dt span.required {
	display: inline-block;
	margin-left: 10px;
	padding: 2px 6px 3px;
	border-radius: 50px;
	background: #FF5800;
	border: 1px solid #FF5800;
	color: #fff;
	line-height: 1;
	font-weight: 500;
	font-size: 1.3rem;
}




/* -- error message -------------------------------------------------------------------------------- */

form#mail_form dl dd span.error_blank,
form#mail_form dl dd span.error_format,
form#mail_form dl dd span.error_match {
	width: 100%;
	display: block;
	color: #ff0000;
	margin-top: 5px;
}




/* -- loading -------------------------------------------------------------------------------- */

div.loading-layer {
	width: 100vw;
	height: 100vh;
	background: rgba( 0, 0, 0, 0.7 );
	position: fixed;
	left: 0px;
	top: 0px;
	z-index: 10000;
}

span.loading {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border-top: 5px solid rgba( 255, 255, 255, 0.2 );
	border-right: 5px solid rgba( 255, 255, 255, 0.2 );
	border-bottom: 5px solid rgba( 255, 255, 255, 0.2 );
	border-left: 5px solid #ffffff;
	-webkit-transform: translateZ( 0 );
	-ms-transform: translateZ( 0 );
	transform: translateZ( 0 );
	-webkit-animation: load-circle 1.0s linear infinite;
	animation: load-circle 1.0s linear infinite;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -30px;
	margin-left: -30px;
}

@-webkit-keyframes load-circle {
	0% {
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100% {
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}

@keyframes load-circle {
	0% {
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100% {
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}




/* -- input, select, textarea -------------------------------------------------------------------------------- */

form#mail_form input[type="text"],
form#mail_form input[type="email"],
form#mail_form input[type="tel"] {
	width: calc( 100% - 30px );
	/* width: 100%; */
	padding: 15px;
	border: 1px solid #222;
	border-radius: 5px;
	-webkit-appearance: none;
	font-size: 16px;
	font-family: inherit;
	line-height: normal;
}

form#mail_form input[type="text"]:focus,
form#mail_form input[type="email"]:focus,
form#mail_form input[type="tel"]:focus,
form#mail_form select:focus,
form#mail_form textarea:focus {
	background: #ffffff;
}

form#mail_form ul li input[type="radio"],
form#mail_form ul li input[type="checkbox"] {
	width: 25px;
	height: 25px;
	margin-right: 10px;
}

form#mail_form select {
	padding: 7px 2%;
	border: 1px solid #222;
	border-radius: 3px;
	font-size: 16px;
	font-family: inherit;
	line-height: normal;
}

form#mail_form textarea {
	display: block;
	width: calc( 100% - 30px );
	height: 200px;
	padding: 15px;
	resize: vertical;
	border: 1px solid #cccccc;
	border: 1px solid #222;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-size: 16px;
	font-family: inherit;
	line-height: normal;
	resize: none;
}




/* -- ul, li -------------------------------------------------------------------------------- */

form#mail_form ul {
	list-style-type: none;
}




/* -- input design -------------------------------------------------------------------------------- */

form#mail_form a.postal_search_button {
	display: inline-block;
	padding: 7px 20px;
	border: 1px solid #46b8da;
	border-radius: 3px;
	font-size: 16px;
	line-height: normal;
	color: #ffffff;
	text-decoration: none;
}

form#mail_form a.postal_search_button:hover {
	cursor: pointer;
	border: 1px solid #269abc;
}




/* -- button -------------------------------------------------------------------------------- */

form#mail_form p#form_submit {
	width: 53.6%;
	margin: min(10%, 70px) auto 0;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;

}

form#mail_form input[type="button"] {
	width: 100%;
	margin: 0 auto;
	padding: 2.2% 2% 2.5%;
	border-radius: 50px;
	background: linear-gradient(101deg, #FFA347 -18.75%, #FF4600 77.36%);
	font-size: min(3rem, 3vw);
	color: #fff;
	font-family: inherit;
	-webkit-appearance: none;
	letter-spacing: .08em;
	text-align: center;
	font-weight: 600;
	box-shadow: 1px 3px 6px rgb(0,0,0,.3);
}

form#mail_form input[type="button"]:hover,
form#mail_form p#form_submit:hover {
	cursor: pointer;
	opacity: .7;
}

#form_submit:has(#form_submit_button:disabled) {
	opacity: 0.5;
	pointer-events: none;
}

form#mail_form p#form_submit::after {
	content: "";
	width: 5.7%;
	height: 35%;
	display: inline-block;
	position: absolute;
	top: 50%;
	right: 5%;
	transform: translateY(-50%);
	background-image: url(./../../img/arrow_white.svg);
	background-repeat: no-repeat;
	background-position: 0;
	background-size: contain;
}




/* -- responsive ----------------------------------------------------------------------------------------------------------------------- */

/* 1000pixel start */
@media screen and ( max-width: 1000px ) {


/* -- form#mail_form, dl, dt, dd -------------------------------------------------------------------------------- */

form#mail_form {
	width: 84.7%;
}

form#mail_form dl dt {
	width: auto;
	text-align: left;
	font-weight: bold;
}

form#mail_form dl dt i {
	position: static;
	font-weight: normal;
}



}
/* 1000pixel end */



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


	.ea-mailform_box {
		padding: max(19%, 140px) 0 max(22%, 160px);
	}

	.ea-form_personal {
		width: 85%;
		margin: 0 auto;
		margin-top: max(8%, 60px);
	}

	.ea-form_personal-text {
		font-size: max(1.6rem, 2.34vw);
	}

	.ea-form_check {
		width: 85%;
		margin: 5% auto 0;
	}

	.ea-form_button {
		width: 60%;
		margin-top: max(6%, 70px);
	}

	.ea-form_link {
		font-size: 1.8rem;
	}

	.ea-form_link::after {
		min-width: 24px;
		min-height: 24px;
	}

	body, p, li {
		font-size: max(1.6rem, 2.34vw);
	}
	
	i {
		font-size: max(1.4rem, 2.34vw);
	}
	
	form#mail_form>h2 {
		font-size: max(3rem, 4.6vw);
	}
	
	form#mail_form {
		width: 88%;
		padding: max(4%, 40px) 0 max(4%, 50px);
	}
	
	form#mail_form>h2 {
		width: 85%;
		margin: 0 auto;
		font-size: max(3rem, 4.6vw);
	}
	
	form#mail_form dl {
		width: 85%;
		margin: max(5%, 30px) auto 0;
	}

	form#mail_form p#form_submit {
		width: 80%;
		margin-top: max(5%, 50px);
	}

	form#mail_form input[type="button"] {
		font-size: max(2rem, 3.26vw);
	}

	form#mail_form p#form_submit::after {
		min-width: 24px;
		min-height: 24px;
	}

}




