table.contactTable {
  border: none!important;
  border-top: 1px solid #c7ccd0 !important;
  margin-bottom: 20px;
border-collapse: collapse;
}
table.contactTable th,
table.contactTable td {
  padding: 1em 2em;
}
table.contactTable th p{
	display:inline-block;
	margin:1em 0;
}
table.contactTable td p{
	margin:1em 0;
}

table.contactTable thead th {
  background: #f4f5f6;
  color: #ffffff;
}
table.contactTable tbody th {
  border: none;
  border-left: none!important;
  border-bottom: 1px solid #c7ccd0;
  background: #f4f5f6;
  width: 15em;
  text-align: left;
  vertical-align: top;
}
table.contactTable tbody th.must:after {
  content: "[必須]";
  color: #ff5959;
  display: block;
  font-size: 12px;
  float:right;
	margin:1.6em 0 0 0.5em;
}

table.contactTable tbody td {
  border: none;
  border-right: none!important;
  border-bottom: 1px solid #c7ccd0;
}
table.contactTable tbody td select,
table.contactTable tbody td input[type="text"],
table.contactTable tbody td input[type="email"],
table.contactTable tbody td input[type="url"],
table.contactTable tbody td input[type="tel"],
table.contactTable tbody td textarea {
  padding: 6px;
  border-radius: 4px;
  background: #f9ffec;
  border: 1px solid #1879de;
}
table.contactTable tbody td select:focus,
table.contactTable tbody td input[type="text"]:focus,
table.contactTable tbody td input[type="email"]:focus,
table.contactTable tbody td input[type="url"]:focus,
table.contactTable tbody td input[type="tel"]:focus,
table.contactTable tbody td textarea:focus {
  background: #e9ffb9;
}

.contactTableButton{
	padding:2em;
	text-align:center;
}
.contactTableButton p{
	text-align:center;
}

.acceptLink{
	text-align:center;
	font-size:120%;
}

@media screen and (max-width: 767px) {
  table.contactTable tbody td select,
  table.contactTable tbody td input[type="text"],
  table.contactTable tbody td input[type="email"],
  table.contactTable tbody td input[type="url"],
  table.contactTable tbody td input[type="tel"],
  table.contactTable tbody td textarea {
     width: 100%;
        box-sizing: border-box;
  }
}
table.contactTable tbody td.acceptBox {
  padding: 20px 0 0;
}
@media screen and (max-width: 767px) {
  table.contactTable tbody td.acceptBox p br {
    display: inline;
  }
}
table.contactTable tbody td.acceptBox p.acceptCheck {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}
@media screen and (max-width: 767px) {
  table.contactTable tbody td.acceptBox p.acceptCheck {
    text-align: left;
  }
}
table.contactTable tbody td.acceptBox span {
  font-size: 16px;
  font-weight: bold;
}
table.contactTable tbody td span.wpcf7-list-item {
  margin-right: 2em;
}
table.contactTable tbody td span.wpcf7-list-item:hover {
  cursor: pointer;
}
table.contactTable tbody td span.wpcf7-not-valid-tip {
  display: block;
  padding-top: 10px;
  font-weight: bold;
  color: #ff5959;
}
@media screen and (max-width: 767px) {
  table.contactTable {
    display: block;
  }
  table.contactTable.table-bordered {
    border: none;
  }
  table.contactTable th,
  table.contactTable td {
    padding: 8px;
  }
	table.contactTable th p{
		margin:0;
	}
  table.contactTable thead {
    display: none;
  }
  table.contactTable tbody {
    display: block;
    border: none!important;
  }
  table.contactTable tbody tr {
    display: block;
    margin-bottom: 1.5em;
  }
  table.contactTable tbody tr th,
  table.contactTable tbody tr td {
    display: list-item;
    border: none!important;
    margin-bottom: 0.5em;
  }
  table.contactTable tbody tr th {
    margin-bottom: 0.8em;
    list-style-type: none;
    width: 100%;
    text-align: left;
  }
  table.contactTable tbody tr th.must:before {
    content: "[必須] ";
    color: #ff5959;
  }
  table.contactTable tbody tr th.must:after {
    content: none;
  }
  table.contactTable tbody tr td {
    padding: 0;
    list-style-type: none;
    margin-left: 0.5em;
  }
  table.contactTable tbody tr td.text-center {
    text-align: left!important;
  }
}

.textCaution{
    color:#ff5959;
}

.sent .formBody{
    display:none;
    
}

div.wpcf7-mail-sent-ok {
    border: 2px solid #064583 !important;
    color:#064583;
    font-weight: bold;
    font-size: 120%;
}

#footer a.contact{
    display: none;
}




/*暫定コピー対応*/


.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	width: 1px;
	margin: 0;
	padding: 0;
	border: 0;
}

.wpcf7 form .wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
	border-color: #ffb900; /* Yellow */
}

.wpcf7-form-control-wrap {
	position: relative;
	display:block;
}

.wpcf7-not-valid-tip {
	color: #dc3232; /* Red */
	font-size: 1em;
	font-weight: normal;
	display: block;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
	position: relative;
	top: -2ex;
	left: 1em;
	z-index: 100;
	border: 1px solid #dc3232;
	background: #fff;
	padding: .2em .8em;
	width: 24em;
}

.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
	content: " ";
}

.wpcf7 .ajax-loader {
	visibility: hidden;
	display: inline-block;
	background-color: #23282d; /* Dark Gray 800 */
	opacity: 0.75;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 100%;
	padding: 0;
	margin: 0 24px;
	position: relative;
}

.wpcf7 form.submitting .ajax-loader {
	visibility: visible;
}

.wpcf7 .ajax-loader::before {
	content: '';
	position: absolute;
	background-color: #fbfbfc; /* Light Gray 100 */
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border: none;
	border-radius: 100%;
	transform-origin: 8px 8px;
	animation-name: spin;
	animation-duration: 1000ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7 .ajax-loader::before {
		animation-name: blink;
		animation-duration: 2000ms;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes blink {
	from {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.wpcf7 input[type="file"] {
	cursor: pointer;
}

.wpcf7 input[type="file"]:disabled {
	cursor: default;
}

.wpcf7 .wpcf7-submit:disabled {
	cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	direction: ltr;
}
