@charset "utf-8";
/*------------------------------------------------------------
	トープページ
------------------------------------------------------------*/
#gHeader {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	top: 0;
	z-index: 100;
	width: 100%;
	max-width: 1300px;
}

#main {
	padding-top: 130px;
	padding-bottom: 63px;
}

#main .headLine {
	margin-bottom: 44px;
}

#main .map {
	width: 512px;
	height: 380px;
}

#main .map img {
	width: 100%;
}

#main .comTable .text th {
	padding: 19px 5px 5px;
}

#main .comTable .text td {
	padding: 7px 5px 2px 27px;
	line-height: 1.6;
}

#main .link {
	text-align: center;
}

#main .link a {
	padding: 14px 10px 13px;
	min-width: 320px;
	display: inline-block;
	background-color: #323232;
}

#main .link a span {
	padding-left: 56px;
	color: #fff;
	font-size: 22px;
	display: inline-block;
	background: url(../img/contact/icon.jpg) no-repeat left center;
	background-size: 28px auto;
}

#main .link a:hover {
	opacity: 0.7;
}

#pupBox {
	padding: 37px 50px 51px;
	margin: 0 auto;
	width: 761px;
	display: none;
	box-sizing: border-box;
}

#pupBox .ttl {
	margin-bottom: 13px;
	font-size: 30px;
	text-align: center;
}

#pupBox .ttl span {
	display: inline-block;
	line-height: 1.1;
	border-bottom: 2px solid #018CD2;
}

#pupBox .comTable {
	margin-bottom: 28px;
	width: 100%;
}

#pupBox .comTable th {
	padding: 27px 9px 0 0;
	width: 30%;
	text-align: left;
	border: none;
}

#pupBox .comTable td {
	padding: 17px 0 2px;
	word-break: break-all;
}

#pupBox .comTable td input {
	padding: 0 10px;
	width: 480px;
	height: 37px;
	line-height: 37px;
	border: none;
	border: 1px solid #ccc;
	border-radius: 0;
	appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-webkit-appearance: none; 
}

#pupBox .comTable td textarea {
	padding: 10px;
	width: 480px;
	height: 104px;
	border: none;
	font-size:13px;
	border: 1px solid #ccc;
	border-radius: 0;
	appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-webkit-appearance: none; 
	resize: vertical;
}

#pupBox .mailForm .submit {
	text-align: center;
}

#pupBox .mailForm .submit li {
	display: inline;
	padding: 0 10px;
}

#pupBox .mailForm .submit input {
	cursor: pointer;
	height: 41px;
	width: 226px;
	color: #fff;
	font-size: 18px;
	vertical-align: top;
	border: none;
	background-color: #333;
	border-radius: 25px;
	appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-webkit-appearance: none; 
}

#pupBox .mailForm .submit input:hover {
	opacity: 0.7;
}

#pupBox .mailForm .note {
	margin-top: 3px;
	color: #f00;
	font-size: 12px;
	float: right;
}

#main .thanks {
	text-align: center;
	font-size: 24px;
	max-width: 700px;
	margin: 60px auto 30px;
}
#main .thanks + .btn {
	margin: 0 auto;
	width: 280px;
}
#main .thanks + .btn a {
	padding: 15px 5px;
	display: block;
	color: #fff;
	font-size: 16px;
	text-align: center;
	background-color: #333;
}
.wpcf7c-conf {
	background-color:#eee !important;
}
#pupBox .comTable td input.captchaNum {
	width: 100px;
	margin-right: 10px;
}
#pupBox .comTable td .captchaImg {
	margin-top: 5px;
}
#pupBox .comTable td .error {
	color: #f00;
	font-size: 1em;
	font-weight: normal;
	display: block;
}
#pupBox .comTable td .mathcap .wpcf7-not-valid-tip {
	display: none !important;
}

#pupBox .comTable td .mathcap input {
    width: 50px;
}

@media all and (min-width: 768px) and (max-width: 1400px) {
	#pupBox {
		background-color: #fff;
	}
		
	#gHeader .innerBox {
		padding: 13px 140px 9px 73px;
	}
	
	#gHeader .tabList {
		right: 60px;
		top: 0;
	}
	
}
@media all and (min-width: 768px) and (max-width: 820px)  {
	#gHeader .innerBox {
		padding: 13px 130px 9px 73px;
	}
}



@media all and (max-width: 767px) {
	#gHeader {
		position: fixed;
		transform: none;
		left: 0;
	}
	
	#main .map {
		width: 100%;
		height: 100%;
	}
	
	#main .link a {
		padding: 11px 5px;
		min-width: 240px;
		box-sizing: border-box;
	}
	
	#main .link a span {
		padding-left: 32px;
		font-size: 14px;
		background-size: 20px auto;
	}
	
	#main .comTable .text td {
		padding: 13px 5px 5px;
	}
	
	#pupBox {
		padding: 0;
		width: calc(100vw - 30px);
		box-sizing: border-box;
		
	}
	
	#pupBox .subBox {
		padding: 37px 20px 20px;
		background: #fff;
	}
	
	#pupBox .ttl {
		font-size: 20px;
	}
	
	#pupBox .comTable td input {
		width: 100%;
		box-sizing: border-box;
	}
	
	#pupBox .comTable td textarea {
		width: 100%;
		box-sizing: border-box;
	}
	
	#pupBox .comTable th {
		width: 100%;
	}
	
	#pupBox .mailForm .submit input {
		font-size: 14px;	
		width: 100%;
		max-width: 180px;
	}
	
	.fancybox-opened .fancybox-skin {
		background: none !important;
	}
	
	#pupBox .mailForm .note {
		font-size: 10px;
	}
	
	#main .tabList {
		top: 49px;
	}
	#main .thanks {
		font-size: 16px;
	}
	
	#main .thanks + .btn a {
		font-size: 14px;
	}
	
		#pupBox .mailForm .submit {
		width:180px;
		margin: 0 auto;
	}
	
	#pupBox .mailForm .submit li {
		padding: 0 0 8px;
		display:block;
	}
	
	#pupBox .mailForm .submit input:hover {
		opacity:1;
	}
    
    #pupBox .comTable td .mathcap {
        display: block;
        text-align: left;
    }

}
