@charset "utf-8";
/* PCファースト  */
/* 960px以下でSP */

/* ========== contact/index.html ========== */
.contact-wrap {
	max-width: 950px;
	margin-left: auto;
}
/* 個人情報について */
.contact-privacy {
	padding: 40px;
	height: 500px;
	border: 1px solid #CCCCCC;
	overflow-y: scroll;
}
.contact-privacy p {
	margin-bottom: 1.5em;
}
.contact-privacy p:last-of-type {
	margin-bottom: 0;
}
@media screen and (max-width: 1000px) {
	.contact-privacy {
		padding: 15px;
		height: 200px;
		border: 1px solid #CCCCCC;
		overflow-y: scroll;
	}
}
/* 同意ボタン */
.contact-agree {
	margin: 20px 0 60px;
}
.contact-agree-p {
	color: #FF0000;
}
input[type=checkbox] {
	display: none; 
}
.contact-agree-checkbox::after {
	position: absolute; 
	content: ""; 
	display: block; 
	top: 50%;
	left: 0;
	margin: -10px 0 0 -2px;
	width: 20px;
	height: 20px;
	border: 2px solid black; 
	border-radius: 50%;
}
.contact-agree-checkbox {
	position: relative;
	font-size: 24px;
    padding: 0 0 0 30px;
}
.contact-agree-checkbox:hover::after {
	border-color: #0171bd; 
}
.contact-agree-checkbox::after, .contact-agree-checkbox::before{
	position: absolute; 
	content: ""; 
	display: block; 
	top: 50%; 
}
.contact-agree-checkbox::before {
	position: absolute; 
	content: ""; 
	display: block; 
	top: 50%;
	left: 0;
	margin: -6px 0 0 2px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	opacity: 0;
	background: #E8380D;
}
/*チェックボックスがチェックされた時に動作する内容*/
input[type=checkbox]:checked + .contact-agree-checkbox::before {
	opacity: 1;
}
/* form */
.contact-form {
	display: none;
	width: 100%;
	margin: 0 auto;
}
.contact-form p {
	margin-bottom: 1.5em;
}
.contact-form p:last-of-type {
	margin-bottom: 4em;
}
.item{
	margin-bottom: 30px;
}
.label {
	font-size: 20px;
	width: 100%;
}
.label span {
	font-size: 14px;
	color: #E8380D;
	margin-left: 0.5em;
}
.inputs {
	width: 100%;
}
.select-wrap {
	position: relative;
	max-width: 400px;
}
.select-wrap::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 45%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #10004E;
    border-left: 2px solid #10004E;
    pointer-events: none;
    transform: translateY(-50%) rotate(-135deg);
}
.select {
	width: 100%;
	padding: 10px 20px;
	border: solid 2px #CCCCCC;
	border-radius: 10px;
	height: 60px;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
	font-size: 16px;
	padding: 10px 20px;
	border: solid 2px #CCCCCC;
	border-radius: 10px;
	height: 60px;
}
textarea {
	height: 275px;
}
.btn-area{
	text-align: center;
}
input[type="submit"], input[type="reset"] {
	border: none;
	font-size: 22px;
	font-weight: bold;
	padding: 10px 20px;
	width: 130px;
}
input[type="reset"]{
	background: #E6E6E6;
	color: #10004E;
	margin-right: 10px;
}
input[type="submit"] {
	background: #E8380D;
	color: #FFFFFF;
	margin-left: 10px;
}


/* ========== contact-mail.php ========== */
.contact-form-section p {
	padding-top: 40px;
	margin-bottom: 40px;
	text-align: center;
}

.contact-form-table {
	font-size: 20px;
	line-height: 1.5;
	margin: 0 auto 3em auto;
	max-width: 750px;
}
.contact-form-table th, .contact-form-table td {
	padding: 1em;
}

.error_messe {
	color: #FF0000;
}

.contact-button {
	background: #E6E6E6;
	border: none;
	color: #10004E;
	font-size: 22px;
	font-weight: bold;
	margin-right: 10px;
	padding: 10px 30px;
}

@media screen and (max-width: 960px) { /* sp */
	.contact-form-section {
		margin-top: 30px;
		margin-bottom: 30px;
	}

	.contact-form-table {
		font-size: 16px;
	}
	.contact-form-table th, .contact-form-table td {
		padding: 0.5em;
	}
}


/* ========== contact-thanks.html ========== */
.thanks-text {
	max-width: 840px;
	margin-left: auto;
	padding-top: 50px;
}
.thanks-text p {
	margin-bottom: 1.5em;
}
@media screen and (max-width: 960px) { /* sp */
	.thanks-text {
		margin-left: 0;
		padding-top: 25px;
	}
}