@charset "UTF-8";

/* ------------------------------
    お問い合わせ
------------------------------ */

body.pt {
	padding-top: 190px;
}

#mv {
	width: 100%;
	height: 400px;
	align-items: center;
	display: flex;
	align-items: center;
	background: #fff;
}

#mv .mv_img {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	width: calc(100% - 370px);
	margin-left: auto;
	height: 100%;
	height: 400px;
	background-image: url(../img/contact/mv_contact.jpg);
	z-index: 1;
}

#mv .mv_img p {
	line-height: 1;
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: #fff;
	font-size: 1.8rem;
	letter-spacing: 0.02em;
}

#mv .txt_wrap {
	width: 370px;
	z-index: 2;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	padding-left: 100px;
}

#mv .page_ttl {
	font-size: 10rem;
	color: #26346e;
}

#mv .page_ttl + p {
	font-size: 2.6rem;
	color: #26346e;
	line-height: 1.5;
	border-bottom: 2px solid #26346e;
	display: inline-block;
	margin-top: 15px;
}

@media screen and (max-width: 1200px) {
	#mv .mv_img {
		min-width: inherit;
		width: calc(100% - 270px);
	}
	#mv .txt_wrap {
		padding-left: 50px;
	}
	#mv .page_ttl {
		font-size: 8rem;
	}
	#mv .page_ttl + p {
		font-size: 2rem;
	}
}


@media screen and (max-width: 1024px) {
	body.pt {
		padding-top: 140px;
	}
}

@media screen and (max-width: 767px) {
	body.pt {
		padding-top: 100px;
	}
	#mv {
		height: auto;
		width: 100%;
		margin: 0;
		display: flex;
		flex-direction: column-reverse;
		align-items: flex-start;
	}
	#mv .mv_img {
		position: static;
		width: 100%;
		height: 200px;
	}
	#mv .mv_img p {
		right: 10px;
		top: 30%;
		transform: translateY(-30%);
		color: #fff;
		font-size: 0.9rem;
	}
	#mv .txt_wrap {
		position: static;
		left: 0;
		top: auto;
		transform: none;
		width: auto;
		padding-left: 6%;
		margin-top: -27px;
	}
	#mv .page_ttl {
		font-size: 5.5rem;
	}
	#mv .page_ttl + p {
		font-size: 1.5rem;
	}
}

/* ------------------------------
    #main_contents
------------------------------ */

#contact_index #main_contents {
	background: #f3f3f3;
	margin: -40px auto 270px;
	padding-top: 160px;
}

.contact .intro_txt {
	font-size: 1.8rem;
	line-height: 2.55;
	margin-bottom: 40px;
}


.contact #contact_form .must {
	font-size: 1rem;
	font-weight: bold;
	color: #fff;
	display: inline-block;
	position: absolute;
	width: 23px;
	height: 23px;
	top: 50%;
	margin-top: -11px;
	vertical-align: middle;
	z-index: 1;
	line-height: 22px;
}

.contact #contact_form .must::after {
	content: "";
	width: 23px;
	height: 23px;
	position: absolute;
	left: 0;
	top: 0;
	background: #eb1428;
	display: inline-block;
	transform: rotate(45deg);
	z-index: -1;
}

.contact .form_txt {
	font-size: 1.4rem;
	line-height: 2;
	margin-bottom: 34px;
	position: relative;
}

.contact .form_txt .must {
	position: relative!important;
	margin-right: 8px;
	margin-bottom: -4px;
}

.contact #contact_form dl {
	width: 49%;
}

.contact #contact_form dl.w100 {
	display: block;
	width: 100%;
}

.contact #contact_form dt {
	text-align: center;
	font-size: 2.2rem;
	font-weight: bold;
	margin-top: 40px;
	position: relative;
	margin-bottom: 10px;
}

.contact #contact_form dt .must {
	margin-left: 3px;
	margin-top: -26px;
}

.contact #contact_form dd {
	font-size: 1.6rem;
}

