:root {
	/* $white: #fff;
	$dark: #716a67;

	$base: #e5e2de;
	$sub: #8f8b8a;
	$accent: #b0cab4;
	$baseLight: #EFEDEB;
	$subLight: #C0BEBD;
	$accentLight: #CEDDD0; */
	--color_white: #fff;
	--color_dark: #716a67;
	--color_base: #e5e2de;
	--color_sub: #8f8b8a;
	--color_accent: #b0cab4;
}

table.contact-form {
	border-spacing: 5px;
	margin: 20px auto;
	font-size: 1rem;
}
table.contact-form th {
	background: var(--color_accent);
	border-radius: 10px;
	color: var(--color_white);
	padding: 10px 3em;
	line-height: 1.5;
	text-align: start;
}
table.contact-form th p {
	font-size: 1rem;
	font-weight: bold;
}
table.contact-form th span {
  color: var(--color_dark);
}
table.contact-form td {
	background: var(--color_white);
	border-radius: 10px;
	padding: 10px 3em;
	text-align: start;
}
table.contact-form td input[type="text"],
table.contact-form td input[type="tel"],
table.contact-form td input[type="email"],
table.contact-form td input[type="url"],
table.contact-form td input[type="number"],
table.contact-form td input[type="date"],
table.contact-form textarea,
table.contact-form select{
  color: var(--color_dark);
  background: var(--color_white);
  padding: 10px;
}
.wpcf7-form-control,
.wpcf7-checkbox {
  display:flex;
  flex-wrap: nowrap;
  flex-direction: column;
}
.wpcf7-checkbox span {
  margin-bottom: 5px;
}
.wpcf7-checkbox span:last-child {
  margin-bottom: 0px;
}
.wpcf7-form-control-wrap {
	margin-top: 20px;
}
.wpcf7-list-item-label {
	font-weight: bold;
}
input[type="button"]{
  font-size: 1.2rem;
  color: var(--color_dark);
  cursor: pointer;
  border-bottom: dashed var(--color_accent);
  margin: 40px auto;
}
table.contact-form td input[type="file"],
input[type="submit"]{
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 20px auto;
  background: var(--color_accent);
  border: none;
  color: var(--color_dark);
  cursor: pointer;
  padding: 20px 80px;
  border-radius: 20px;
}
textarea.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  box-sizing: border-box;
}
.wpcf7-form-control.wpcf7-acceptance{
  display: block;
  text-align: center;
  color: var(--color_dark);
}
.wpcf7-list-item label {
    cursor: pointer;
}
table.contact-form th.required::after{
  content: "必須";
  color: #f00;
  font-size: .7em;
  margin-left: 3px;
}
.wpcf7-response-output {
  border-color: #9EC3BC;
  color: #EADFCA;
}

.mail-contact {
  color: #EADFCA;
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
}

.contact-thanks {
  color: #9EC3BC;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-top: 50px;
}

@media screen and (max-width: 600px) {
  table.contact-form tr{
    /* display: table; */
    font-size: 14px;
  }
  table.contact-form td,
  table.contact-form th{
    border: none;
    /* display: block; */
    /* display: table-cell; */
  }
  table.contact-form th{
    text-align: left;
    background: none;
    font-weight: bold;
    margin-top: .7em;
    margin-bottom: -10px;
  }
  input[type="button"]{
    font-size: 18px;
  }
  input[type="submit"]{
    font-size: 20px;
    padding: 10px 40px;
    margin: 10px auto;
  }
  .contact-thanks {
    font-size: 20px;
    margin: 50px 0;
  }
}
