/*Contact Form 7*/
.wpcf7 {
  margin-bottom: 3rem;
}

.wpcf7 p {
  margin: 0 !important;
}

.wpcf7 h4 {
  margin-bottom: 1rem !important;
}

.form_title {
  font-weight: bold;
}

.form_required {
  color: red;
}

.cf7_name {
  margin-bottom: 3rem;
}

.cf7_name input {
  width: 100%;
  padding: 10px;
  border-radius: 3px;
  border: solid 2px #707070;
  box-sizing: border-box;
  font-size: 1.8rem;
}

.cf7_mail {
  margin-bottom: 3rem;
}

.cf7_mail input {
  width: 100%;
  padding: 10px;
  border-radius: 3px;
  border: solid 2px #707070;
  box-sizing: border-box;
  font-size: 1.8rem;
}

.cf7_textarea {
  margin-bottom: 3rem;
}

.cf7_textarea textarea {
  width: 100%;
  padding: 10px;
  border-radius: 3px;
  border: solid 2px #707070;
  box-sizing: border-box;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

.cf7_checkbox {
  margin-top: 10px;
  margin-bottom: 3rem;
}

.cf7_checkbox table {
  width: 100%;
}

.cf7_checkbox th {
  padding: 20px 10px;
  margin-top: 30px;
  border-radius: 3px;
  border: solid 2px #707070;
  box-sizing: border-box;
  vertical-align: middle;
  background-color: #eeefe7;
  font-size: 1.8rem;
}

.cf7_checkbox td {
  padding: 20px 10px;
  margin-top: 30px;
  border-radius: 3px;
  border: solid 2px #707070;
  box-sizing: border-box;
  font-size: 1.8rem;
}

.form_check input {
  width: auto !important;
  margin-bottom: 12px !important;
}

.wpcf7-checkbox .last {
  margin-bottom: 0 !important;
}

.cf7_date {
  margin-top: 2rem;
  margin-bottom: 30px;
}

.cf7_date input {
  padding: 10px;
  border-radius: 3px;
  border: solid 2px #707070;
  box-sizing: border-box;
  font-size: 1.8rem;
}

.cf7_date .form_day {
  width: 35%;
  margin: 0 2.5%;
}

.cf7_date .form_time {
  width: 55%;
  margin: 0 2.5%;
}

.cf7_date table {
  width: 100%;
}

.cf7_date th {
  min-width: 310px;
  padding: 20px 10px;
  margin-top: 30px;
  border-radius: 3px;
  border: solid 2px #707070;
  background-color: #eeefe7;
  box-sizing: border-box;
  vertical-align: middle;
  font-size: 1.8rem;
}

.cf7_date td {
  padding: 20px 10px;
  margin-top: 30px;
  border-radius: 3px;
  border: solid 2px #707070;
  box-sizing: border-box;
  font-size: 1.8rem;
}

.wpcf7-list-item {
  margin: 0 0 10px !important;
  display: block !important;
}

.cf7_btn p {
  display: flex;
  justify-content: center;
}

.cf7_btn p .wpcf7-submit {
  width: 20vw;
  min-width: 220px;
  margin-top: 30px;
  padding: 20px;
  border: solid 2px #DF8400 !important;
  border-radius: 8px;
  color: white;
  background-color: #DF8400;
  font-size: 2.0rem;
  font-weight: bold;
}

.cf7_btn p .wpcf7-submit:hover {
  background-color: white;
  color: #DF8400;
  transition: 0.3s;
}

.wpcf7-spinner {
  display: none !important;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* Easy Table of Contents */
#ez-toc-container {
  margin: 60px 0px !important;
  padding: 15px !important;
  border-top: dotted 3px #000 !important;
  border-bottom: dotted 3px #000 !important;
}

.ez-toc-title-container {
  text-align: center !important;
}

.ez-toc-title {
  display: block !important;
  margin: 10px !important;
  text-align: center !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

.ez-toc-list {
  display: block !important;
  margin: 10px 9px !important;
  padding: 0 0 0 20px !important;
  list-style: decimal !important;
  color: #545454 !important;
  font-weight: 700 !important;
}

.ez-toc-list li a {
  display: block !important;
  padding: 6px 0 !important;
  color: #545454 !important;
  letter-spacing: 1px !important;
  line-height: 2 !important;
}

.ez-toc-list li a:hover {
  color: #777e41 !important;
}

/* Simple Author Box */
.saboxplugin-wrap .saboxplugin-authorname a {
  pointer-events: none;
}

/* Turn Yoast SEO FAQ Block to Accordion
WPプラグインファイルエディターで直接編集 */


@media screen and (max-width: 1024px) {}

@media screen and (max-width: 599px) {

  /*Contact Form 7*/
  .cf7_checkbox th {
    display: block;
    width: 100%;
    margin-top: 0px;
    border-bottom: 0px;
    border-radius: 3px 3px 0 0;
  }

  .cf7_checkbox td {
    display: block;
    width: 100%;
    margin-top: 0px;
    border-top: 0px;
    border-radius: 0px 0px 3px 3px;
  }

  .cf7_date th {
    display: block;
    width: 100%;
    margin-top: 0px;
    border-bottom: 0px;
    border-radius: 3px 3px 0 0;
  }

  .cf7_date td {
    display: block;
    width: 100%;
    margin-top: 0px;
    border-top: 0px;
    border-radius: 0px 0px 3px 3px;
    border-bottom-width: 0px;
    border-radius: 0px;
  }

  .cf7_date td:last-child {
    padding-top: 10px;
  }

  .cf7_date tr:last-child td:last-child {
    border-bottom-width: 2px;
  }

  /* Easy Table of Contents */
  #ez-toc-container {
    padding: 15px 0 !important;
  }

  .ez-toc-list li a {
    padding: 3px 0 !important;
  }
}