.contact #contact_form dd input[type="text"] {
	background: #fff;
	border-bottom: 1px solid #26346e;
	height: 90px;
	width: 100%;
	padding: 0 10px;
	text-align: center;
	font-size: 1.6rem;
	color: #26346e;
}

.contact #contact_form dd textarea {
	background: #fff;
	border-bottom: 1px solid #26346e;
	height: 243px;
	width: 100%;
	padding: 30px 10px;
	text-align: center;
	font-size: 1.6rem;
	color: #26346e;
	resize: vertical;
	overflow: auto;
}


.contact #contact_form dd input[type="text"]:placeholder-shown,
.contact #contact_form dd textarea:placeholder-shown {
	color: rgba(38, 52, 110, 0.3);
}

.contact #contact_form dd input[type="text"]::-webkit-input-placeholder,
.contact #contact_form dd textarea::-webkit-input-placeholder {
	color: rgba(38, 52, 110, 0.3);
}

.contact #contact_form dd input[type="text"]:-moz-placeholder,
.contact #contact_form dd textarea:-moz-placeholder {
	opacity: 1;
	color: rgba(38, 52, 110, 0.3);
}

.contact #contact_form dd input[type="text"]::-moz-placeholder,
.contact #contact_form dd textarea::-moz-placeholder {
	opacity: 1;
	color: rgba(38, 52, 110, 0.3);
}

.contact #contact_form dd input[type="text"]:-ms-input-placeholder,
.contact #contact_form dd textarea:-ms-input-placeholder {
	color: rgba(38, 52, 110, 0.3);
}



.contact_btn {
	max-width: 1300px;
	margin: 50px auto 0;
	position: relative;
	bottom: -52.5px;
}

.contact_btn button {
	width: 100%;
	display: block;
	background: #26346e;
	color: #fff;
	font-size: 1.8rem;
	padding: 32px 0;
	text-align: center;
	position: relative;
	font-weight: bold;
}

.contact_btn button span {
	font-size: 3.2rem;
	display: inline-block;
	vertical-align: middle;
	margin-right: 20px;
	padding-bottom: 3px;
}

.contact_btn button::before {
	content: "";
	display: inline-block;
	position: relative;
	top: 0px;
	right: 18px;
	width: 10px;
	height: 10px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

/* 送信完了ページ */
.contact.thanks{
	text-align: center;
	padding-bottom: 50px;
}
.contact.thanks .btn{
	display: block;
	margin: 83px auto;
}
.contact.thanks .btn a::after{
	transform: rotate(-135deg);
	left: 34px;
}

@media screen and (max-width: 1200px) {
	.contact_btn {
		max-width: inherit;
	}

}

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

@media screen and (max-width: 767px) {
	#contact_index #main_contents {
		margin: 45px auto 200px;
		padding-top: 40px;
	}
	.contact .intro_txt {
		font-size: 1.3rem;
		line-height: 1.76;
		margin-bottom: 30px;
	}


	.contact #contact_form .must {
		font-size: 0.8rem;
		transform: scale(0.9);
	}

	.contact .form_txt {
		font-size: 1.2rem;
	}
	.contact #contact_form dl {
		width: 100%;
	}
	.contact #contact_form dt {
		font-size: 1.5rem;
		margin-top: 23px;
	}

	.contact #contact_form dt .must {
		margin-left: 6px;
		margin-top: -20px;
	}
	.contact #contact_form dd {
		font-size: 1.3rem;
	}
	.contact #contact_form dd input[type="text"] {
		height: 54px;
		font-size: 1.3rem;
	}
	.contact #contact_form dd textarea {
		min-height: 186px;
		padding: 15px 10px;
		font-size: 1.3rem;
	}

	.contact_btn {
		margin: 0 auto 0;
		bottom: -53px;
	}
	.contact_btn button {
		font-size: 1.3rem;
		padding: 38px 0;
	}
	.contact_btn button span {
		font-size: 2.3rem;
		margin-right: 12px;
		padding-bottom: 2px;
	}

		/* 送信完了ページ */
	.contact.thanks{
		padding-bottom: 50px;
	}
	.contact.thanks .btn{
		margin: 40px auto 0;
	}

}