@charset "UTF-8";

/*================================================
 *  フォーム 用
 ================================================*/

/*******上テキスト*******/
#form_area .txt_hissu span,
#previewForm .txt_hissu span {
	background-color: #a92224;
	color: #fff;
	display: -webkit-inline-box;
	display: inline-flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	font-size: 0.9em;
	width: 3em;
	height: 1.6em;
	margin-right: 0.5em;
}


/*******テーブル*******/
#form_area table,
#previewForm table
 {
	border-collapse: separate;
	border-spacing: 0;
	font-size: 18px;
	line-height: 1.5;
	width: 100%;
}
#form_area table th,
#form_area table td,
#previewForm table th,
#previewForm table td
 {
	padding: 30px;
}
#form_area table th,
#previewForm table th {
	border-top: 1px solid;
	padding-left: 15px;
	padding-right: 0!important;
	width: 245px;
}
#form_area table tr:last-of-type th,
#previewForm table tr:last-of-type th
 {
	border-bottom: 1px solid;
}
#form_area table th span,
#previewForm table th span
 {
	display: block;
	position: relative;
}
#form_area table th span::after,
#previewForm table th span::after
 {
	position: absolute;
	content: '必須';
	right: 25px;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	background-color: #a92224;
	color: #fff;
	display: block;
	font-size: 77.8%;
	width: 3em;
	padding: 0.4em 0;
	line-height: 1;
	text-align: center;
}

#form_area table td,
#previewForm table td
 {
	border-top: 1px solid #ccc;
	text-align: left;
}
#form_area table tr:last-of-type td,
#previewForm table tr:last-of-type td
 {
	border-bottom: 1px solid #ccc;
}

#form_area table td p,
#form_area table td ul
#previewForm table td p,
#previewForm table td ul
{
	font-size: 88.9%;
}

#form_area table td p
#previewForm table td p
 {
	display: inline-block;
	margin-left: 0.5em;
}


/*******フォームパーツ*******/
#form_area select,
#previewForm select
 {
	padding: 0 2em 0 0.5em;
	border-radius: 3px;
	border: 1px solid #9f9f9f;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background: #fffff0 url(../images/select_icon.svg) center right 0.6em no-repeat;
	height: 46px;
	min-width: 290px;
	line-height: normal;
}
#form_area input[type=text],
#form_area input[type=tel],
#form_area input[type=email],
#form_area input[type=number],
#form_area input[type=url],
#form_area textarea,
#previewForm input[type=text],
#previewForm input[type=tel],
#previewForm input[type=email],
#previewForm input[type=number],
#previewForm input[type=url],
#previewForm textarea
 {
	background-color: #fffff0;
	border: 1px solid #9f9f9f;
	border-radius: 3px;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}
#form_area input[type=text],
#form_area input[type=tel],
#form_area input[type=email],
#form_area input[type=number],
#form_area input[type=url],
#form_area textarea,
#previewForm input[type=text],
#previewForm input[type=tel],
#previewForm input[type=email],
#previewForm input[type=number],
#previewForm input[type=url],
#previewForm textarea
 {
	padding: 0 0.5em;
	line-height: normal;
	height: 46px;
	width: 290px;
}
#form_area input:placeholder,
#previewForm input:placeholder
 {
	color: #999;
}
#form_area input::-webkit-input-placeholder,
#previewForm input::-webkit-input-placeholder
{
	color: #999;
}
#form_area input:-ms-input-placeholder,
#previewForm input:-ms-input-placeholder
{
	color: #999;
}
#form_area textarea,
#previewForm textarea
 {
	width: 100%;
	height: 170px;
	padding: 0.3em 0.5em;
}



#form_area td.name input,
#previewForm td.name input
 {
	display: block;
}
#form_area td.name input + input,
#previewForm td.name input + input
 {
	margin-top: 20px;
}

#form_area input[name=contact_company],
#previewForm input[name=contact_company]
 {
	width: 390px;
}
#form_area input[name=contact_tel],
#previewForm input[name=contact_tel]
 {
	width: 240px;
}
#form_area input[name=contact_email],
#form_area input[name=request_email],
#previewForm input[name=contact_email],
#previewForm input[name=request_email]
 {
	width: 390px;
}

