@charset "utf-8";

/*============================================================================================================================================================
==============================================================================================================================================================

	フォーム本体

==============================================================================================================================================================
============================================================================================================================================================*/
.sec03_form_content {
    width: 100%;
    max-width: 700px;
    margin: 40px auto 0;
    padding: 155px 95px 50px;
    background: 
	url(../images/greeting/bg_nenga.svg) no-repeat top 20px center / 200px auto,
	url(../images/greeting/bg_kitte.svg) no-repeat top 50px left 50px,
	url(../images/greeting/bg_postnum.svg) no-repeat top 55px right 50px,
	#fff;
    position: relative;
    z-index: 1;
}
.sec03_form_winning{
	margin-top: 100px;
}
.sec03_form_winning .sec03_form_content{
	max-width: 100%;
    padding: 60px 20px;
	background: #fff;
}
.sec03_form_lead{
	text-align: center;
	font-size: 1.5rem;
	line-height: 1.8;
}
@media screen and (max-width: 767px) {
	.sec03_form_content {
		margin: 20px auto 0;
		padding: 27vw 20px 5vw;
		background:
		url(../images/greeting/bg_nenga.svg) no-repeat top 10px center / 156px auto,
		url(../images/greeting/bg_kitte.svg) no-repeat top 20px left 20px / 15% auto,
		url(../images/greeting/bg_postnum.svg) no-repeat top 30px right 20px / 50% auto,
		#fff;
		position: relative;
		z-index: 1;
	}
	.sec03_form_winning .sec03_form_content{
        padding: 30px 20px;
	}
	.sec03_form_lead{
		padding: 0 20px;
		text-align: justify;
	}
}



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

form.mail_form * {
	box-sizing: border-box;
}

form.mail_form {
	background: #ffffff;
}

form.mail_form dl {
	margin: 0 auto;
}

form.mail_form dl:after,
form.mail_form dl dt:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

form.mail_form dl dt {
	/* font-size: 1.8rem;
	margin-bottom: 20px; */
	/* width: 30%;
	float: left;
	padding: 35px 0 25px;
	text-align: right; */
	flex-basis: 30%;
	margin-top: 15px;
}

form.mail_form dl dd {
	/* width: 65%;
	float: right;
	padding: 30px 0 25px 5%; */
	flex-basis: 70%;
}


form.mail_form dl dt i {
	float: left;
	position: relative;
	top: -2px;
}




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

form.mail_form dl dt span.required,
form.mail_form dl dt span.optional {
	display: inline-block;
	font-size: 85%;
	color: #ffffff;
	padding: 4px 10px;
	/* border-radius: 3px; */
	margin-right: 10px;
}

form.mail_form dl dt span.required {
	background: #ea5550;
	border: 1px solid #ea5550;
}

form.mail_form dl dt span.optional {
	background: #595757;
	border: 1px solid #595757;
}

/* form.mail_form dl dt .required {
	position: relative;
	margin-right: 30px;
} */
/* form.mail_form dl dt .required::before {
	content: '';
	background: #00afcc;
	border-radius: 50%;
	width: 1.5rem;
	height: 1.5rem;
	position: absolute;
	top: 3px;
	left: 0;

} */



/* -- 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 {
	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 );
	}
}


.radio_wrap{
	margin-top: 10px;
	display: flex;
    flex-direction: column;
	gap: 5px;

	& label{
		margin-left: 20px;
	}
}

@media screen and (min-width: 767px) {
	.radio_wrap{
		flex-direction: row;

		& label{
			margin-left: 20px;
		}
	}
}

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

form.mail_form input[type="text"],
form.mail_form input[type="email"],
form.mail_form input[type="tel"] {
	width: 100%;
	padding: 10px;
	border: 2px solid #ea5550;
	background: #fff;
	-webkit-appearance: none;
	font-size: 1.5rem;
	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 textarea:focus {
	box-shadow: 0px 0px 5px #55ccff;
	border: 1px solid #55ccff;
	background: #ffffff;
}

input[type="radio"],
input[type="checkbox"] {
	/* margin: 0 10px 0 0; */
	margin: 0 10px 3px 0;
}



form.mail_form select {
	padding: 10px;
	font-size: 1.5rem;
	border: 2px solid #00afcc;
	width: 100%;
}

form.mail_form textarea {
	display: block;
	width: 100%;
	/* height: 200px; */
	padding: 10px;
	resize: vertical;
	border: 2px solid #ea5550;
	background: #fff;
	-webkit-appearance: none;
	/* font-size: 16px;
	font-family: inherit;
	line-height: normal; */
}



form.mail_form .optional input[type="text"],
form.mail_form .optional textarea{
	border-color: var(--color-font);
}


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

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

