@charset "utf-8";
/*------------------------------------------------------------
	問い合わせページ
------------------------------------------------------------*/
		#main.p-contact {
	max-width: 700px;
			width: 100%;
	margin: 0 auto 133px;
	
}

#main.p-contact h2 {
	font-size: 3.5em;
	line-height: 1.75;
	letter-spacing: 0.1em;
	font-weight: normal;
	text-align: center;
	border-bottom: 1px solid #ccc;
	padding-bottom: 30px;
	margin-bottom: 40px;
}

#main.p-contact h4 {
	margin-bottom: 10px;
	font-size: 2em;
	letter-spacing: 0.1em;
	font-weight: normal;
	line-height: 1.75;
}

#main.p-contact p {
	margin-bottom: 20px;
	font-size: 1.5em;
	line-height: 1.75;
}

#main.p-contact .thanx-txt h4 {
	margin-bottom: 10px;
	font-size: 1.3em;
	letter-spacing: 0.1em;
	font-weight: normal;
	line-height: 1.75;
}

#main.p-contact .thanx-txt p {
	margin-bottom: 20px;
	font-size: 1em;
	line-height: 1.75;
}

#main.p-contact span.lg {
	font-size: 2em;
}

#main.p-contact .nortice {
	color: #91262a;
}

#main.p-contact table {
	margin: 0 auto;
	width: 100%;
}

#main.p-contact table tr {
}

#main.p-contact table tr th {
	font-size: 1em;
	font-weight: normal;
	line-height: 1.75;
	padding: 15px 0px 20px;
	vertical-align: top;
	text-align: left;
	width: 210px;
}

#main.p-contact table tr td {
	font-size: 1.5em;
	line-height: 1.75;
	padding: 3px 0px 20px;
}

#main.p-contact table tr td input {
	width: 100%;
	padding: 10px 5px;
}

#main.p-contact table tr td textarea {
	width: 100%;
	min-height: 200px;
	padding: 10px 5px;
}

#main.p-contact .input-submit {
	margin-top: 40px;
	text-align: center;
}

#main.p-contact .input-submit input {
	font-size: 1.3em;
	border: none;
	width: 280px;
	height: 50px;
	cursor: pointer;
}

#main.p-contact .input-submit input#submit {
	background: #145d94;
	color: #fff;
}

#main.p-contact .input-submit input#submit:hover {
	background: #5094C8;
	color: #fff;
}


#main.p-contact .confirm-submit {
	margin-top: 40px;
	text-align: center;
}

#main.p-contact .confirm-submit input {
	font-size: 2em;
	border: none;
	width: 280px;
	height: 50px;
	cursor: pointer;
	margin: 0px 10px;
}

#main.p-contact .confirm-submit input#submit {
	background: #145d94;
	color: #fff;
}

#main.p-contact .confirm-submit input#submit:hover {
	background: #5094C8;
	color: #fff;
}

#main.p-contact .confirm-submit input#modification {
	background: #999;
	color: #fff;
}

#main.p-contact .confirm-submit input#modification:hover {
	background: #ccc;
	color: #fff;
}

@media screen and (max-width: 960px) {
	#main.p-contact h2 {
		font-size: 2.5em;
		padding-bottom: 20px;
		margin-bottom: 30px;
	}
	
	.p-contact .content {
		padding: 10px;
		box-sizing: border-box;
	}

	.p-contact .contact {
		padding: 10px;
		box-sizing: border-box;
	}

	h2 .subtext {
		display: block;
	}

	#main.p-contact table tr th {
		width: 100%;
		display: block;
		font-weight: bold;
	}

	#main.p-contact table tr td {
		width: 100%;
		display: block;
	}

	#main.p-contact table tr td input,
	#main.p-contact table tr td textarea {
		box-sizing: border-box;
	}

	#main.p-contact .confirm-submit input#modification {
		margin-bottom: 20px;
	}
	
	#main.p-contact input[type="submit"] {
		-webkit-appearance: none;
		border-radius: 0;
	}
}
.wpcf7-list-item {
    display: block;
    line-height: 1;
}
.wpcf7-list-item + .wpcf7-list-item {
    margin-top: 8px;
}
input[type="checkbox"] {
    display: none;
}
.wpcf7-list-item-label {
    position: relative;
    height: 20px;
    line-height: 20px;
    padding-left: 25px;
    display: inline-block;
}
.wpcf7-list-item-label::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid;
    background: #fff;
    position: absolute;
    left: 0;
    top: 0;
    box-sizing: border-box;
}
input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
    content: "";
    display: block;
    width: 8px;
    height: 6px;
    border-top: 3px solid #5094C8;
    border-right: 3px solid #5094C8;
    transform: rotate(135deg);
    position: absolute;
    left: 5px;
    top: 4px;
}


