@charset "UTF-8";

#sub.formmail .subMain {
    background-image: url(../images/main-formmail.jpg);
}


/*-------------------- 1:お問い合わせ --------------------*/

.formmail p#form_top,
#recruitForm_top {
	margin-bottom: 70px;
}

.formmail table tr th {
	width: 320px;
	font-weight: 600;
}

.formmail table tr td {
	width: calc(100% - 320px);
}

.formmail table tr th,
.formmail table tr td {
	border-top: 1px solid #e4e4e4;
	padding: 30px 0;
}

.formmail table tr:last-child th,
.formmail table tr:last-child td {
	border-bottom: 1px solid #e4e4e4;
	padding: 30px 0;
}


.formmail table tr th span {
	display: inline-block;
	font-size: 0.9em;
	color: #fff;
	padding: 0 15px;
	margin-left: 10px;
	background-color: #d31111;
	border-radius: 5px;
}

.postcode01 {
	width: 160px;
}

.postcode02 {
	width: 200px;
}

.birthday {
	width: 20%;
}

.pref {
	width: 160px;
}

.educational {
	width: 200px;
}

.formmail .formmailNote {
	font-size: 14px;
	text-align: center;
	color: #d31111;
}

.formmail .formmailNote span {
	display: inline-block;
}

.formmail .recruitFormTable2 tr:first-child th,
.formmail .recruitFormTable2 tr:first-child td {
	border-top: none;
	padding: 0 0 30px 0;
}

.formmail .recruitFormTable2 tr:last-child th,
.formmail .recruitFormTable2 tr:last-child td {
	border-bottom: none;
	padding: 30px 0 0 0;
}

.formmail .recruitFormTable2 th {
	width: 150px;
}

.formmail .recruitFormTable2 td {
	width: calc(100% - 150px);
}

#form_pri {
    text-align: center;
    margin-bottom: 40px;
}

#form_pri .formPriLink {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #003366;
    padding-bottom: 6px;
    font-weight: 600;
}

#form_pri .formPriLink::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #003366;
}

#form_pri .formPriLink:hover {
    opacity: 0.8;
}

.formAgree {
    text-align: center;
    margin-bottom: 40px;
    color: #3e3a39;
}

.formAgree input[type="checkbox"] {
    margin-right: 6px;
}

.submit-area {
    text-align: center;
}

.input-submit-wrap {
    position: relative;
    display: inline-block;
}

.input-submit {
    border: none;
    outline: none;
    box-shadow: none;
    padding: 18px 80px 18px 40px;
    background: #004b8d;
    color: #fff;
    cursor: pointer;
    border-radius: 40px;
    font-size: 1.6rem;
}

.input-submit-wrap::after {
    content: "▶";
    position: absolute;
    right: 30px;
    top: 40%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: #fff;
    pointer-events: none;
}

.input-submit-wrap.check::after {
    top: 20%;
}

.input-submit:hover {
    background: #004b8d;
}

.input-submit-wrap:hover::after {
    color: #004b8d;
    transition: 0.3s;
}


input[type="checkbox"] {
    transform: scale(1.4);
    margin-right: 10px;
    border: initial;
    outline: initial;
    box-shadow: initial;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox;
    padding: 0;
    height: auto;
    background: none;
}

#form_pri a br {
    display: none;
}

@media screen and (max-width: 960px) {
    .formmail h2 br {
        display: none;
    }
    .formmail h2,
    .formmail p.tac {
        text-align: left;
    }
    .formmail .contact h2 {
        text-align: center;
    }
	.formmail table tr th {
		width: 220px;
	}

	.formmail table tr td {
		width: calc(100% - 220px);
	}
}

@media screen and (max-width: 768px) {
	.formmail p#form_top {
		margin-bottom: 40px;
	}

	.formmail table tr th,
	.formmail table tr td {
		display: block;
		text-align: left;
		width: 100%;
	}

	.formmail table tr th {
		padding: 20px 0 0;
	}

	.formmail table tr:last-child th {
		border-bottom: none;
		padding: 20px 0 0;
	}

	.formmail table tr td,
	.formmail table tr:last-child td {
		border-top: none;
		padding: 10px 0 20px;
	}

	.recruitFormTable2 {
		padding: 0 20px;
	}

	.formmail .recruitFormTable2 tr th,
	.formmail .recruitFormTable2 tr td {
		width: 100%;
		border: none;
	}

	.formmail .recruitFormTable2 tr:first-child th,
	.formmail .recruitFormTable2 tr:first-child td,
	.formmail .recruitFormTable2 tr:last-child th,
	.formmail .recruitFormTable2 tr:last-child td {
		padding: 0;
	}

	.formOther br {
		display: none;
	}
}

@media screen and (max-width: 600px) {
	.formmail #form_pri {
		padding: 20px;
	}
    #form_pri a br {
        display: block;
    }
}

@media screen and (min-width: 481px) {
	.brsp {
		display: none;
	}
}

@media screen and (max-width: 480px) {
	.postcode01 {
		width: 100px;
	}

	.postcode02 {
		width: 130px;
	}

	.brsp {
		display: block;
	}

	.input-submit-wrap {
		display: block;
	}
}


/*---------------- 2:お問い合わせ内容の確認 ----------------*/
.formmail h3 {
	font-size: 25px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 60px;
	border-bottom: none;
}

.formmail_check table tr th,
.formmail_check table tr td,
.formmail_check table tr:last-child th,
.formmail_check table tr:last-child td {
	padding: 30px;
}

.formmail input.formmail-return {
	display: block;
	margin: 0 auto;
	width: 330px;
	height: 60px;
	color: #fff;
	background-color: #016c1a;
	border-radius: 0;
	border: 2px solid #016c1a;
	transition: 0.3s;
}

.formmail input.formmail-return:hover {
	cursor: pointer;
	background-color: #fff;
	color: #016c1a;
	transition: 0.3s;
}

@media screen and (max-width: 768px) {
	.formmail.formmail_check table tr:last-child th,
	.formmail_check table tr th {
		padding: 10px 20px 0 20px;
	}

	.formmail.formmail_check table tr:last-child td,
	.formmail_check table tr td {
		padding: 0 20px 10px 20px;
		font-size: 1.1em;
	}
}

@media screen and (max-width: 600px) {
	.formmail h3 {
		margin-bottom: 30px;
	}

	.formmail input.formmail-return {
		width: 200px;
		height: 40px;
		font-size: 0.9em;
		padding: 8px 20px 10px;
	}
}


/*---------------- 3:送信完了 ----------------*/
.formmail_comp p {
	text-align: center;
}


