@charset "utf-8";

/*============================
MV
============================*/
.under_mv {
  width: 100%;
  height: 5.00rem;
  background-image: url(../img/under_mv.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
}
@media screen and (max-width: 640px) {
	.under_mv {
		height: 2.00rem;
	}
}

.under_mv .ttl {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 0.16rem;
  font-weight: 700;
}
@media screen and (max-width: 640px) {
	.under_mv .ttl {
		top: calc(50% + 0.30rem);
		font-size: 0.14rem;
	}
}

.under_mv .ttl span {
  font-size: 0.50rem;
  font-weight: 500;
  letter-spacing: 0.075em;
  color: #587be1;
  font-family: "Jost", sans-serif;
  display:block;
  padding-bottom: 0.10rem;
}
@media screen and (max-width: 640px) {
	.under_mv .ttl span {
		font-size: 0.24rem;
		padding-bottom: 0.05rem;
	}
}

/*============================
フォーム
============================*/
.contact_form {
  padding: 0.80rem 0;
}
@media screen and (max-width: 640px) {
	.contact_form {
		padding: 0.40rem 0;
	}
}

.contact_form .box1000 {
  max-width: 10.00rem;
  margin: auto;
}

.contact_form .lead {
  font-size: 0.16rem;
  letter-spacing: 0.075em;
  line-height: 2;
  text-align: justify;
	padding-bottom: 0.50rem;
}

@media screen and (max-width: 599px) {
	.contact_form .lead {
		font-size: 0.14rem;
		line-height: 1.85;
		padding-bottom: 0.30rem;
	}
}

.contact_form .lead a {
	color: #B4091E;
  text-decoration: underline;
}

.contact_form .lead a:hover {
	text-decoration: none;
}

/* 同意する */
.contact_form .form_wrap .doui_wrap {
	background-color: #F2F2F2;
	padding: 0.15rem;
	border-radius: 0.10rem;
	font-size: 0.16rem;
	letter-spacing: 0.075em;
	margin-bottom: 0.30rem;
}

@media screen and (max-width: 599px) {
	.contact_form .form_wrap .doui_wrap {
		background-color: #F2F2F2;
		padding: 0.13rem;
		padding-left: 0.40rem;
		border-radius: 0.06rem;
		font-size: 0.15rem;
		margin-bottom: 0.20rem;
		line-height: 1.55;
		position: relative;
	}
}

.contact_form .form_wrap .doui_wrap input {
	position: relative;
	top: -0.02rem;
	display: inline-block;
	margin-right: 0.10rem;
}

@media screen and (max-width: 599px) {
	.contact_form .form_wrap .doui_wrap input {
		position: relative;
		top: -0.02rem;
		display: inline-block;
		margin-right: 0.10rem;
		margin-left: -0.26rem;
	}
}

.contact_form .form_wrap .doui_wrap span::after {
	content: "必須";
	display: inline-block;
	background-color: #B4091E;
	font-size: 0.12rem;
	color: #FFF;
	padding: 0.03rem 0.06rem 0.04rem;
	border-radius: 0.03rem;
	margin-left: 0.10rem;
	position: relative;
	top: -0.01rem;
}

@media screen and (max-width: 599px) {
	.contact_form .form_wrap .doui_wrap span::after {
		content: "必須";
		font-size: 0.10rem;
		padding: 0.02rem 0.03rem 0.03rem;
		border-radius: 0.03rem;
		margin-left: 0;
		position: absolute;
		top: 0.15rem;
		right: 0.15rem;
	}
}

/* table */
.contact_form .form_wrap table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.16rem;
	letter-spacing: 0.075em;
	list-style: 1.75;
	border-top: 1px solid #B3B3B3;
}

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

.contact_form .form_wrap table th {
	padding: 0.25rem 0.10rem 0.20rem;
	text-align: left;
	border-bottom: 1px solid #B3B3B3;
	vertical-align: top;
	position: relative;
	width: 2.50rem;
	box-sizing: border-box;
}

@media screen and (max-width: 599px) {
	.contact_form .form_wrap table th {
		padding: 0.15rem 0.10rem;
		width: 100%;
		display: block;
		background-color: #EEE;
		border: 0;
	}
}

.contact_form .form_wrap table th.required span::after {
	content: "必須";
	display: inline-block;
	background-color: #B4091E;
	font-size: 0.12rem;
	color: #FFF;
	padding: 0.03rem 0.06rem 0.04rem;
	border-radius: 0.03rem;
	margin-left: 0.10rem;
	position: relative;
	top: -0.01rem;
}

@media screen and (max-width: 599px) {
	.contact_form .form_wrap table th.required span::after {
		font-size: 0.10rem;
		padding: 0.02rem 0.03rem 0.03rem;
		border-radius: 0.03rem;
		margin-left: 0.06rem;
	}
}

.contact_form .form_wrap table td {
	padding: 0.20rem 0;
	text-align: left;
	border-bottom: 1px solid #B3B3B3;
  line-height: 1.5;
}

