/*============================
お問い合わせフォーム
============================*/
#form {
	padding-bottom: 0.80rem;
}

/*タイトル*/
#form .sec_title {
	text-align: center;
}

/*リード*/
#form .lead {
	font-size: 0.18rem;
	line-height: 2;
	letter-spacing: 0.1em;
	text-align: center;
	margin: 0.40rem 0;
}

@media screen and (max-width: 599px) {
	#form .lead {
		font-size: 0.15rem;
		text-align: justify;
		letter-spacing: 0.05em;
		margin: 0.20rem 0 0.40rem;
	}
}

#form .contact_form_wrap {
	width: 100%;
	max-width: 9.00rem;
	margin: auto;
}

#form .contact_form_wrap table {
	width: 100%;
	font-size: 0.16rem;
	letter-spacing: 0.05em;
	line-height: 1.55;
}

@media screen and (max-width: 599px) {
	#form .contact_form_wrap table {
		font-size: 0.15rem;
	}
}

#form .contact_form_wrap th {
	text-align: left;
	width: 2.40rem;
	position: relative;
	padding: 0.20rem 0 0.10rem;
	vertical-align: top;
}

@media screen and (max-width: 599px) {
	#form .contact_form_wrap th {
		width: 100%;
		box-sizing: border-box;
		background-color: #DDD;
		padding: 0.10rem;
		display: block;
	}
}

/* 必須アイコン */
#form .contact_form_wrap th.required::after {
	content: "必須";
	font-size: 0.13rem;
	font-weight: 700;
	color: #FFF;
	background-color: #c71e0a;
	line-height: 1;
	padding: 0.03rem 0.10rem 0.05rem;
	position: absolute;
	right: 0.15rem;
	top: 0.19rem;
	border-radius: 3px;
}

@media screen and (max-width: 599px) {
	#form .contact_form_wrap th.required::after {
		font-size: 0.11rem;
		right: 0.10rem;
		top: 0.12rem;
	}
}

#form .contact_form_wrap td {
	position: relative;
	padding: 0.20rem 0 0.10rem;
}

@media screen and (max-width: 599px) {
	#form .contact_form_wrap td {
		width: 100%;
		display: block;
		padding: 0.10rem 0;
		box-sizing: border-box;
	}
}

#form .contact_form_wrap td .ERR {
	color: #c71e0a;
}

#form .contact_form_wrap td input[type="text"],
#form .contact_form_wrap td input[type="tel"] {
	padding: 0.08rem;
	border: 1px solid #CCC;
	font-size: 0.16rem;
	letter-spacing: 0.05em;
	background-color: #FFF;
	box-sizing: border-box;
	border-radius: 0.04rem;
	position: relative;
	top: -0.10rem;
}

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

	#form .contact_form_wrap td input[type="text"],
	#form .contact_form_wrap td input[type="tel"] {
		top: 0;
	}
}

#form .contact_form_wrap td .w100 {
	width: 100%;
}

#form .contact_form_wrap td textarea {
	padding: 0.08rem;
	border: 1px solid #CCC;
	font-size: 0.16rem;
	letter-spacing: 0.05em;
	background-color: #FFF;
	box-sizing: border-box;
	border-radius: 0.04rem;
	width: 100%;
	min-height: 2.50rem;
	line-height: 1.45;
	position: relative;
	top: -0.10rem;
}

@media screen and (max-width: 599px) {
	#form .contact_form_wrap td textarea {
		min-height: 1.50rem;
		top: 0;
	}
}

#form .contact_form_wrap .form_text {
	padding: 0.30rem 0;
	text-align: center;
	font-size: 0.16rem;
	line-height: 1.91;
	letter-spacing: 0.05em;
}

@media screen and (max-width: 599px) {
	#form .contact_form_wrap .form_text {
		padding: 0.20rem 0 0.40rem;
		text-align: justify;
		font-size: 0.15rem;
		line-height: 1.75;
	}
}

/* プライバシーポリシー */
#form .privacy_wrap {
	border: 2px solid #CCC;
	padding: 0 0.20rem 0.20rem;
	height: 2.50rem;
	overflow-y: scroll;
	border-radius: 0.10rem;
}

#form .privacy_wrap .privacy_title {
	font-size: 0.16rem;
	font-weight: 700;
	line-height: 1.55;
	letter-spacing: 0.05em;
	padding-top: 0.20rem;
}

@media screen and (max-width: 599px) {
	#form .privacy_wrap .privacy_title {
		font-size: 0.15rem;
	}
}

#form .privacy_wrap .text {
	font-size: 0.16rem;
	line-height: 1.55;
	letter-spacing: 0.05em;
}

@media screen and (max-width: 599px) {
	#form .privacy_wrap .text {
		font-size: 0.14rem;
	}
}

#form .privacy_wrap ul {
	padding-left: 0.20rem;
	padding-top: 0.10rem;
}

#form .privacy_wrap ul .list_text {
	font-size: 0.16rem;
	line-height: 1.55;
	letter-spacing: 0.05em;
	list-style: disc outside;
}

@media screen and (max-width: 599px) {
	#form .privacy_wrap ul .list_text {
		font-size: 0.14rem;
	}
}

#form privacy_wrap ol {
	padding-left: 0.20rem;
	padding-top: 0.10rem;
}

.privacy_wrap ol .list_text {
	font-size: 0.16rem;
	line-height: 1.55;
	letter-spacing: 0.05em;
}

