@charset "UTF-8";

html,body{
    height: 100%;
}
	
.wrap {
	position: relative;
    min-height: 100%;
    height: auto !important;
}
	
.wrap footer{
    position: absolute;
    bottom: 0;
	width: 100%;
}



#mainVisual {
    background: url("../image/contact/main.jpg") no-repeat 0 70%;
    background-size: cover;
    padding: 120px 0;
    margin-bottom: 100px;
}

#contact {
	display: none;
}

.contents .text {
	text-align: center;
	margin-bottom: 80px;
}

form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

table, td, th {
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 18px;
    padding: 15px 0 15px 20px;
	vertical-align: middle;
}

table.formTable {
    width: 100%;
	margin-bottom: 80px;
}

th {
    position: relative;
	text-align: left;
	width: 34%;
	background: #f1f1f1;
    border-bottom: 1px solid #fff;
	font-weight: 400;
}

th span {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: #cc0000;
    color: #fff;
    padding: 0px 10px;
    font-size: 14px;
    border-radius: 2px;
    font-weight: 400;
}

th span.nini {
	background: #999999;
	color: #fff;
}

input[type="text"], input[type="number"], input[type="email"],textarea {
    padding: 10px;
    width: 100%;
    font-size: 18px;
	box-sizing: border-box;
}

input.short {
    width: 35%;
}

td .flexBox {
	justify-content: flex-start;
}

td .flexBox li {
	margin-right: 30px;
	font-size: 18px;
}

input[type="radio"], input[type="checkbox"] {
	transform: scale(1.8);
	margin-right: 12px;
}

input[type="button"],input[type="submit"] {
    background: #cc0000;
    border: none;
    color: #fff;
    padding: 10px 30px;
	cursor: pointer;
	font-size: 20px;
	margin: 0 20px;
}

input[type="button"]:hover,input[type="submit"]:hover {
    opacity: 0.7;
}

.hp-field {
  position: absolute;
  left: -9999px;
}


/*＝＝＝===
contact（サンクス）
＝＝＝＝＝＝＝*/

.thanks p {
    margin-bottom: 40px;
}

.thanks h2 {
    display: block;
}






@media screen and  (min-width: 320px) and (max-width: 768px) {

	#mainVisual {
		padding: 50px 0;
		margin-bottom: 50px;
	}
	
	.contents .text {
		text-align: center;
		margin-bottom: 40px;
	}
	
	table.formTable {
		margin-bottom: 40px;
	}
	
	table, td, th {
		font-size: 16px;
		padding: 10px;
		box-sizing: border-box;
	}	
	
	th {
		position: relative;
		width: 100%;
		border-bottom: none;
		display: block;
	}

	td {
		width: 100%;
		display: block;
		padding: 10px 0
	}

	input[type="button"], input[type="submit"] {
		padding: 8px 30px;
		font-size: 16px;
		margin-bottom: 20px;
        display: block;
	}	
	
	textarea {
		height: 80px;
	}
	
	.thanks {
		padding-bottom: 80px;
	}	

}

@media screen and  (min-width: 769px) and (max-width: 1024px) {
	
	table, td, th {
		font-size: 16px;
	}
	
	th {
		width: 36%;
	}

	
	
	
	
	}
	
	
	
	