/* 全体 */
.wpcf7 p {
  margin-bottom: 56px;
}

.wpcf7-list-item {
  line-height: 2;
}

/* タイトル */
.contact_title {
  line-height: 3;
}

/* セレクトボックス */
.wpcf7 select {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0px;
  background: white;
  color: black;
  border: none;
  border-bottom: 1px solid #ccc;
  width: 240px;
  max-width: 100%;
}

@media screen and (max-width: 440px) {
  .wpcf7 select {
    width: 100%;
  }
}

/* ボタン */
input[type="button"] {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	width: 280px;
	height: 60px;
	line-height: 60px;
	border-radius: 70px;
	color: #ffffff;
	background-color: #133590;
	border: none;
}
.wpcf7 .wpcf7-submit {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	width: 280px;
	height: 60px;
	line-height: 60px;
	border-radius: 70px;
	color: #ffffff;
	background-color: #FF8C00;
	border: none;
}

.wpcf7 .wpcf7-submit:disabled:hover {
  background-color: #666666;
}

.wpcf7 .wpcf7-submit:hover,
.wpcf7 .wpcf7-previous:hover {
  background-color: #e16e00;
}

@media screen and (max-width: 440px) {
  .wpcf7 .wpcf7-submit {
    width: 100%;
  }
}

.contactButtons p {
	display: flex;
}
span.wpcf7-spinner {
  display: none;
}

.wpcf7 {
	background-color: #ffffff;
	border: none;
}
.contact_textarea {
	white-space: pre-wrap;
}
.wpcf7-form .post_content p {
	line-height: 1;
	white-space: pre-wrap;
}
.contact_required {
	color: #ff0000;
}

@media screen and (max-width: 1100px) {
	.wpcf7 form {
		margin: 0;
	}
}

@media screen and (max-width: 800px) {
	.contactButtons p {
		flex-direction: column;
	}
}

/* プライバシーポリシーに同意する */
.wpcf7-list-item {
	margin: 0;
}
.contact_pp {
	text-align: center;
}

/* チェックボックス */
input[type="checkbox"] {
	transform: scale(1.5);
}

/* エラー */
.wpcf7-not-valid-tip {
  margin-top: 8px;
}

/* 完了ページ_ボタン */
.post_content a.q_custom_button.q_custom_button1 {
	width: 280px;
	height: 60px;
	line-height: 60px;
	border-radius: 70px;
	color: #ffffff;
	background-color: #FF8C00;
	border: none;
	cursor: pointer;
}

.post_content a.q_custom_button.q_custom_button1:before {
  background-color: #e16e00;
}

.post_content a.q_custom_button.q_custom_button1:hover {
  border-color: #e16e00;
}

@media screen and (max-width: 440px) {
  .post_content a.q_custom_button.q_custom_button1 {
    width: 100%;
  }
}