@charset "utf-8";

.pagetitle{
	background: url("../img/contact/contanct_pagemain.webp") no-repeat;
	background-size: cover;
	display: flex;
	align-items: center;
	width: 100%;
	height: 500px;
}
.pagetitle h2{
	color: #395780;
	font-family: "EB Garamond", serif;
	font-size: clamp(15px,2.4vw,24px);
	margin-left: 5%;
}
.pagetitle h2 strong{
	color: #221815;
	font-family: "Noto Serif JP", serif;
	font-size: clamp(30px,5vw,50px);
	display: block;
}

/* intro */
.lead{
	color: #395780;
	font-size: clamp(16px,2.4vw,24px);
	padding: 70px 0;
	text-align: center;
	line-height: 200%;
}
.contact_tel{
	margin-bottom: 80px;
}
.contact_tel .tel{
	font-family: "EB Garamond","Noto Serif JP", serif;
	font-size: clamp(20px,3.6vw,36px);
	letter-spacing: 0.05em;
	text-align: center;
}
.contact_tel .tel span{
	font-size: clamp(30px,5vw,50px);
	margin: 0 6px;
	letter-spacing: 0.05em;
}
.contact_tel .tel small{
	font-size: clamp(20px,2.4vw,24px);
}

/* contact */
#contact{
	padding-bottom: 80px;
}
.contactform{
	width: 100%;
}
.contactform th{
	color: #395780;
	width: 300px;
	vertical-align: middle;
	position: relative;
}
.contactform th.vat{
	vertical-align: top;
	padding-top: 35px;
}
.contactform th span{
	color: #FFF;
	background: #cf1f1f;
	font-size: clamp(10px,1.4vw,14px);
	display: inline-block;
	float: right;
	padding: 2px 6px;
	margin-top: 2px;
}
.contactform td{
}
.contactform th,.contactform td{
	font-size: 16px;
	border-top: 1px solid #4f709e;
	padding: 26px 20px;
	line-height: 180%;
}
.contactform tr:first-child th,.contactform tr:first-child td{
	border-top: none;
}
.contactform td span{
	margin-right: 1em;
}
.contactform td input{
	font-family: "Noto Sans JP","Noto Serif JP", "sans-serif";
}
.contactform td input[type="text"],.contactform td input[type="email"],.contactform td option,.contactform td select{
	font-size: 16px;
	border: 1px solid #888888;
	background: #f7f7f7;
	padding: 10px 15px;
}
.contactform td textarea{
	font-size: 16px;
	border: 1px solid #888888;
	background: #f7f7f7;
	padding: 10px 15px;
	width: 100% !important;
	max-width: 700px !important;
	height: 150px !important;
}
.contactform td input[type="checkbox"]{
	margin-right: 1em;
}
.contactform td .input_l{
	width: 66.7%;
}
.contactform td .formflex{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.contactform td .input_f{
	max-width: 700px;
	flex: 1;
}
.contactform td .input_m{
	width: 45%;
}
.contactform td .input_ss{
	width: 17%;
	min-width: 100px;
}
.contactform td .formin{
	margin-bottom: 26px
}
.contactform td .formin:last-child{
	margin-bottom: 0;
}
.contactform td .inline{
	display: inline;
}

.sendbtn{
	text-align: center;
	margin-top: 30px;
}
.sendbtn .btn-submit{
	font-family: "Noto Sans JP","Noto Serif JP", "sans-serif";
	background-image: linear-gradient(#607ea7, #395780);
	color: #FFF;
	font-size: clamp(16px,1.8vw,18px);
	display: block;
	width: 100%;
	max-width: 400px;
	padding: 9px;
	text-decoration: none;
	transition: 0.3s;
	margin: 0 auto;
	border: none;
}
.sendbtn .btn-submit div{
	border: 1px solid #FFF;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 60px;
}
.sendbtn .btn-submit span{
	font-size: clamp(18px,2.4vw,24px);
}
.sendbtn .btn-submit:hover{
	opacity: 0.7;
}
#contact .center p{
	text-align: center;
}

@media screen and (max-width: 768px){
	.pagetitle{
		background: url("../img/contact/contanct_pagemain_sp.jpg") no-repeat;
		background-size: cover;
		display: flex;
		align-items:flex-start;
		justify-content: flex-end;
		width: 100%;
		height: 250px;
	}
	.pagetitle h2{
		margin-right: 25px;
		margin-top: 40px;
	}
	.lead {
		padding: 35px 0;
	}
	.contact_tel {
		margin-bottom: 40px;
	}
	.contact_tel .tel{
		margin-top: 20px;
	}
	.contactform th,.contactform td{
		border: none;
		padding: 10px 10px;
		display: block;
		width: 100%;
	}
	.contactform th{
		padding-top: 15px;
		padding-bottom: 0;
	}
	.contactform th.vat{
		padding-top: 15px;
		vertical-align: middle;
	}
	.contactform th span{
		display: inline-block;
    float: none;
    padding: 2px 10px;
    margin-left: 10px;
    line-height: 200%;
		margin-top: 0;
	}
	.contactform td .input_s{
		width: 25%;
		min-width: 100px;
	}
	.contactform td .input_l,.contactform td .input_m,.contactform td .input_f,.contactform td .input_ss{
		width: 100%;
	}
	.contactform td .input_f{
		flex: none;
		margin-top: 10px;
	}
	.contactform td .inline{
		display: block;
	}
	.contactform td .formin {
		margin-bottom: 20px;
	}
	.contactform td .adflex{
		display: flex;
		justify-content: space-between;
	}
	.contactform td .adflex .inline span{
		display: block;
	}
	.contactform td .center{
		text-align: center;
	}
	.sendbtn .btn-submit {
    max-width: 260px;
    padding: 4px;
  }
}


