
.hero {
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #384244;
}
.hero h1 {
    font-size: 24px !important;
    margin-bottom: 0;
    font-weight: 800;
    text-align: center;
    color: #fff;
}


.formtitle{background-color: #DF5F26 !important;}

.link,
.link i {
font-size: 13px !important;
	color: #d06200 !important;

}
/*----- メールフォーム -----*/

.form_box {
	display: flex;
	flex-flow: column;
	justify-content: center;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 5px 1px rgb(0 0 0 / 10%);
	padding: 40px;
	margin: 0 auto;
}
.form_title{    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #384244;}
.form_title h2 {
    font-size: 24px !important;
    margin-bottom: 0;
    font-weight: 800;
    text-align: center;
    color: #fff;
	line-height: 24px;
}

.form_box h3 {
	font-size: 1.6rem;
	text-align: center;
	line-height: 1.5;
	margin: 0 0 10px;
}

.form_box h3 + div {
	color: #ff0000;
	text-align: center;
	margin: 0 0 30px;
}

.form_box table {
	margin: 0 0 10px;
}

.form_box table tr th,
.form_box table tr td {
	width: auto;
	text-align: left;
	border: 0;
	padding: 20px 0;
	font-weight: 600px;
	color: #000;
}

.form_box table tr th {
    padding-left: 50px;
    text-indent: -3.5em;
	width: 30%;
	line-height: 18px;

}

.form_box table tr td p {
font-size: 12px;
justify-content: right;
font-weight: 400;
color: gray;
}

.form_box table tr th span {
	color: #fff;
	background: #d9534f;
	border-radius: 5px;
	padding: 5px;
	margin: 0 10px 0 0;
}
.form_box table tr th span.blank {
    background: none !important;
    width: 39px;
    display: inline-flex;
}

.form_box label {
	line-height: 1.5;
}

.form_box input[type="text"],
.form_box input[type="email"],
.form_box input[type="tel"],
.form_box textarea,
.form_box select {
	width: 100%;
}

.form_box input.short {
	max-width: 200px;
}

.form_box input,
.form_box textarea,
.form_box select {
	background: #f9f9f9;
	border: 1px solid #ececec;
	border-radius: 5px;
	padding: 10px;
}

.form_box p.error_messe {
	color: #ff0000;
}

.form_box > p.front {
	text-align: center;
	margin: 0 0 30px;
}

.form_box > p input {
	width: fit-content;
	display: flex;
	min-width: 300px;
	height: 40px;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.6rem;
	font-weight: bold;
	background: #0056ab;
	border: none;
	border-radius: 5px;
	box-shadow: 0 2px 3px 0 rgb(0 0 0 / 20%);
	position: relative;
	cursor: pointer;
	margin: 0 auto;
	transition: .3s;
}

.form_box > p input.back {
	color: #fff;
	background: #999;
}

.form_box > p input:hover {
	opacity: 0.3;
}

.form_box .columns {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.form_box table.kakunin_table tr th,
.form_box table.kakunin_table tr td {
	border: 1px solid #ccc;
	padding: 20px;
	text-indent: 0em;
}

.form_box table.kakunin_table tr th {
	font-weight: bold;
	background: #eee;
}

.form_box table.kakunin_table + p {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
}

/*----- メールフォームここまで -----*/



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

	/*----- メールフォーム -----*/

	.form_box {
		padding: 20px 20px 40px;
	}

	.form_box table tr {
		display: flex;
		flex-flow: column;
	}

	.form_box table tr th {
		width: 100%;
		padding: 20px 0 0;
		
		
	}

	.form_box input.short {
		max-width: 100%;
	}
	.form_box table tr th {
		padding-left: 0px;
		text-indent: 0em;
	}
	.form_box table tr th span.blank {
		width: 0px;
		display: contents;
	}
.form_box label {
    width: 100%;
}

	/*----- メールフォームここまで -----*/
}