/*--------------------------------------------------*/
/* フォーム */
/*--------------------------------------------------*/

.contact-page .form-content {
	margin-top: -100px;
	padding-top: 100px;
}
.contact-page .form-content table {
	width: 100%;
	line-height: 1.8;
	border-top: 1px solid #dddddd;
	margin: 50px 0 0 0;
}
.contact-page .form-content table th,
.contact-page .form-content table td {
	vertical-align: middle;
	border-bottom: 1px solid #dddddd;
	padding: 15px 0;
}
.contact-page .form-content table th {
	width: 30%;
	vertical-align: top;
	padding-right: 1em;
}
.contact-page .form-content table th > *:first-child,
.contact-page .form-content table td > *:first-child {
	margin-top: 0;
}
.contact-page .form-content table th > *:first-child,
.contact-page .form-content table td > *:last-child,
.contact-page .form-content table td.files > *:last-child {
	margin-bottom: 0;
}
.contact-page .form-content table th span {
	display: inline-block;
	color: #ff0000;
	font-size: 12px;
	font-weight: normal;
	font-feature-settings: normal;
}
.contact-page .form-content table th .small {
	line-height: 1.6;
	margin: 0;
}
.contact-page .form-content table td dl {
	margin: 5px 0 0 0;
}
.contact-page .form-content table td dl dt {
	margin-bottom: 5px;
}
.contact-page .form-content table td dl dd {
	margin: 0;
}
.contact-page .form-content table td.files div {
	font-size: 90%;
	margin-bottom: 10px;
}
.contact-page .form-content table td.tag .horizontal-item {
	display: inline-block;
	margin: 0;
	padding-right: 10px;
}
@media (min-width: 768px) {
}
@media (max-width: 767px) {
	.contact-page .form-content table th,
	.contact-page .form-content table td {
		display: block;
		width: 100%;
	}
	.contact-page .form-content table th,
	.contact-page .form-content table tr:last-child th {
		background-color: #f3f3f3;
		padding: 10px;
	}
	.contact-page .form-content table th p.small {
		
	}
	.contact-page .form-content table td {
		padding: 15px 0 35px 0;
	}
	.contact-page .form-content table td.tag .horizontal-item {
		width: 100%;
	}
}

/*--------------------------------------------------*/
/* 個人情報保護方針 */
/*--------------------------------------------------*/

.contact-page .form-content .iframe-wrap {
	height: 250px;
	border: 1px solid #dddddd;
	margin-bottom: 15px;
}
.contact-page .form-content .iframe-wrap iframe {
	width: 100%;
	height: 100%;
	border: none;
	overflow: auto;
}
@media (max-width: 767px) {
	.contact-page .form-content .iframe-wrap {
		height: 300px;
	}
}

/*--------------------------------------------------*/
/* フォーム リセット */
/*--------------------------------------------------*/

.contact-page input[type='text'],
.contact-page input[type='textarea'],
.contact-page button,
.contact-page select,
.contact-page textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: transparent;
	border: none;
	border-radius: 0;
	font: inherit;
	outline: none;
}
.contact-page textarea {
	resize: vertical;
}
.contact-page input[type='submit'],
.contact-page input[type='button'],
.contact-page label,
.contact-page button,
.contact-page select {
	cursor: pointer;
}
.contact-page select::-ms-expand {
	display: none;
}

/*--------------------------------------------------*/
/* フォーム カスタマイズ */
/*--------------------------------------------------*/

.contact-page input[type='text'],
.contact-page textarea {
	border: 1px solid #dddddd;
	padding: 10px 15px;
	width: 100%;
	margin: 0 0 10px 0;
}
.contact-page input[type='text']:focus,
.contact-page textarea:focus {
	border: 1px solid #25B7C0;
}
.contact-page ::placeholder {
	color: #999999;
}
.contact-page .btn-wrap {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 30px 0 0 0;
}
.contact-page .btn-wrap .btn {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: 100%;
	max-width: 320px;
	height: 70px;
	background-color: #25B7C0;
	color: #ffffff;
	font-size: 100%;
	font-weight: 700;
	padding: 10px 20px;
	margin: 20px 10px 0 10px;
	border-radius: 100px;
}
.contact-page .btn-wrap .btn-back {
	background-color: #333333;
}
.contact-page .zip input[type='text'],
.contact-page .tel input[type='text'] {
	width: auto;
}
@media (min-width: 768px) {
	.contact-page input[type='text'],
	.contact-page textarea {
		background-color: #f6f6f6;
	}
}

/*--------------------------------------------------*/
/* フォーム 画面遷移 */
/*--------------------------------------------------*/

/* 入力画面 */
.contact-page .mw_wp_form .form-content .error {
	color: #ff0000;
}

/* 確認画面 */
.contact-page .mw_wp_form_preview .form-content .iframe-wrap,
.contact-page .mw_wp_form_preview .form-content table th p.small,
.contact-page .mw_wp_form_preview .form-content table td p.small {
	display: none;
}
.contact-page .mw_wp_form_preview .form-content table td.files div {
	margin-bottom: 0;
}
@media (min-width: 768px) {
	.contact-page .mw_wp_form_preview .form-content table th,
	.contact-page .mw_wp_form_preview .form-content table td {
		padding: 20px 0;
	}
}

/* 送信完了 */
.thanks-page .form-content {
	line-height: 2em;
}
.thanks-page .form-content h3 {
	font-size: 140%;
	font-weight: 700;
	color: #000000;
	margin: 0 0 1em 0;
}

/*--------------------------------------------------*/
/* その他 */
/*--------------------------------------------------*/

.contact-page .page-body .form-title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.6;
	margin: 0 0 40px 0;
}
@media (max-width: 575px) {
	.contact-page .page-body .form-title {
		font-size: 24px;
		margin-bottom: 20px;
	}
}

