@charset "utf-8";
/* CSS Document */

/*==============================*/
/*  */
/*==============================*/
.red{ display: none;}

.form_wrap{
	max-width: 880px;
    width: 100%;
    margin: 0px auto 20px auto;
}

#down .form_wrap{ padding: 160px 0;}

	/* ======= TB =======*/
	@media screen and (min-width: 768px) and (max-width: 1024px){
		.form_wrap{
			max-width: 100%;
			margin: 50px auto;
		}
	}

	/* ======= SP =======*/
	@media (max-width: 767px) {
		.form_wrap{
			max-width: 100%;
			margin:  0px auto 50px auto; 
		}
		#down .form_wrap{ padding: 80px 0 0 0!important;}
	}

/*-- default
------------------------- */
table{
    width: 100%;
    margin-bottom: 0px;
    box-sizing: border-box;
}
table, td, th {
    border: none;
    border-collapse: collapse;
	font-size: 0.95em;
}
td, th{ padding: 0px; }
th {
	background: none;
	color: #000;
}



/*-- 
------------------------- */

.form table th{ width: 35%; text-align: left; font-size: 16px;}
.form table td{ width: 65%; }
.form table th, .form table td{ padding: 20px 10px 17px 10px; }


	/* ======= SP =======*/
	@media (max-width: 767px) {
		.form table tr{
			display: block;
			padding: 10px 0;
			width: 100%;
		}
		.form table th{
			display: inline-block;
			width: 100%;
			padding: 0px;
			margin-bottom: 5px;
			font-size: 15px;
		}
		.form table td{ display: inline-block; width: 100%; padding: 0px;}

	}


/*-- ボタンボックス
------------------------- */
div.form div.btnBox{
    display: flex; display: -webkit-flex; /* Safari */
    justify-content: center; -webkit-justify-content: center; /* Safari */
}
div.form div.btnBox p:first-child{ margin-right: 10px;}

	/* ======= SP =======*/
	@media (max-width: 767px) {
		div.form div.btnBox{ justify-content: space-between; -webkit-justify-content: space-between; /* Safari */ }
		div.form div.btnBox p{ width: calc(50% - 1.5%);}

	}


/*-- 確認ボタン
------------------------- */
div.form .contact_formBtn input[type="submit"]{
	display: block;
	padding: 14px 0 14px 0;
	background:#01597A;
	color:#fff;
	width: 180px;
	text-align: center;
	border-radius: 5px;
	cursor: pointer;
}
.contact_formBtn a{
	display: block;
    margin: 0 auto;
	padding: 14px 0;
    width: 180px;
	background: #01597A;
	border-radius: 5px;
	text-align: center;
	color: #fff;
}

	/* ======= SP =======*/
	@media (max-width: 767px) {
		div.form .contact_formBtn{ width: calc(50% - 8px);}
		div.form .contact_formBtn input[type="submit"]{ width: 100%;}
	}


/*-- 戻るボタン
------------------------- */
div.form p.contact_backBtn a,
.contact_backBtn input[type="submit"]{
    display: block;
	padding: 14px 0;
	background: #999;
	color:#fff;
	width: 180px;
	text-align: center;
	border-radius: 5px;
	cursor: pointer;
}
	/* ======= SP =======*/
	@media (max-width: 767px) {
		div.form p.contact_backBtn a,
		.contact_backBtn input[type="submit"]{ width: 100%;}
	}

span.red{ color: #FF3B3B; }

div.red_txt ul{
	padding: 20px;
	margin-bottom: 30px;
	border: 1px solid #f9b1cc;
	background: #fdf6f9;
}



/*==============================*/
/* フォーム設定 */
/*==============================*/
.form table th{ position: relative;}
.form table tr:nth-child(1) th:before,
.form table tr:nth-child(3) th:before,
.form table tr:nth-child(8) th:before,
.form table tr:nth-child(9) th:before,
.form table tr:nth-child(10) th:before,
.form table tr:nth-child(11) th:before{
	position: absolute; top: 50%; right: 0;
	content: "必須";
	width: 56px;
	padding: 3px 1px 4px 0;
	background: #D92121;
	margin-top: -10px;
	text-align: center;
	line-height: 1.2em;
	font-size: 13px;
	font-weight: 400;
	border-radius: 3px;
	color: #fff;
}

.form table tr:nth-child(2) th:before,
.form table tr:nth-child(4) th:before,
.form table tr:nth-child(5) th:before,
.form table tr:nth-child(6) th:before,
.form table tr:nth-child(7) th:before{
	position: absolute; top: 50%; right: 0;
	content: "任意";
	width: 56px;
	padding: 3px 1px 4px 0;
	background: #C1C1C1;
	margin-top: -10px;
	text-align: center;
	line-height: 1.2em;
	font-size: 13px;
	font-weight: 400;
	border-radius: 3px;
	color: #fff;
}
#conf .form table tr th:before{ display: none;}

	/* ======= SP =======*/
	@media (max-width: 767px) {
		.form table tr:nth-child(1) th:before,
		.form table tr:nth-child(3) th:before,
		.form table tr:nth-child(8) th:before,
		.form table tr:nth-child(9) th:before,
		.form table tr:nth-child(10) th:before,
		.form table tr:nth-child(11) th:before{
			margin-top: -12px!important;
		}
		.form table tr:nth-child(2) th:before,
		.form table tr:nth-child(4) th:before,
		.form table tr:nth-child(5) th:before,
		.form table tr:nth-child(6) th:before,
		.form table tr:nth-child(7) th:before{
			margin-top: -12px!important;
		}
	}


/*==============================*/
/* フォーム設定 */
/*==============================*/
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="radio"],
.form select,
.form textarea{
    height: 40px;
    padding: 0 5px;
    border-radius: 3px;
    border: 1px solid #ccc;
    color: #444;
    position: relative;
    top: -1px;
}
.form input[type="text"]{
	min-width: 70%;
	background: #FBFBFB;
}

.form table tr:nth-child(5) input[type="text"]{ min-width: 30%;}


.form textarea{ background: #FBFBFB;}

.form input[name="item_mail_1"],
.form input[name="item_mail_2"],
.form input[name="item_subject"]{min-width: 60%;}
.form textarea{width: 100%;}

.form textarea,.form input[type="radio"]{ height: auto; }
.form select{ padding-right: 30px; }
.form input[type="radio"]{ margin-right: 5px; position: relative; top: 2px;}

/* ======= SP =======*/
@media (max-width: 767px) {
    .form select{ width: 100%;}
    .form input[type="text"],
    .form input[type="email"],
    .form input[type="tel"],
    .form input[type="radio"],
    .form select,
    .form textarea{
        display: block;
        width: 100%;
        max-width: 100%;
    }
    .form input[name="item_poscode_1"],
    .form input[name="item_poscode_2"]{ display: inline-block;}
    
}
