@charset "UTF-8";

/*== contact
======================================================================*/
.contact {
  position: relative;
  max-width: 1200px;
  padding: 60px 20px 120px;
  margin: 0 auto;
}

@media screen and (min-width: 1024px) {
  .contact {
    padding: 80px 20px 120px;
  }
}



/*== contact-consent
======================================================================*/
.contact-consent {
  position: relative;
  max-width: 980px;
  padding: 45px 20px 120px;
  margin: 0 auto;
}

.contact-consent__title {
  text-align: center;
  font-size: 28px;
}

.contact-consent__text {
  margin-top: 30px;
}

.contact-consent__list {
  margin-top: 0;
}

.contact-consent__text a{
  color: #1955a6;
}

.contact-consent__list-item {
  text-indent: -1rem;
  margin-left: 30px;
}

.contact-consent__address {
  border: solid 1px #000;
  padding: 25px 16px;
  margin-top: 45px;
  text-align: center;
}

.contact-consent__foot {
  text-align: center;
  margin: 45px auto 0;
}

.contact-consent__foot-text {
  margin-top: 20px;
}

@media screen and (min-width: 1024px) {
  .contact-consent {
    padding: 60px 20px 120px;
  }
}



/*== contact-thanks
======================================================================*/
.contact-thanks {
  position: relative;
  max-width: 860px;
  padding: 45px 20px 120px;
  margin: 0 auto;
}

.contact-thanks__content-image {
  margin-top: 30px;
}

.contact-thanks__foot {
  text-align: center;
  margin: 45px auto 0;
}

@media screen and (min-width: 1024px) {
  .contact-thanks {
    padding: 80px 20px 120px;
  }
}



/*== cf7 レイアウト
======================================================================*/
#cf7-area {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 45px auto 120px;
}

#cf7-area .cf7-head {
  margin-bottom: 30px;
}

#cf7-area .cf7-head__note {
  font-size: 14px;
  margin-top: 5px;
}

#cf7-area .cf7-head__note + .cf7-head__note {
  margin-top: 0;
}

#cf7-area .cf7-accept {
  margin-top: 25px;
}

#cf7-area .cf7-accept__note {
  font-size: 14px;
  margin-top: 5px;
}

#cf7-area .cf7-accept__note + .cf7-accept__note {
  margin-top: 0;
}

#cf7-area .cf7-foot {
  margin-top: 45px;
}

#cf7-area table {
  text-align: left;
  border-collapse: collapse;
  border: solid #222;
  border-width: 0 0 1px 0;
}

#cf7-area table tr th,
#cf7-area table tr td {
  width: 100%;
  border: 1px solid #222;
  display: block;
}

#cf7-area table tr th {
  background: #eef2f9;
  padding: 10px 15px;
}

#cf7-area table tr td {
  padding: 20px 15px;
  border-width: 0px 1px 0px 1px;
}

#cf7-area table tr td p + p {
  margin-top: 10px;
}

@media screen and (min-width: 1024px) {
  #cf7-area {
    margin: 60px auto 120px;
  }

  #cf7-area .cf7-foot {
    margin-top: 60px;
  }

  #cf7-area table {
    width: 100%;
    border-width: 1px;
  }

  #cf7-area table tr th,
  #cf7-area table tr td {
    border: 1px solid #222;
    vertical-align: middle;
    padding: 20px 15px;
    display: table-cell;
  }

  #cf7-area table tr th {
    width: 35%;
  }

  #cf7-area table tr td {
    width: 65%;
  }
}



/*== cf7 パーツ
======================================================================*/
.required,
.optional {
  color: #fff;
  font-size: 0.8rem;
  border-radius: 3px;
  padding: 4px 8px;
  margin-right: 10px;
}

.required {
  background: #1955a6;
}

.optional {
  background: #aaa;
}

input.wpcf7-form-control.wpcf7-text,
select.wpcf7-select,
input.wpcf7-date,
textarea.wpcf7-form-control.wpcf7-textarea {
  font-size: 16px;
  width: 100%;
  padding: 10px 12px;
  margin-right: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
}

input.wpcf7-date {
  max-width: 200px;
}

.selectbox {
  max-width: 480px;
  position: relative;
}

.selectbox::after {
  position: absolute;
  content: "";
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 9px solid;
  right: 10px;
  top: 50%;
  transform: translateY(-5px);
  pointer-events: none;
}

.wpcf7-list-item {
  margin: 0 30px 0 0;
}

input[type="checkbox"] {
  background: #fff;
  border: 1px solid #e4e4e4;
  width: 15px;
  height: 15px;
  border-radius: 3px;
  margin-right: 3px;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;
  cursor: pointer;
}

input[type="radio"] {
  background: #fff;
  margin-right: 3px;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;
  cursor: pointer;
}

textarea.wpcf7-form-control.wpcf7-textarea {
  height: 240px;
  resize: vertical;
}

input.wpcf7-submit,
input.wpcf7-previous {
  font-size: 18px;
  font-weight: bold;
  line-height: 65px;
  width: 100%;
  max-width: 280px;
  padding: 0 20px;
  margin: 0 auto 15px;
  border-radius: 33px;
  display: block;
  cursor: pointer;
}

input.wpcf7-submit {
  color: #fff;
  background: #222;
}
input.wpcf7-submit:disabled {
  background: #ccc;
}

input.wpcf7-previous {
  background: #ccc;
}

span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
  color: red;
}

div.screen-reader-response {
  display: none;
}

@media screen and (min-width: 1024px) {
  input.wpcf7-submit,
  input.wpcf7-previous {
    max-width: 400px;
    line-height: 80px;
    border-radius: 40px;
  }
}
