@charset "utf-8";
#mail-box { position:relative; margin:0 2%; padding: 100px 0;}
table.mailform { margin: auto; width:96%; max-width: 1000px; border-top: 1px solid #ddd;}
table.mailform tr th,
table.mailform tr td {
	position:relative;
	padding:15px;
	text-align: left;
	border-bottom:2px solid #FFF;
}
table.mailform tr th { font-size:87.5%; width:250px; font-weight: normal; border-bottom: 1px solid #ddd;}
table.mailform tr td { font-size:100%; width:calc(100% - 250px); border-bottom: 1px solid #ddd;}
table.mailform tr th span {
	float:right;
	padding:5px 7px;
	color:#FFF;
	font-size:87.5%;
	line-height:100%;
	background:#c1351d;
}
table.mailform tr td p+p { margin-top:5px;}
table.mailform tr th.mm { padding:30px 15px 0; border:none;}
table.mailform tr td .check_box { font-size:87.5%; font-weight: 300; padding: 0 0 20px; overflow: hidden;}

/* INPUT TEXTAREA */
#mail-box label { cursor: pointer; margin-right:15px;}
#mail-box input[type="text"],
#mail-box textarea {
	padding:10px;
	border:1px solid #ddd;
	background:#eee;
	box-sizing:border-box;
	border-radius:5px;
}
#mail-box textarea { width:100%; height:120px;}

/* SELECT */
#mail-box select { padding:10px; border:1px solid #EEE; background:#FAFAFA;}

/* FILE */
#mail-box input[type="file"] { display:block; padding:5px; background:#F6F6F6;}

/* ATTENTION COMMENT */
#mail-box .attention { margin-top:5px; color:#FF3B3E; font-size:90%;}
#mail-box .come { padding:30px 0; text-align:center;}

/* BUTTON */
.b_inqu { margin-top:30px; text-align:center !important;}
.b_inqu input[type="submit"],
.b_inqu input[type="reset"],
.b_inqu input[type="button"]{
    cursor: pointer;
    font-family: 'Noto Serif JP', "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
	margin:0 10px;
	padding:10px;
	width:200px;
	font-weight:bold;
	font-size:112.5%;
	border:none;
	color:#FFF;
	background: url("../image/arrow_wr.png") no-repeat 95% center;
	background-size: 35px auto;
}
.b_inqu input[type="submit"] { background-color:#c1351d;}
.b_inqu input[type="reset"] { background-color:#555;}
.b_inqu input[type="button"] { background-color:#555;}
.b_back { margin:0 auto; width:200px;}
.b_back a {
	display:block;
	padding:10px;
	color:#FFF;
	text-align:center;
	text-decoration:none;
	font-weight:bold;
	background:#555;
	border-radius:5px;
}

/* HOVER */
#mail-box input[type="text"]:focus,
#mail-box textarea:focus { background:#FFEFEF; transition:.3s;}
.b_inqu input[type="submit"]:hover,
.b_inqu input[type="reset"]:hover,
.b_inqu input[type="button"]:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
}


/* CONFIRMATION and ERROR ---------------------------------------*/

#formWrap {}
#formWrap table.formTable { margin:20px 2%; width:96%; border-top:1px solid #EEE;}
#formWrap table.formTable th { width:20%;  border-bottom:1px solid #EEE; font-weight: 500; background: #f6f6f6;}
#formWrap table.formTable td { width:80%;  border-bottom:1px solid #EEE;}
#formWrap table.formTable th,
#formWrap table.formTable td { padding:5px 10px;}

/* CONFIRMATION */
#formWrapr h3 { margin:0 0 20px;}
#formWrapr h4 {
	margin:0 0 20px;
	padding: 1%;
	color: #FF4646;
	font-size:100%;
	border: 1px solid #FF7575;
	background:#FFEAEA;
}
#formWrap p { margin:0 0 10px;}


/* ERROR */
#error { text-align:center;}
#error h4 {
	margin:0 0 20px;
	padding:1%;
	color: #FF4646;
	text-align:left;
	font-size:100%;
	border: 1px solid #FF7575;
	background:#FFEAEA;
}
#error p { margin-top:5px; text-align:left;}
#error .error_messe { padding:10px; background:#FFEFEF;}


@media only screen and (max-width:960px){

#mail-box { margin:0 auto; padding:100px 40px 130px; width:96%; }
table.mailform { width: 100%;}
table.mailform tr th,
table.mailform tr td {
        table-layout:auto !important;
        display:block !important;
        padding:2% 5% !important;
        width:100% !important;
        height:auto !important;
	text-align:left;
	font-weight:normal;
	box-sizing:border-box;
	border-bottom:1px solid #EEE;
}
table.mailform tr th {padding:15px 0; border-bottom:none; padding-bottom:0;}
table.mailform tr td {padding:10px 0 20px;}

/* INPUT TEXTAREA */
#mail-box label {
	display:block;
	margin-right:0;
	padding:10px;
	background:#FFF;
	border:1px solid #DDD;
	border-radius:5px;
}
#mail-box label+label { margin-top:5px;}
#mail-box input[type="text"],
#mail-box textarea { width:100%;}
#mail-box .yub input[type="text"] { width:50%;}

/* SELECT */
#mail-box select { width:100%;}

/* FILE */
#mail-box input[type="file"] {}

/* ATTENTION COMMENT */
#mail-box .attention {}
#mail-box .come {}

/* BUTTON */
.b_inqu {}
.b_inqu input[type="submit"],
.b_inqu input[type="reset"],
.b_inqu input[type="button"] { margin:5px auto; padding:15px 10px; width:96%; font-size:100%;}


/* HOVER */
#mail-box input[type="text"]:focus,
#mail-box textarea:focus { background:#FFEFEF; transition:.3s;}


/* CONFIRMATION and ERROR ---------------------------------------*/

#formWrap { padding:100px 40px 130px !important;}
#formWrap table.formTable { width:100%; border:1px solid #EEE;}
#formWrap table.formTable tr th,
#formWrap table.formTable tr td {
    table-layout:auto !important;
    display:block !important;
    padding:2% 5% !important;
    width:100% !important;
    height:auto !important;
	text-align:left;
	font-weight:normal;
	box-sizing:border-box;
	border-bottom:1px solid #EEE;
}
#formWrap table.formTable th { width:25%; background:#EEE;}
#formWrap table.formTable td { width:75%;}
#formWrap table.formTable th,
#formWrap table.formTable td { padding:5px 10px;}
	
	
	
	

/* CONFIRMATION */
#formWrapr h3 { margin:0 0 20px;}
#formWrapr h4 {
	margin:0 0 20px;
	padding: 1%;
	color: #FF4646;
	font-size:100%;
	border: 1px solid #FF7575;
	background:#FFEAEA;
}
#formWrap p { margin:0 0 10px;}


/* ERROR */
#error { text-align:center;}
#error h4 {
	margin:0 0 20px;
	padding:1%;
	color: #FF4646;
	text-align:left;
	font-size:100%;
	border: 1px solid #FF7575;
	background:#FFEAEA;
}
#error p { margin:0 0 10px; text-align:left;}


}