@charset "utf-8";
/* CSS Document */

.inquiry_cont_wrap{
	width: 1000px;
	margin: 0 auto;
	
}

.inqyery_cont table{
	width: 100%;
	margin: 80px auto;
	border:1px solid #FF6D70;
}

.inqyery_cont th,.inqyery_cont td{

}


.inqyery_cont th{
	width: 300px;
	margin:  -1px;
	color: #FFFFFF;
	background-color: #f4b2b9;
	border:1px solid #FF6D70;
	
}

.inqyery_cont td{
	display: flex;
	border:1px solid #FF6D70;
	padding: 20px ;
	margin: -1px 0 0 0 ;/*
	flex-direction: column;*/
	    flex-wrap: wrap;
}

.inqyery_cont tr td span{
	padding: 12px 0;
}

.inqyery_cont tr:nth-child(1) td input,
.inqyery_cont tr:nth-child(2) td input,
.inqyery_cont tr:nth-child(4) td textarea{
	width: 90%;
}

/*送信完了画面*/
.inquery_end{
	text-align: center;
	margin: 100px auto 30px;
	
}

.inquiry_cont_end{
	margin: 0 auto 300px;
}


/*送信ボタン*/

.mail_check_button_wrap{
	    display: flex;
    align-items: center;
    align-content: flex-start;
    justify-content: space-around;
	margin: 40px auto 200px;
}

.submit_button_color,.submit_button_clear{
	width: 340px;
	padding: 10px;
	margin: 0 20px;
	
}

.submitbuttun {
    display: flex
;
    flex-direction: column;
    align-items: center;
}
/************SP用**************/
@media screen and (max-width:500px) {

.inquiry_cont_wrap{
	width: 90%;
	
}
	
.inqyery_cont tr {
    display: flex;
    width: 100%;
    flex-direction: column;
	        justify-content: center;
        align-items: center;
}
	

.inqyery_cont tbody,.inqyery_cont th,.inqyery_cont td{
	width: 100%;
} 
	
	.inqyery_cont tr:nth-child(1) td input,
.inqyery_cont tr:nth-child(2) td input,
.inqyery_cont tr:nth-child(5) td input,
.inqyery_cont tr:nth-child(4) td textarea{
	width: 90%;
	margin: 0 auto;
}
	
.inqyery_cont tr:nth-child(3) td {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

	.inqyery_cont tr:nth-child(3) td label{
		width: 90%
	}	

	
	

/*送信ボタン*/

.mail_check_button_wrap{
	    display: flex;
    align-items: center;
    align-content: flex-start;
    justify-content: space-around;
	margin: 40vw auto 100vw;
	        flex-direction: column;
}

.submit_button_color,.submit_button_clear{
    width: 80%;
    padding: 3vw;
    margin: 2vw auto;
	
}

.submitbuttun {
    display: flex;
    flex-direction: column;
    align-items: center;
	
}
	
	.mail_check_button .InquiryFormArea{
		width: 100%;
		text-align: center;
	}
	
}