@charset "UTF-8";

.wpcf7 .your-number {
  display: inline !important;
}
.wpcf7 form {
  margin-bottom: 80px;
  font-size: 1.6rem;
}
.wpcf7 table {
  width: 100%;
}
.wpcf7 tr {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.wpcf7 th {
  color: #2d3a4c;
  font-size: 1em !important;
  line-height: 1.4;
  width: 100%;
  text-align: left;
  vertical-align: middle;
  float: left;
}
.wpcf7 th p {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 8px;
}
.wpcf7 td {
  width: 100%;
  vertical-align: middle;
  float: left;
}
.wpcf7 .verticallist .wpcf7-list-item {
  display: block;
}
.wpcf7 input,
.wpcf7 select {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 10px 2%;
  outline: 0;
  font-size: 16px;
  width: 100%;
}
.wpcf7 textarea {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 10px 2%;
  outline: 0;
  font-size: 16px;
  width: 100%;
}
.wpcf7 .haveto {
  font-size: 13px;
  padding: 3px 8px;
  margin-left: 10px;
  position: relative;
  bottom: 1px;
  color: #fff;
  background-color: #ad151a;
  border-radius: 6px;
}
.wpcf7 .optional {
  font-size: 13px;
  padding: 3px 8px;
  margin-left: 10px;
  position: relative;
  bottom: 1px;
  color: #fff;
  background-color: #0c4a83;
  border-radius: 6px;
}
.wpcf7 .wpcf7-form-control.wpcf7-checkbox {
  display: block;
}
.wpcf7 span.wpcf7-list-item {
  position: relative;
  margin: 0 0 0 0 !important;
  /*項目ごとの余白を調整*/
}
.wpcf7 span.wpcf7-list-item {
  width: 100%;
}
.wpcf7 .wpcf7-list-item-label {
  /*項目の色や文字サイズ*/
  position: relative;
  color: #000;
  cursor: pointer;
  font-size: 16px;
  padding-top: 15px;
  margin-left: 15px;
  display: block;
}
.wpcf7 input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  /*既存のチェックボックスを見えなくする*/
}
.wpcf7 .wpcf7-list-item-label:before {
  /*チェックボックスの枠*/
  content: "";
  border: 1px solid #000;
  display: inline-block;
  width: 20px;
  height: 20px;
  position: relative;
  top: -3px;
  margin-right: 10px;
  vertical-align: middle;
  cursor: pointer;
  text-align: center;
}
.wpcf7 input[type="checkbox"]:checked + .wpcf7-list-item-label:after,
.wpcf7 input[type="radio"]:checked + .wpcf7-list-item-label:after {
  /*チェックアイコン*/
  content: "";
  display: block;
  position: absolute;
  top: 10px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: url("../img/common/check.svg") no-repeat center;
  background-size: contain;
}
.wpcf7 input[type="radio" i] {
  position: absolute;
  top: 12px;
  opacity: 1;
}
.wpcf7 .wpcf7-form-control.wpcf7-radio {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
}
.wpcf7 input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.wpcf7 .wpcf7-list-item-label:before {
  content: "";
  background: #fff;
  border-radius: 100%;
  border: 1px solid #888888;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  position: relative;
  top: -0.2em;
  margin-right: 14px;
  vertical-align: middle;
  cursor: pointer;
  text-align: center;
  -webkit-transition: all 250ms ease;
  transition: all 250ms ease;
}
.wpcf7 .pv-position::before {
  position: relative;
}
.wpcf7 .submit {
  padding-top: 35px;
  text-align: center;
}
.wpcf7 .submit .wpcf7-list-item-label {
  display: inherit;
  margin-left: 0;
}
.wpcf7 .submit .btn {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  padding: 0;
  border: none;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  font-size: 2.8rem;
  font-weight: bold;
  color: #ad151a;
  margin-right: 16px;
}
.wpcf7 .submit a {
  display: block;
  margin-top: 12px;
}
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
}
.wpcf7 .wpcf7 .wpcf7-submit:disabled {
  cursor: not-allowed;
  text-align: center;
}
.wpcf7 .wpcf7 .ajax-loader {
  width: 0;
  margin: 0;
}
.wpcf7 .wpcf7-spinner {
  display: none;
}

@media only screen and (max-width: 768px) {
  .wpcf7 tr {
    display: block;
  }
  .wpcf7 th {
    width: 100%;
  }
  .wpcf7 th p {
    margin-bottom: 0;
  }
  .wpcf7 td {
    width: 100%;
    display: block;
  }
  .wpcf7 td p {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 768px) {
  .wpcf7 tr {
    display: flex;
    margin-bottom: 30px;
  }
}

.wpcf7 .submit .btn {
  background-color: #AB131A;
  color: #ffffff;
  border-radius: 100px;
  padding: 10px;
}