@charset "utf-8";

/*----------------------------------------
  サイト共通 スタイルシート
----------------------------------------*/

/* ヘッダー
---------------------------------------- */
.pageTitle {
	background: url("../../images/contact/bgTitle.jpg") no-repeat center / cover;
}

/* リード
---------------------------------------- */
.contact .leadBox {
	background: url("../../images/contact/bgLead.jpg") no-repeat center / cover;
	position: relative;
}
.contact .leadBox::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgb(11,52,83);
	background: radial-gradient(circle, rgba(11,52,83,0.4) 74%, rgba(27,232,4,0.2) 100%);
	z-index: 0;
}
.contact .leadBox .innerWrap {
	color: #fff;
	text-align: center;
	position: relative;
}
.contact .leadBox h2 {
	font-family: "BIZ UDPGothic", sans-serif;
	font-weight: 700;
}
.contact .leadBox p {
	text-align: center;
	position: relative;
}
.contact .leadBox p::after {
	position: absolute;
	content: "";
	display: inline-block;
	background: url(../../images/common/arrow.png) no-repeat center;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 41.17px;
	height: 32.53px;
	background-size: auto 100%;
}

/* フォーム
---------------------------------------- */

.errMsg {
	color:#d73c45;
	font-size: 0.9em;
}
.formErrorClose { display: none;}

.contact #formArea{
	background: #E8F4FF/*#F3F7FF*/;
}
.contact #formArea.contactConfirm{
		background: none;
	}
#contactForm input,
#contactForm select,
#contactForm textarea{
	border:1px solid #ccc;
	padding: 0.8em 1em;
	background-color: #fff!important;
	border-radius: 3px;
}

#contactForm input.required,
#contactForm textarea.required,
#contactForm select.required {
	border: #999 1px solid!important;
}

#contactForm .contactTable {
	width: 100%;
}
#contactForm .contactTable th{
	font-family: "BIZ UDPGothic", sans-serif;
	font-weight: 700;
}
#contactForm .contactTable td{
	font-family: "BIZ UDPGothic", sans-serif;
	font-weight: 400;
}
#contactForm .reqIcon::after {
	content :"必須";
	display: inline-block;
	background-color: #FF8000;
	color: #fff;
	font-size: 0.9em;
	text-align: center;
	border-radius: 3px;
	padding: 0.115em 0.5em 0.095em;
	margin-left: 1em;
	font-family: "BIZ UDPGothic", sans-serif;
	font-weight: 400;
	font-weight: normal;
	vertical-align: middle;
}

.btnBox .btn, .btnBox .btn_back {
	width: 100%;
}


/* ヘッダー
---------------------------------------- */
.pageTitle {
	background: url("../../images/contact/bgTitle.jpg") no-repeat center / cover;
}

/*===============================================
●画面の横幅が729px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 729px){
	
	input,
	textarea,
	select,
	button,
	.errMsg {
	font-family: "BIZ UDPGothic", sans-serif;
	font-weight: 400;
	}
	
	/* リード
	------------------------------------- */
	.contact .leadBox {
		padding: 5rem 0 10rem;
	}
	.contact .leadBox h2 {
		margin-bottom: 2.5rem;
		line-height: 1.5em;
	}
	.contact .leadBox p::after {
		bottom: -4em;
	}
	
	
/* contactForm
------------------------------------- */
	.contact #formArea{
		margin:2.21em auto;
		padding: 3rem 0 5rem;
	}
	#contactForm input,
	#contactForm select,
	#contactForm textarea {
		width: 100%!important;
		font-size: 1em;
	}
	#contactForm select {
		line-height: 3em;
	}
	#contactForm .contactTable {
		width: 96%;
		margin: 0 auto 2.14em;
	}
	#contactForm .contactTable th,
	#contactForm .contactTable td {
		display: block;
		width: 100%;
	}
	#contactForm .contactTable th {
		display: block;
		width:100% ;
		padding: 0.5em;
		margin-top: 1em;
		margin-bottom: 0.5em;
		background-color: #F3F7FF;
	}
	#contactForm .contactTable td {
		display: block;
		width:100%;
		padding-bottom: 1.5rem;
		border-bottom: none
	}
	
	#contactForm .contactTable td.last {
		padding-bottom: 1em;
		border-bottom: 1px solid #f69100;
	}
	
	#contactForm.fillout h2{
		font-size: 1.8rem;
	}
	
	/* 入力内容確認ページ
	---------------------------------------- */
	
	#formArea.contactConfirm .contactTable tr {
		border-bottom:1px dashed #baa79d;
	}	
	#formArea.contactConfirm .contactTable th {
		font-weight: bold;
	}
	.btnBox{
		width: 80%;
		margin: 0 auto;
	}
	
	.btnBox p {
		margin-top: 1rem;
	}
	
	/* サンクスページ
	---------------------------------------- */
	.result h2{
		font-size:1.8em;
		margin: 4rem 0 2rem;
		text-align: center;
		font-weight: bold;
	}
	.result p span{
		font-weight: bold;
	}
	.result .btn02{
		margin-top: 2em;
	}
}
/*===============================================
●画面の横幅が730px以上(PCのみ)
===============================================*/
@media screen and (min-width: 730px){
	
	/* リード
	------------------------------------- */
	.contact .leadBox {
		padding: 11rem 0 13rem;
	}
	.contact .leadBox h2 {
		font-size: 3.5rem;
		margin-bottom: 4.5rem;
	}
	.contact .leadBox p::after {
		bottom: -5em;
	}

	/* contactForm
	------------------------------------- */
	.contact #formArea{
		margin: 3.25em auto 0;
		padding: 5rem 0 9rem;
	}
	#contactForm .contactTable{
		margin: 3rem auto 4.28em;
	}
	#contactForm h4{
		margin-bottom: 1em;
	}
	
	#contactForm .contactTable th{
		padding: 1em 0 1em 1.42em;
		border-bottom: 1px solid #E8E8E8;
	}
	#contactForm .contactTable td{
		padding: 3rem 0;
		border-bottom: 1px solid #E8E8E8;
	}
	
	/* 入力画面
	---------------------------------------- */
	#contactForm.fillout h2{
		font-size: 1.8rem;
	}
	#contactForm.fillout .btn{
		margin: 0 auto;
	}
	
	/* 確認画面
	---------------------------------------- */
	#formArea.contactConfirm .contactTable th,
	#formArea.contactConfirm .contactTable td{
		padding: 2em 0;
	}	
	.btnTable{
		width: 90%;
		margin: 0 auto;
	}
	.btnTable th,
	.btnTable td{
		width: 50%;
	}
	.btnBox{
		max-width: 620px;
		margin: 0 auto;
		display: flex;
		justify-content: space-between;
	}
	/* サンクスページ
	---------------------------------------- */
	.result h2{
		font-size:1.8em;
		margin: 6rem 0 2rem;
		text-align: left;
		font-weight: bold;
	}
	.result p span{
		font-weight: bold;
	}
	.result .btn02{
		margin-top: 2em;
	}

}