.wpcf7-spinner {
  display: block;
  margin: 0 auto;
}

@media screen and (max-width:768px) {
  #entryform .rows {
    display: block;
  }

  #entryform .rows .col-2 {
    width: 100%;
    padding: 0 0 1rem;
  }
}

/** フォーム **/
input,
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
}

#form-inner h3 {
  margin-top: 0;
  font-size: 1rem;
  border-bottom: 1px dotted #777;
  padding: 0 0 0.5rem 0;
  position: relative;
}

.form-row {
  width: 100%;
  text-align: left;
  margin: 0 auto 1rem;
}

.form-label {
  display: block;
  letter-spacing: .05rem;
  position: relative;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.form-label label {
  font-size: 0.8rem;
  font-weight: bold;
}

.form-label label.ninni {
  font-weight: normal;
}

.form-label .ninni span {
  border-right: 1px dotted #555;
  font-weight: normal;
  margin-right: .5rem;
  display: inline-block;
  padding: 0 0.5rem 0 0;
  color: #555;
  width: 50px;
}

.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="date"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap input[type="tel"],
.wpcf7-form-control-wrap select,
.wpcf7-form-control-wrap textarea {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  background: #EEE;
  border: 1px solid #DDD;
  display: inline-block;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -webkit-appearance: none;
  transition: all .5s ease;
}

.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap select:focus,
.wpcf7-form-control-wrap textarea:focus {
  outline: none;
  background-color: #FFF;
}

input[type="submit"],
input[type="button"] {
  -webkit-appearance: none;
  display: inline-block;
  margin: .5rem;
  min-width: 230px;
  text-align: center;
  background: #333;
  color: #FFF;
  padding: .8rem 1rem;
  font-size: 1rem;
  border: none;
  transition: all 0.5s ease;
  vertical-align: middle;
  border-radius: 2rem;
  cursor: pointer;
}

input[type="button"] {
  background: #777;
  padding: .5rem;
}

input[type="submit"]:hover {
  background: #333;

}

.wpcf7-form-control-wrap select {
  padding-right: 2.5rem;
  background: url(../img/arrows.svg) no-repeat center right;
  background-size: 15px 20px;
  background-position: center right 18px;
  width: auto;
}

.wpcf7-radio {
  display: flex;
  max-width: 512px;
  margin: 0 auto;
  background: #64b3f4;
  background-image: linear-gradient(60deg, #4995b8 0%, #82b849 100%);
  border-radius: 2rem;
}

.wpcf7-radio span.wpcf7-list-item {
  margin: 0;
  display: block;
  width: 50%;
}

.wpcf7-form-control-wrap input[type="radio"] {
  display: none;
}

.wpcf7-radio label {
  display: block;
  cursor: pointer;
  width: 100%;
  margin: 0;
  padding: 1rem;
  background: #d7dce0;
  color: #869198;
  font-size: 1.1rem;
  text-align: center;
  transition: .5s;
}

.wpcf7-radio span.wpcf7-list-item:first-of-type label {
  border-radius: 2rem 0 0 2rem;
}

.wpcf7-radio span.wpcf7-list-item:last-of-type label {
  border-radius: 0 2rem 2rem 0;
}

.wpcf7-form-control-wrap label:has(input[type="radio"]:checked) {
  background-color: transparent;
  color: #fff;
}

.form-input .wpcf7-checkbox input {
  display: none;
}

.form-input .wpcf7-checkbox .wpcf7-list-item {
  margin: 0.25rem 0;
  display: block;
}

.form-input .wpcf7-checkbox .wpcf7-list-item label {
  cursor: pointer;
}

.form-input .wpcf7-checkbox input+span {
  padding-left: 1.75rem;
  display: inline-block;
  position: relative;
  line-height: 1.25;
  opacity: 0.75;
}

.form-input .wpcf7-checkbox input+span::after,
.form-input .wpcf7-checkbox input+span::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
}

.form-input .wpcf7-checkbox input+span::before {
  border: 1px solid #555;
  background-color: #EEE;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 50%;
  left: 0;
  top: 0;
}

.form-input .wpcf7-checkbox input+span::after {
  border: none;
  background-color: #111;
  border-radius: 50%;
  height: 1rem;
  width: 1rem;
  left: calc(0.25rem - 1px);
  top: calc(0.25rem - 1px);
  display: none;
}

.form-input .wpcf7-checkbox input:checked+span {
  opacity: 1;
  ;
  font-weight: bold;
}

.form-input .wpcf7-checkbox input:checked+span::after {
  display: block;
}

.policy .wpcf7-checkbox {
  margin: 0 auto;
  text-align: center;
}

.policy .wpcf7-checkbox span.wpcf7-list-item {
  margin: 3px;
  display: inline-block;
}

.policy .wpcf7-form-control-wrap input[type="checkbox"] {
  display: none;
}

.policy .wpcf7-checkbox label span {
  border: 3px solid #AAA;
  background: #FFF;
  border-radius: 2rem;
  padding: 0.5rem 2rem;
  transition: .5s;
  cursor: pointer;
}

.policy .wpcf7-checkbox label input:checked+span {
  border: 3px solid #FFF;
  background: #97c961;
  color: #FFF;
}

.policy {
  margin: 2rem auto 0;
  padding: 1rem;
  border: 3px solid #DDD;
  max-width: 768px;
}

#entryform .policy p.policy-txt {
  font-size: .8rem;
  text-align: left;
}

.policy a {
  margin-right: .5rem;
  border-bottom: 1px solid #333;
  color: #333;
}

@media screen and (min-width:769px) {
  .policy {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
  }

  #entryform .policy p.policy-txt {
    flex: 1;
    margin: 0 2rem 0 0;
  }

}

.wpcf7-not-valid-tip {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/****/
div.wpcf7-validation-errors,
form.sent #form-inner {
  display: none !important;
}

.message {
  display: none;
  padding: 5px 5%;
  background: #EEE;
  border-radius: .5rem;
  margin-top: 1rem;
}

form.sent .message {
  display: block;
}

.wpcf7-response-output {
  display: none;
}

/****/