/*チェックボックス*/
#form_area .check_list,
#previewForm .check_list {
	max-width: 350px;
}
#form_area .check_list label,
#previewForm .check_list label
 {
	width: 33.33%;
	position: relative;
	cursor: pointer;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
}
#form_area .check_list label:nth-of-type(n+4),
#previewForm .check_list label:nth-of-type(n+4)
 {
	margin-top: 0.9em;
}
#form_area .check_list label input:not([type=text]),
#previewForm .check_list label input:not([type=text])
 {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#form_area .check_list label > span,
#previewForm .check_list label > span
 {
	position: relative;
	padding-left: 2em;
	display: block;
}
#form_area .check_list label > span::before,
#form_area .check_list label > span::after,
#previewForm .check_list label > span::before,
#previewForm .check_list label > span::after
 {
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	display: block;
}
#form_area .check_list label > span::before,
#previewForm .check_list label > span::before
 {
	border: 1px solid #c8c8c8;
	width: 1.5em;
	height: 1.5em;
	z-index: 1;
}
#form_area .check_list label input:checked + span::after,
#previewForm .check_list label input:checked + span::after
 {
	top: 0.4em;
	left: 0.3em;
    width: 0.95em;
	height: 0.5em;
    border-bottom: 2px solid #8fc220;
	border-left: 2px solid #8fc220;
	z-index: 2;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}




/*お店のジャンル*/
#form_area .select_stacchi + .select_stacchi,
#previewForm .select_stacchi + .select_stacchi
 {
	margin-top: 20px;
}

/*動画添付*/
#form_area #movie_form .upload_btn,
#previewForm #movie_form .upload_btn
 {
	background-color: #8fc220;
	border: none;
	border-radius: 3px;
	color: #fff;
	cursor: pointer;
	height: 46px;
	width: 120px;
	text-align: center;
}

/*******ボタン*******/
#form_area input[type=button].bg_main,
#previewForm input[type=button].bg_main {
	border: none;
	color: #fff;
	cursor: pointer;
	display: block;
	font-size: 22px;
	font-weight: bold;
	text-align: center;
	padding: 0;
	height: 80px;
	width: 360px;
	margin: 80px auto 0;
}


#previewForm input[type=button].back_btn {
	border: none;
	color: #fff;
	cursor: pointer;
	display: block;
	font-size: 22px;
	font-weight: bold;
	text-align: center;
	padding: 0;
	height: 80px;
	width: 360px;
	margin: 80px auto 0;
}


.error_message{
	color:red;
}







/*================================================================================================
 *  スマートフォン向けデザイン
 ================================================================================================*/
@media screen and (max-width:768px) {

/*******テーブル*******/
#form_area table, 
#previewForm table {
	font-size: 4.2vw;
}
#form_area table tr,
#form_area table th,
#form_area table td,
#previewForm table tr,
#previewForm table th,
#previewForm  table td
 {
	display: block;
}
#form_area table th,
#previewForm table th
 {
	font-size: 5vw;
	padding: 5vw 0 8vw!important;
	width: 100%;
}
#form_area table tr:last-of-type th,
#previewForm table tr:last-of-type th {
	border-bottom: none;
}
#form_area table th span::after,
#previewForm table th span::after
 {
	right: 0;
}

#form_area table td,
#previewForm table td
 {
	border: none!important;
	padding: 0 0 13vw!important;
}


#form_area table td p,
#previewForm table td p
 {
	display: block;
	margin: 0.5em 0 0;
}

/*******フォームパーツ*******/
#form_area select,
#previewForm select {
	background-size: 4vw auto;
	height: 12.5vw;
	padding-right: 6vw;
	font-size: 5vw;
	min-width: inherit;
	width: 100%;
}
#form_area input[type=text],
#form_area input[type=tel],
#form_area input[type=email],
#form_area input[type=number],
#form_area input[type=url],
#form_area textarea,
#previewForm input[type=text],
#previewForm input[type=tel],
#previewForm input[type=email],
#previewForm input[type=number],
#previewForm input[type=url],
#previewForm textarea{
	font-size: 5vw;
	height: 12.5vw;
	width: 100%;
}
#form_area textarea,
#previewForm textarea {
	height: 46vw;
}



#form_area td.name input + input,
#previewForm td.name input + input {
	margin-top: 3.5vw;
}

#form_area input[name=contact_company],
#previewForm input[name=contact_company] {
	width: 100%;
}
#form_area input[name=contact_tel],
#previewForm input[name=contact_tel] {
	width: 100%;
}
#form_area input[name=contact_email],
#form_area input[name=request_email],
#previewForm input[name=contact_email],
#previewForm input[name=request_email]
{
	width: 100%;
}


/*チェックボックス*/
#form_area .check_list,
#previewForm .check_list {
	max-width: inherit;
}



/*お店のジャンル*/
#form_area .select_stacchi + .select_stacchi,
#previewForm .select_stacchi + .select_stacchi {
	margin-top: 3.5vw;
}


/*******ボタン*******/
#form_area input[type=submit],
#previewForm input[type=submit] {
	font-size: 4.5vw;
	height:16vw;
	width: 64vw;
	margin: 0 auto;
}






	
}