/* ------------------------------------------------
   コンタクトフォーム
*/
.f-field {
  font-size: 14px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.f-field:not(.-no-border) {
  border-bottom: 1px solid #DDD;
}
.f-field .required {
  color: #FFF;
  background: #B30A1B;
  padding: 0 .5em;
  font-size: 13px;
  font-weight: normal;
  margin-left: .5em;  
}
form.wpcf7-form .f-field .wpcf7-validates-as-required,
.-required label.btn {
  background-color: #fde0e2;
}
.f-field > dt {
  padding: .5em 1em .75em 0;
  margin: 0;
  font-weight: bold;
}
.f-field > dd {
  flex-grow: 1;
  margin: 0;
}
.f-note {
  color: #777;
  font-weight: normal;
}
@media screen and (min-width: 768px) {
  dl.f-field {
    /*display: flex;*/
  }
  .f-field {
    margin-bottom: 30px;
    padding-bottom: 30px;
  }
  .f-field > dt {
    font-size: 18px;
  }
  .f-note {
    font-size: 13px;
  }
  .f-field > dt .f-note {
    margin-left: .5em;
  }
}
@media screen and (max-width: 767px) {
  .f-field {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  .f-note {
    font-size: 12px;
    display: block;
  }
}

.f-field select,
.f-field input[type=submit]/*,
.f-field input[type="date"]*/ {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.f-field select::-ms-expand {
  display: none;
}
.f-field,
.f-field input,
.f-field select,
.f-field textarea {
  font-size: 16px;
}
.f-field input[type="text"],
.f-field input[type="tel"],
.f-field input[type="email"],
.f-field input[type="date"],
.f-field input[type="number"],
.f-field select,
.f-field textarea,
.f-field.-radio dd,
.f-field.-checkbox dd {
  padding-top: 1em;
  padding-bottom: 1em;
  max-width: 100%;
}
.f-field dt,
.f-field input[type="text"],
.f-field input[type="email"],
.f-field input[type="date"],
.f-field textarea,
.f-field.-radio dd,
.f-field.-checkbox dd {
  /*width: 100%;*/
}
.f-field input[type="text"],
.f-field input[type="tel"],
.f-field input[type="email"],
.f-field input[type="date"],
.f-field input[type="number"],
.f-field select,
.f-field textarea {
  background: #FFF;
  padding-left: 1em;
  padding-right: 1em;
  border: 0;
}
/*
.f-field.-select dd > ::before {
  z-index: 1;
  position: absolute;
  right: 1em;
  top: 0;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #7F878C;
  pointer-events: none;
}
*/
.f-field.-select select {
  background-image: url(../images/PkIbHtmo1VI9.png);
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 8px 5px;
}

.f-field select {
  padding-right: 3em;
}
.f-field option {
  padding: 0;
}
.f-field textarea {
  width: 100%;
}
.f-field input[type="submit"].disabled.btn.-primary {
  opacity: .8;
  background: linear-gradient(to bottom right, #AAA 50%, #888 50%);
  cursor: initial;
}
.f-field input[type="submit"].btn {
  border: 0;
}
.wpcf7-checkbox .wpcf7-list-item {
  display: block;
  margin-bottom: 5px;
}
.wpcf7-not-valid-tip {
  margin-top: .25em;
  font-size: 90%;
  background: #FFF;
  border: 1px solid #dc3232;
  padding: .25em 1em;
  border-radius: .5em;
  position: relative;
  top: .5em;
  box-shadow: 1px 1px 1px rgba(0,0,0,.25);
  width: max-content;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .wpcf7-not-valid-tip {
    width: max-content;
  }
}
.wpcf7-not-valid-tip:before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  margin-left: -15px;
  border: 10px solid transparent;
  border-bottom: 10px solid #FFF;
  z-index: 2;
}

.wpcf7-not-valid-tip:after {
  content: "";
  position: absolute;
  top: -24px;
  left: 50%;
  margin-left: -17px;
  border: 12px solid transparent;
  border-bottom: 12px solid #dc3232;
  z-index: 1;
}
.cf7-modal-overlay {
  z-index: 99;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}
.cf7-modal-content {
  position: fixed;
  /*display: none;*/
  z-index: 100;
  width: 50%;
  margin: 0;
  padding: 0;
  background: #FFF;
  border: solid 1px #EEE;
  padding: 1.5em;
  box-sizing: border-box;
}
.wpcf7 .ajax-loader {
  display: block;
}

/* ------------------------------------------------
 */
/* ------------------------------------------------
 */
.f-sec {
  margin: 0;
}
.f-sec-h {
  text-align: center;
  background: #000;
  color: #FFF;
  margin-bottom: 0;
  padding: 10px 0;
}
.f-sec-h h2 {
  font-weight: normal;
  margin: 0;
}
.f-field-sec,
.f-field-sec > * {
  display: block;
}
.f-field-sec > .-h,
.f-field-sec dt {
  font-size: 14px;
  margin: 0 0 10px;
}
.f-field-sec dt p {
  display: inline;
}
.f-field-sec > .-h:before,
.f-field-sec dt:before {
  border-top: 1px solid #DDD;
  content: "";
  width: 1em; /* 線の長さ */
  margin-right: 1em; /* 文字の右隣 */
  display: inline-block;
  vertical-align: middle;
}
.f-field-sec > .-block,
.f-field-sec dd {
  margin: 10px 0 0;
}
.f-field-sec > .-block + .-block,
.f-field-sec dd + dd {
  margin: 20px 0 0;
}
@media screen and (min-width: 768px) {
  .f-sec-h h2 {
    font-size: 32px;
  }
  .f-sec-body {
    padding: 50px 0;
  }
  .f-sec-body.-inc-top-comment {
    padding-top: 30px;
  }
  .f-top-comment {
    text-align: center;
    margin-bottom: 30px;
  }
  .f-field-sec:not(:last-child) {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 767px) {
  .f-sec-h h2 {
    font-size: 20px;
  }
  .f-sec-body {
    padding: 10px;
  }
  .f-top-comment {
    margin-bottom: 20px;
  }
  .f-field-sec:not(:last-child) {
    margin-bottom: 20px;
  }
  
}

/* ------------------------------------------------
 */
.f-lesson-option {
  font-size: 14px;
  line-height: 30px;
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.f-lesson-option li:not(:last-child) {
  margin-right: 20px;
}

/* ------------------------------------------------
 */
.f-hidden {
  display: none;
}

.grecaptcha-badge { visibility: hidden; }
.recaptcha-policy {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin: 1.5em 0;
}
.recaptcha-policy a {
  color: inherit;
}
.wpcf7-spinner {
  display: block;
}

/* ------------------------------------------------
 */
.btn-label-ctn {
  display: flex;
  flex-wrap: wrap;
}
.f-field label.btn {
  font-weight: normal;
  width: 100%;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 10px;
  text-align: left;
  margin-bottom: 10px;
}
.f-field label.btn.checked {
  background: #333;
  color: #FFF;
}
.f-field label.btn input {
  margin-right: 10px;
}
@media screen and (min-width: 768px) {
  .btn-label-ctn > * {
    flex: 0 0 32%;
    max-width: 32%;
    margin: 0;
  }
  .btn-label-ctn > :not(:nth-child(3n)) {
    margin-right: 2%;
  }
  .f-field label.btn {
    font-size: 14px;
  }
}
@media screen and (max-width: 767px) {
  .btn-label-ctn > * {
    flex: 0 0 48%;
    max-width: 48%;
    margin: 0;
  }
  .btn-label-ctn > :not(:nth-child(2n)) {
    margin-right: 4%;
  }
  .f-field label.btn {
    font-size: 12px;
  }
}


.f-field input[type="date"] {
  width: 15em;
  background-image: url('../images/txRRRmdyeIAG.svg');
  background-repeat: no-repeat;
  background-position: .75em center;
  background-size: 1.5em;
  padding-left: 3em;
  min-height: 3em;
}