@media screen and (max-width: 599px) {
	.privacy_wrap ol .list_text {
		font-size: 0.14rem;
	}
}

/* プライバシーポリシーの同意 */
#form .doui_wrap {
	padding: 0.30rem 0;
}

#form .doui_wrap .flex {
	display: flex;
	align-items: center;
	justify-content: center;
}

#form .doui_wrap .checkbox {
	padding-right: 0.05rem;
	position: relative;
}

#form .doui_wrap .checkbox::after {
	content: "必須";
	font-size: 0.13rem;
	font-weight: 700;
	color: #FFF;
	background-color: #c71e0a;
	line-height: 1;
	padding: 0.03rem 0.10rem 0.05rem;
	position: absolute;
	left: -0.55rem;
	top: 0.03rem;
	border-radius: 3px;
}

@media screen and (max-width: 599px) {
	#form .doui_wrap .checkbox::after {
		font-size: 0.11rem;
		left: -0.40rem;
		padding: 0.03rem 0.06rem 0.05rem;
	}
}

#form .doui_wrap .checkbox input {
	width: 0.18rem;
	height: 0.18rem;
}

#form .doui_wrap .text {
	font-size: 0.16rem;
	font-weight: 700;
	letter-spacing: 0.05em;
}

@media screen and (max-width: 599px) {
	#form .doui_wrap .text {
		font-size: 0.15rem;
		letter-spacing: 0;
	}
}

/* 送信ボタン */
#form .submit_btn .text {
	text-align: center;
	font-size: 0.16rem;
	letter-spacing: 0.05em;
	padding: 0.30rem 0 0.10rem;
}

@media screen and (max-width: 599px) {
	#form .submit_btn .text {
		font-size: 0.15rem;
		padding: 0.30rem 0 0.20rem;
	}
}

#form .submit_btn .list {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

#form .submit_btn .list .btn {
	width: 100%;
	max-width: 3.00rem;
	margin: 0.10rem;
}

#form .submit_btn .list .btn input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	line-height: 0;
	border: 0;
	border-radius: 0.60rem;
	padding: 0.29rem 0 0.31rem;
	font-size: 0.18rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s;
}

@media screen and (max-width: 599px) {
	#form .submit_btn .list .btn input {
		-webkit-appearance: none;
		font-size: 0.16rem;
	}
}

#form .submit_btn .list .btn input:hover {
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
	opacity: 0.7;
}

/* 確認ボタン */
#form .submit_btn .list .btn input.submit {
	background-color: #c71e0a;
	color: #FFF;
}

/* 戻るボタン */
#form .submit_btn .list .btn input.back {
	background-color: #999999;
	color: #FFF;
}


/* 送信完了 */
.contact_end_wrap {
	text-align: center;
	padding: 0.40rem 0;
}

.contact_end_wrap .title {
	font-size: 0.24rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding-bottom: 0.20rem;
	line-height: 1.45;
}


.contact_end_wrap .text {
	font-size: 0.16rem;
	line-height: 2;
	letter-spacing: 0.05em;
}

@media screen and (max-width: 599px) {
	.contact_end_wrap .text {
		font-size: 0.15rem;
		text-align: justify;
		letter-spacing: 0;
	}
}

.contact_end_wrap .back_btn {
	padding-top: 0.30rem;
	width: 100%;
	max-width: 3.00rem;
	margin: auto;
}

.contact_end_wrap .back_btn a {
	display: block;
	line-height: 0;
	padding: 0.24rem 0 0.28rem;
	background-color: #000;
	color: #FFF;
	border-radius: 0.60rem;
	font-size: 0.18rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
	position: relative;
}

@media screen and (max-width: 599px) {
	.contact_end_wrap .back_btn a {
		font-size: 0.15rem;
	}
}

.contact_end_wrap .back_btn a:hover {
	opacity: 0.7;
}

.contact_end_wrap .back_btn a::before {
	content: '';
	display: block;
	width: 0.40rem;
	height: 0.02rem;
	background: #c71e0a;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: -0.20rem;
	transition: .3s all;
}

@media screen and (max-width: 599px) {
	.contact_end_wrap .back_btn a::before {
		width: 0.30rem;
		left: -0.15rem;
	}
}

.contact_end_wrap .back_btn a:hover::before {
	left: -0.25rem;
}

@media screen and (max-width: 599px) {
	.contact_end_wrap .back_btn a:hover::before {
		left: -0.20rem;
	}
}

/*============================
お電話でのご連絡
============================*/
#tel {
	padding: 0.80rem 0;
	text-align: center;
	background-color: #F2F2F2;
}

@media screen and (max-width: 599px) {
	#tel {
		padding: 0.40rem 0;
	}
}

#tel .title {
	font-size: 0.20rem;
	font-weight: 700;
	letter-spacing: 0.05em;
}

@media screen and (max-width: 599px) {
	#tel .title {
		font-size: 0.16rem;
	}
}

#tel .tel_num {
	padding: 0.15rem 0;
}

#tel .tel_num a {
	font-size: 0.40rem;
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	letter-spacing: 0.05em;
	color: #c71e0a;
	text-decoration: none;
}

@media screen and (max-width: 599px) {
	#tel .tel_num a {
		font-size: 0.26rem;
	}
}

#tel .text {
	font-size: 0.15rem;
	letter-spacing: 0.05em;
}

@media screen and (max-width: 599px) {
	#tel .text {
		font-size: 0.13rem;
	}
}
