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

.wrap {
	width: 85%;
	margin: 0 auto;
}

/*==================================================
TOP画像
===================================*/
#underlayer_mv{
	background: url("../img/contact/contact_mv.jpg");
	background-position: top;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 10em 2em 10em;
}
#underlayer_mv h2{
    color: #fff;
    text-align: center;
    letter-spacing: 2px;
}
/*==================================================
h3 共通
===================================*/
#leading h3{
	line-height: 0.9;
	margin-bottom: 2em;
}
.ttl{
	overflow: hidden;
}
.line,.line2{
	width: 75%;
    border-bottom: 1px solid;
    margin-top: 9.5em;
    margin-left: 3em;
    margin-bottom: 6em;
	color: #1046c4;
}


/*==================================================
form
===================================*/
#form{
    margin: 5em 0 6em;
    overflow: hidden;
}

/*
 form
-------------------------------------*/
.contact_form .nini{
	color: #3693a5!important;
}
.contact_form{
	width: 900px;
    margin: 0 auto;
}
.contact_form table {
	border-collapse: collapse;
	border-spacing: 0;
}
.contact_form caption,th {
	text-align: left;
}
/*デザイン*/
.contact_form .box_con02 form {
	width: 100%;
}
.contact_form .box_con02 form table {
	width: 100%;
	font-size: 18px;
}
.contact_form .box_con02 form table tr {
	position: relative;
    border-collapse: collapse;
}
.contact_form .box_con02 form table tr:first-child td:before {
	content: "";
	position: absolute;
	width: 100%;
	left: 0;
	top: 0;
	height: 1px;
}
.contact_form .box_con02 form table tr th {
	width: 35%;
	font-weight: normal;
	padding: 1em .5em;
    color: #333;
	position: relative;
}
.contact_form .box_con02 form table tr th span {
    padding: 5px 1em;
    color: #ff0000;
    margin-left: 0.5em;
	font-size: 16px;
	font-weight: bold;
}
.contact_form .box_con02 form table tr th:after {
	content: "";
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 0;
	height: 1px;
}
.contact_form .box_con02 form table tr td {
	position: relative;
	padding: 1em .5em;
}

.contact_form .box_con02 form table tr td:after {
	content: "";
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 0;
	height: 1px;
}
.contact_form .box_con02 form table tr .box_br {
	display: block;
}
.contact_form .box_con02 form table tr select,
.box_con02 form table tr textarea,
.box_con02 form table tr .wide {
	width: 100%;
	height: 3em;
	padding: .5em;
	background-color: #f2f2f2;
    border-radius: 13px;
}
.contact_form .box_con02 form table tr textarea {
	height: 10em;
}

.contact_form .post{
    width: 30%;
    height: 3em;
    padding: 0.5em;
    background-color: #f2f2f2;
    border-radius: 13px;
}

/* 送信ボタン
--------------------------------------*/
.contact_form .btn {
 	text-align: center;
	margin: 2em 0;
}
.contact_form .btn input {
    font-size: 28px;
	font-family: "Zen Old Mincho";
	display: inline-block;
	background: #1046c4;
	padding: .5em 1em;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	border: none;
	transition: all 0.4s;
	border-radius: 10px;

}
.contact_form .btn input:hover {
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
	opacity: 0.7;
}






















/*==================================================
 SP
===================================*/
@media screen and (min-width: 1537px) and (max-width: 1920px) {
	#underlayer_mv {
		padding: 13em 2em 14em;
	}
}
@media screen and (max-width: 1536px) {

}
/* 1280px以下に適用されるCSS（スクエアモニター用） */
@media screen and (max-width: 1286px) {
	#underlayer_mv {
		padding: 9em 2em 7em;
	}
	.line, .line2 {
		width: 70%;
	}
}

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

}
@media screen and (max-width: 1024px) {
	#underlayer_mv {
		padding: 6em 2em 5em;
	}
	.line, .line2 {
		width: 65%;
	}
}
@media screen and (max-width: 912px) {
	#underlayer_mv {
		padding: 5em 2em 5em;
	}
	.line, .line2 {
		width: 60%;
	}
	
	.contact_form {
		width: 100%;
	}
}
/* 850px以下に適用されるCSS（タブレット用） */
@media screen and (max-width: 850px) {
	#underlayer_mv {
		padding: 4em 2em 4em;
	}
	.line, .line2 {
		width: 55%;
	}
}
@media screen and (max-width: 768px) {
	#underlayer_mv {
		padding: 3em 2em 4em;
	}
}
@media screen and (max-width: 540px) {
	#underlayer_mv{
		background: url("../img/contact/contact_mv_sp.jpg");
		background-position: top;
		background-repeat: no-repeat;
		background-size: cover;
		padding: 3em 2em 3em;
	}
	.line, .line2 {
		width: 100%;
		margin-top: 3em;
		margin-left: 0;
		margin-bottom: 3em;
	}
}
/* 480px以下に適用されるCSS（スマホ用） */
@media screen and (max-width: 480px) {
	.contact_form .box_con02 form table tr th,td {
		width: 100%;
		display: block;
	}
}
@media screen and (max-width: 391px) {
	#underlayer_mv {
		padding: 2em 2em 3em;
	}
}
@media screen and (max-width: 376px) {
	#underlayer_mv {
		padding: 2em 2em 2.5em;
	}
}