form.mail_form ul li label {
	display: block;
	margin-top: 10px;
	padding: 7px 2%;
	border-radius: 3px;
	background: #f0f0f0;
}

form.mail_form ul li:first-child label {
	margin-top: 0px;
}

form.mail_form ul li label:hover {
	cursor: pointer;
	background: #e0e0e0;
}




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

/* form.mail_form input[name="company"] {
	width: 70%;
}

form.mail_form input[name="name_1"],
form.mail_form input[name="name_2"],
form.mail_form input[name="read_1"],
form.mail_form input[name="read_2"],
form.mail_form input[name="postal"],
form.mail_form input[name="phone"],
form.mail_form input[name="schedule"] {
	width: 30%;
}

form.mail_form input[name="mail_address"],
form.mail_form input[name="mail_address_confirm"] {
	width: 80%;
} */

form.mail_form input[name="postal"] + a {
	display: inline-block;
	padding: 7px 20px;
	border: 1px solid #46b8da;
	border-radius: 3px;
	background: #5bc0de;
	font-size: 16px;
	line-height: normal;
	color: #ffffff;
	text-decoration: none;
}

form.mail_form input[name="postal"] + a:hover {
	cursor: pointer;
	background: #31b0d5;
	border: 1px solid #269abc;
}




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

form.mail_form p#form_submit {
	position: relative;
	max-width: 220px;
	width: 100%;
	/* margin: 0 auto; */
	margin: 30px auto 0;
	text-align: center;
	opacity: 1;
	transition: opacity .3s;

}
@media screen and (max-width: 767px) {
	form.mail_form p#form_submit {
		max-width: inherit;
	
	}
}


form.mail_form input[type="button"] {
	padding: 15px 10px;
	width: 100%;
	max-width: 220px;
	background: #00afcc;
	font-weight: 700;
	font-size: 2rem;
	letter-spacing: .2em;
	color: #ffffff;
	font-family: inherit;
	-webkit-appearance: none;
	margin: 0 auto;
	border-radius: 10px;
	transition: background-color 500ms;
}
form.mail_form p#form_submit:hover input {
	background-color: #ea5550;
}
form.mail_form p#form_submit::before {
	content: "";
	width: 19px;
	height: 19px;
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	background: url(../images/arrow_right_white.svg) no-repeat center / cover;
}



form.mail_form .example{
	margin-top: 5px;
	display: block;
	color: #9b9a9a;
}
.sec03_form_notes{
	margin-top: 0;
	text-align: center;
	line-height: 1.8;
}



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

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


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

form.mail_form {
	width: 100%;
	font-size: 100%;
	margin: 30px auto;
}

form.mail_form dl {
	width: 100%;
}

form.mail_form dl dt {
	width: auto;
	float: none;
	padding: 0;
	font-size: 1.6rem;
	text-align: left;
	font-weight: bold;
	/* margin-bottom: 10px; */
}

form.mail_form dl dd {
	width: auto;
	float: none;
	padding: 0;
}

form.mail_form dl dt i {
	float: none;
	position: static;
	font-weight: normal;
}



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

/* form.mail_form dl dt span.required,
form.mail_form dl dt span.optional {
	margin-right: 20px;
} */




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

form.mail_form input[name="phone"],
form.mail_form input[name="schedule"] {
	width: 60%;
}
/* form.mail_form input[type="text"],
form.mail_form input[type="email"],
form.mail_form input[type="tel"],
form.mail_form select,
form.mail_form textarea {
	width: calc( 100% - 4% - 2px );
} */

input[type="radio"], input[type="checkbox"] {
	margin: 0 10px 3px -20px;
}



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

/* form.mail_form p#form_submit {
	padding: 25px 0;
} */


form.mail_form p#form_submit::before {
	right: 20%;
}

form.mail_form input[type="button"] {
	margin-left: 0;
    max-width: 280px;
}


}
/* 1000pixel end */




form.mail_form .banner{
	margin: 40px 0;
	text-align: center;

	& img{
		width: 400px;
		height: auto;
	}
}
@media screen and (max-width: 767px) {
	form.mail_form .banner{
		margin: 30px 0;

		& img{
			width: 100%;
		}
	}
}





/*============================================================================================================================================================
==============================================================================================================================================================

	footer

==============================================================================================================================================================
============================================================================================================================================================*/
footer {
	position: relative;
	height: 70px;
	background: #595757;
	padding: 20px 0;
	color: #fff;
	z-index: 1;
}

@media screen and (max-width: 767px) {
	footer {
		height: 25px;
		padding: 0;
	}
}

footer .footer_inner {
	position: relative;
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	text-align: center;
}

footer .copyright {
	position: relative;
	color: #fff;
	letter-spacing: 0.1em;
	z-index: 1;
}