#title {
	background: url("../img/title01.jpg") no-repeat bottom center / cover;
}
h3 {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
h3:after {
	content: '';
	background-color: var(--maincolor);
	display: block;
	margin-top: 0.3em;
	height: 1px;
	width: 3em;
}
h4 {
	font-size: var(--f20);
}
#tel {
	text-align: center;
}
#tel a {
	color: var(--maincolor);
	font-size: var(--f64);
}
#tel a img {
	display: inline-block;
	margin-right: 0.1em;
	vertical-align: middle;
	height: 0.9em;
	width: auto;
}
#tel p {
	margin-top: 1em;
}
form#mail_form dl {
	border-bottom: none;
	width: 100%;
	max-width: 600px;
	margin-top: 30px;
}
form#mail_form dl dt {
	font-weight: 500;
	padding: 3px 2% 0;
    margin-bottom: 5px;
	width: calc(100% - 14px);
    position: relative;
	float: none;
}
form#mail_form dl dt i {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}
form#mail_form dl dt span.optional,form#mail_form dl dt span.required {
	display: none;
}

form#mail_form dl dd.fl {
	display: flex;
	justify-content: space-between;
}

form#mail_form input[name="company"] {
    width: calc(100% - 4% - 2px);
}
form#mail_form input[name="name_1"], form#mail_form input[name="name_2"], form#mail_form input[name="read_1"], form#mail_form input[name="read_2"], form#mail_form input[name="schedule"] {
    width: 45%;
}
form#mail_form input[name="mail_address"], form#mail_form input[name="mail_address_confirm"], form#mail_form input[name="address"], form#mail_form input[name="phone"], form#mail_form input[name="code"] {
    width: calc(100% - 4% - 2px);
}
form#mail_form input[name="postal"] + a {
    border: none;
    background: var(--subcolor);
    font-size: 1em;
	padding: 5px 20px;
}
form#mail_form input[name="postal"] + a:hover {
	background: #666;
	border: none;
}
form#mail_form ul li label {
    background: #eee;
	margin-top: 5px;
}
form#mail_form ul li label:hover {
    background: #ccc;
}
form#mail_form p#form_submit {
	text-align: center;
}
form#mail_form input[type="button"] {
	font-weight: 400;
	height: 2em;
	line-height: 2em;
	background: var(--maincolor);
	border: solid 2px var(--maincolor);
	width: 14em;
	transition: all .5s;
	color: #fff;
	padding: 0;
}
form#mail_form input[type="button"]:hover {
	background: #0d286b;
	border: 2px solid #0d286b;
}
div#agreement {
	width: 100%;
	max-width: calc(800px * 0.96);
	border-bottom: none;
}
div#agreement h3 {
	margin-bottom: 10px;
}
div#agreement div {
    margin: 15px 0;
    padding: 15px;
}
div#agreement div h4 {
	margin-bottom: 0.5em;
    margin-top: 20px;
	color: var(--maincolor);
}
div#agreement div ul {
	list-style: disc;
}
div#agreement div ul li {
	margin-left: 1.5em;
}
div#agreement #agree_check {
		text-align: center;
}
#sent p {
	margin-bottom: 1em;
}
form#mail_form textarea[name="pr"] {
	height: 100px;
}
form#mail_form textarea[name="other"] {
	height: 50px;
}
form#mail_form input[name="code"] {
	width: 8em;
}
#mail {
	min-height: 280px;
}
#mail .mailtxt .pc {
	display: none;
	}
@media screen and (min-width: 768px) {
	div#agreement {
		width: 96%;
	}
	div#agreement div {
		height: 200px;
	}
	#mail .mailtxt {
		text-align: center;
	}
	#mail .mailtxt .pc {
		display: inline;
	}
}
@media screen and (min-width: 960px) {
	form#mail_form dl {
		margin-top: 50px;
	}
	form#mail_form dl dt {
    	margin: 20px 0 0;
		padding: 0;
		text-align: left;
	}
	form#mail_form dl dt i {
    	top: 7px;
    	right: 10px;
    	transform: none;
    	-webkit-transform: none;
    	-ms-transform: none;
	}
	form#mail_form dl dt span.required {
    	font-size: var(--f12);
    	height: 20px;
    	line-height: 20px;
    	border-radius: 10px;
	}
	form#mail_form dl dd {
    	float: none;
    	width: 100%;
		padding: 0;
		margin-bottom: 10px;
	}
	form#mail_form input[type="button"] {
		font-size: var(--f24);
		margin: 30px auto;
		height: 56px;
		line-height: 56px;
		width: 16em;
	}
}