/* フォーム
----------------------------------*/
input,
select,
textarea {
  margin: 0;
  padding: 0.8em;
  outline: none;
  border: solid 1px var(--color-border);
  border-radius: 0;
  background: #fff;
  color: var(--color-text);
  font-size: 1em;
  font-family: inherit;
}
textarea {
  resize: vertical;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: var(--color-main);
}
input[type="radio"],
input[type="checkbox"] {
  width: 1em;
  height: 1em;
  margin: 0 0.5em 0 0;
  padding: 0;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  position: static;
  z-index: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;
  opacity: 1;
  visibility: visible;
  display: inline-block;
}
.wpcf7-list-item label {
  display: inline-flex !important;
  align-items: center !important;
  cursor: pointer !important;
  margin: 0 0.5em !important;
}
input[type="submit"],
input[type="button"],
label,
button,
select {
  cursor: pointer;
}
/* 送信ボタン */
.formSubmit {
  margin-top: 2em;
  text-align: center;
}
input[type="submit"] {
  padding: 1em 2em;
  min-width: 200px;
  border: solid 1px var(--color-btn-border);
  background: var(--color-btn);
  color: var(--color-btn-text);
  text-align: center;
  font-size: 1.1em;
  transition: all 0.3s ease;
}
input[type="submit"]:hover {
  background: var(--color-btn-hover);
  color: var(--color-btn-text-hover);
}
/* Contact Form 7 プラグイン */
.wpcf7-list-item {
  margin-left: 0 !important;
}
.wpcf7-spinner {
  display: none !important;
}
.screen-reader-response,
.wpcf7-response-output {
  margin: 1.5em 0;
  font-weight: 700;
  color: var(--color-main);
}
/* 検索フォーム */
.searchform {
  max-width: 700px;
  margin-top: 2em;
}
.search-form input[type="search"] {
  display: block;
  width: 100%;
}
.searchform div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
#searchsubmit {
  margin: 0.8em auto 0;
}
/* フォームテーブル */
.formTable {
  width: 100%;
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
}
.formTable th,
.formTable td {
  padding: 1.2em 1em 1em;
  border-left: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  font-weight: normal;
}
.formTable th {
  width: 300px;
  background: #f8f9fa;
  font-size: 0.9em;
}
.formTable td {
  background: #fff;
  width: calc(100% - 300px);
}
.formTable th p,
.formTable td p {
  margin: 0;
  line-height: 1.5;
}
.formTable th span.required {
  margin-left: 0.5em;
  font-size: 0.8em;
  color: var(--color-sub);
}
.formTable td p.fontsm {
  margin-top: 0.5em;
  font-size: 0.85em;
  line-height: 1.6;
}
@media screen and (max-width: 767px) {
  .formTable th,
  .formTable td {
    display: block;
    width: 100% !important;
    padding: 1em;
    margin-bottom: 0;
  }
}