@media screen and (max-width: 599px) {
	.contact_form .form_wrap table td {
		padding: 0.15rem 0 0.30rem;
		width: 100%;
		display: block;
		border-bottom: 0;
		line-height: 1.75;
	}
}

.contact_form .form_wrap table td .contact_ttl {
  font-size: 0.16rem;
  font-weight: 700;
  padding-bottom: 0.15rem;
}

/* ラジオボタン */
.contact_form .form_wrap table td .list .link {
	padding-bottom: 0.10rem;
}

.contact_form .form_wrap table td .list .link:last-child {
	padding-bottom: 0;
}

.contact_form .form_wrap table td .list .link input {
	position: relative;
	top: -0.02rem;
	display: inline-block;
	margin-right: 0.10rem;
}

/* テキスト */
.contact_form .form_wrap table td input[type="text"],
.contact_form .form_wrap table td input[type="tel"] {
	width: 100%;
	padding: 0.05rem;
	border-radius: 0.04rem;
	border: 1px solid #B3B3B3;
	background-color: #FFF;
	box-sizing: border-box;
	font-size: 0.16rem;
}

/* テキストエリア */ 
.contact_form .form_wrap table td textarea {
	width: 100%;
	min-height: 2.50rem;
	padding: 0.05rem;
	border-radius: 0.04rem;
	border: 1px solid #B3B3B3;
	background-color: #FFF;
	box-sizing: border-box;
	font-size: 0.16rem;
	line-height: 1.75;
}

@media screen and (max-width: 599px) {
	.contact_form .form_wrap table td textarea {
		min-height: 1.50rem;
	}
}

/* 送信ボタン */
.contact_form .form_wrap .submit_wrap {
	padding-top: 0.50rem;
}

@media screen and (max-width: 599px) {
	.contact_form .form_wrap .submit_wrap {
		padding-top: 0;
	}
}

.contact_form .form_wrap .submit_wrap .list {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.contact_form .form_wrap .submit_wrap .list .btn {
	width: 100%;
	max-width: 2.50rem;
	padding: 0 0.10rem;
}

@media screen and (max-width: 599px) {
	.contact_form .form_wrap .submit_wrap .list .btn {
		padding: 0.10rem 0;
	}
}

.contact_form .form_wrap .submit_wrap .list .btn input {
	width: 100%;
	display: block;
	line-height: 0;
	border: 0;
	border-radius: 0.06rem;
	text-align: center;
	appearance: none;
  -webkit-appearance: none;
	font-size: 0.18rem;
	font-weight: 700;
	letter-spacing: 0.075em;
	padding: 0.29rem 0 0.31rem;
	transition: all 0.3s;
	cursor: pointer;
}

@media screen and (max-width: 599px) {
	.contact_form .form_wrap .submit_wrap .list .btn input {
		font-size: 0.16rem;
	}
}

.contact_form .form_wrap .submit_wrap .list .btn input:hover {
	opacity: 0.7;
}

/* 送信ボタン */
.contact_form .form_wrap .submit_wrap .list .btn input.submit {
	background-color: #B4091E;
	color: #FFF;
}

/* 戻るボタン */
.contact_form .form_wrap .submit_wrap .list .btn input.reset {
	background-color: #666;
	color: #FFF;
}

/* 確認画面用 */
.error_box {
	background-color: #F2F2F2;
	padding: 0.20rem 0.40rem 0.30rem;
	border-radius: 0.10rem;
	font-size: 0.16rem;
	letter-spacing: 0.075em;
	line-height: 1.75;
}

@media screen and (max-width: 599px) {
	.error_box {
		background-color: #F2F2F2;
		padding: 0.20rem;
		border-radius: 0.05rem;
		font-size: 0.14rem;
		margin-bottom: 0.20rem;
	}
}

.error_box .error_title {
	font-size: 0.20rem;
	font-weight: 700;
	padding-bottom: 0.15rem;
}

@media screen and (max-width: 599px) {
	.error_box .error_title {
		font-size: 0.16rem;
		line-height: 1.65;
	}
}

.error_box .error_messe {
	color: #B4091E;
}

/* 送信完了 */
.contact_form.thanks .sub_title {
	font-size: 0.26rem;
	text-align: center;
	letter-spacing: 0.075em;
	color: #B4091E;
	padding-bottom: 0.30rem;
}

@media screen and (max-width: 599px) {
	.contact_form.thanks .sub_title {
		font-size: 0.20rem;
		line-height: 1.75;
	}
	.contact_form.thanks .in::before {
		content: none;
	}
}

.contact_form.thanks .lead {
	text-align: center;
}

.contact_form.thanks .back_btn {
	padding-bottom: 0.40rem;
	width: 100%;
	max-width: 3.00rem;
	margin: auto;
}

.contact_form.thanks .back_btn a {
	display: block;
	line-height: 0;
	padding: 0.29rem 0 0.31rem;
	text-align: center;
	font-size: 0.18rem;
	font-weight: 700;
	letter-spacing: 0.075em;
	text-decoration: none;
	background-color: #B4091E;
	color: #FFF;
	border-radius: 0.30rem;
}

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

.contact_form.thanks .back_btn a:hover {
	background-color: #111;
}