@charset "utf-8";
/*==================================================
	【お問い合わせ】ページ固有のスタイル
==================================================*/
#contact > .bg_wide {
	padding-top: 110px;
	z-index: 0;
}
#contact > .bg_wide::before {
	background: linear-gradient(90deg, rgba(226,248,234,0.95) 0%, rgba(255,236,199,0.95) 100%);
}
#contact > .bg_wide::after {
	position: absolute;
	top: 0;
	left: calc(50% - 50vw);
	width: 11vw;
	height: calc(100% - 50px);
	background: url("../img/top/txt-contact.png") no-repeat left top / 100% auto;
	content: "";
	z-index: -1;
}
@media only screen and (max-width: 1150px) {
	#contact > .bg_wide::after {
		left: -25px;
	}
}
#contact h3.sub {
	padding-bottom: 0;
	text-align: center;
	border: none;
}
#contact h3.sub::before {
	display: none;
}
#mailform {
	width: 1000px;
	margin: 0 auto;
	padding: 48px 72px 50px;
	background: #fff;
	border-radius: 20px;
	font-size: 110%;
}
#mailform .txt {
	line-height: 1.9;
}
#mailform a {
	color: var(--color-secondary);
	text-decoration: underline;
}
#mailform .tbl {
	margin: 28px 0;
	background: transparent;
}
#mailform .tbl th,
#mailform .tbl td {
	padding: 8px 0;
	border: none;
}
#mailform .tbl th {
	width: 230px;
	padding-top: 20px;
	padding-right: 35px;
	background: transparent;
	vertical-align: top;
}
#mailform .tbl th .need {
	float: none;
	margin-left: 8px;
	padding: 0;
	background: transparent;
	border-radius: 0;
	color: var(--color-secondary);
	font-size: 90%;
}
#mailform .tbl input[type="text"],
#mailform .tbl textarea {
	width: 100%;
	box-sizing: border-box;
	border: none;
	background: #eff1f4;
	border-radius: 10px;
	color: var(--color-font);
	padding: 16px 15px;
	font-size: 16px;
}
#mailform .tbl textarea {
	display: block;
	min-height: 170px;
	padding: 15px;
	resize: vertical;
}
#mailform .tbl input.wno {
	width: 100px;
}
#mailform .btn {
	margin-top: 30px;
	/* フレックス */
	display: flex;
	justify-content: center;
}
#mailform .btn li+li {
	margin-left: 18px;
}
#mailform .btn input {
	width: 209px;
	height: 53px;
	padding-bottom: 2px;
	background : #EFF1F4;
	border: 1px solid var(--color-primary);
	border-radius: 30px;
	box-shadow: none;
	color: #FFFFFF;
	font-size: 17px;
	font-family: var(--font-sans);
	cursor: pointer;
	transition: all 0.2s ease;
}
#mailform .btn input:hover {
	background: #003b73;
}
#mailform .btn input.send {
	border: none;
	background : linear-gradient(90deg, rgba(104, 211, 145, 1) 0%, rgba(165, 186, 87, 1) 41.8%, rgba(255, 149, 0, 1) 100%);
}
#mailform .btn input.send:hover {
	background : linear-gradient(90deg, rgba(255, 149, 0, 1) 0%, rgba(165, 186, 87, 1) 58.2%, rgba(104, 211, 145, 1) 100%);
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
}
#mailform .btn input[type="reset"] {
	background: #f7f9fb;
	border-color: var(--color-primary);
	color: var(--color-primary);
}
#mailform .btn input[type="reset"]:hover {
	background: var(--color-primary);
	color: #fff;
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#contact > .bg_wide {
		padding-top: 58px;
		padding-bottom: 58px;
	}
	#contact > .bg_wide::after {
		width: 78px;
		background-size: 78px auto;
		opacity: 0.35;
	}
	#contact h3.sub {
		margin-bottom: 36px;
	}
	#mailform {
		width: 100%;
		padding: 34px 32px;
		font-size: 100%;
	}
	#mailform .tbl th {
		width: 155px;
		padding-right: 22px;
	}
	#mailform .btn input {
		width: 135px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#contact > .bg_wide::after {
		display: none;
	}
	#mailform {
		padding: 15px;
	}
	#mailform .tbl {
		margin: 22px 0;
	}
	#mailform .tbl th,
	#mailform .tbl td {
		display: block;
		width: 100%;
		padding: 5px 0;
	}
	#mailform .tbl th {
		padding-right: 0;
	}
	#mailform .tbl input[type="text"],
	#mailform .tbl textarea {
		padding: 12px;
	}
	#mailform .btn {
		margin-top: 24px;
	}
	#mailform .btn input {
		width: 118px;
	}
}
