@charset "UTF-8";

/* フォーム関連共通
-------------------------*/
/* Chrome, Safari */
::-webkit-input-placeholder{color: #c7c7c7;}
/* Firefox */
::-moz-placeholder{color: #c7c7c7;}
/* Firefox 18以前 */
:-moz-placeholder{color: #c7c7c7;}
/* IE */
:-ms-input-placeholder{color: #c7c7c7;}

/* 必須／任意 */
.required::before {
	content: '必須';
  padding: 1px 5px;
  margin-right: 10px;
  font-size: 11px;
  line-height: 1;
  font-weight: bold;
  color: #B74646;
  border: 1px solid #B74646;
  white-space: nowrap;
}
.optional::before {
	content: '任意';
  padding: 1px 5px;
  margin-right: 10px;
  font-size: 11px;
  line-height: 1;
  font-weight: bold;
  color: #A7A7A7;
  border: 1px solid #A7A7A7;
  white-space: nowrap;
}

.search-edit, input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea,
select {
  max-width: 100%;
  padding: 10px;
	font-family: 'Noto Sans JP', sans-serif!important;
	font-weight: 400!important;
  font-size: 16px;
  line-height: 1.2;
  color: #000;
}
textarea {
	min-height: 0;
	line-height: 1.4;
}
.wpcf7-radio span.wpcf7-list-item,
.wpcf7-checkbox span.wpcf7-list-item {
  display: block;
  margin: 0!important;
}
input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0 3px 6px 0;
    vertical-align: middle;
}
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0 6px 6px 0;
    vertical-align: middle;
}
.wpcf7-acceptance{
  & input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin: 0 6px 0 0;
    vertical-align: middle;
  }
}

input[type=submit],
input[type=button].wpcf7-submit {
  width: -moz-fit-content;
  width: fit-content;
  max-width: 90%;
  margin: 30px auto 0;
  padding: 1em 3.5em 1em 3em;
  border-radius: 2em;
  border: none;
  background: #434343 url(/images/submit_icon.svg);
	background-size: 17px 7px;
  background-position: right 2em center;
  background-repeat: no-repeat;
	color: #fff;
	font-family: 'Noto Sans JP', sans-serif!important;
	font-weight: 700;
	font-size: 20px;
 	line-height: 1;
  cursor: pointer;
}
input[type=submit]:hover,
input[type=button].wpcf7-submit:hover {
  opacity: .85;
}

.wpcf7 form .wpcf7-response-output {
	margin: 0!important;
	margin-top: 20px!important;
}
.wpcf7-not-valid-tip {
	color: #B74646!important;
	font-size: .8em!important;
}
.wpcf7 form.sent .wpcf7-response-output {
	background-color: #e3f4e5;
	border: none;
	border-radius: 6px;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	background-color: #fae0e0;
	border: none;
	border-radius: 6px;
}
.wpcf7 form.spam .wpcf7-response-output {
	background-color: #fee9df;
	border: none;
	border-radius: 6px;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
	background-color: #fff5d9;
	border: none;
	border-radius: 6px;
}
.wpcf7-spinner {
    margin: 0;
}

form {
	text-align: center;
  & table {
    width: 90%;
    max-width: 700px;
    margin: auto;
    & th {
    	text-align: left;
      vertical-align: top;
      white-space: nowrap;
      padding: 10px 2em 10px 0;
      @media screen and (max-width: 768px) {
        display: block;
        width: 100%;
        padding: 10px 0 5px 0;
      }
    }
    & td {
    	text-align: left;
      vertical-align: top;
      padding: 10px 0 10px 0;
      @media screen and (max-width: 768px) {
        display: block;
        width: 100%;
        padding: 0;
      }
    }
  }

	& .privacy {
    width: 90%;
    max-width: 700px;
		margin: 30px auto 0;
		padding: 20px 0 0;
		border: none;
		border-top: 1px solid #ccc;

		& .link {
		  width: fit-content;
		  text-align: left;
		  margin: 0 auto 7px;
			font-size: 14px;
		}
	}

}