.p-form-wrap {
  margin-top: 40px;
}

.c-form__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media only screen and (max-width: 600px) {
  .c-form__row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}
.c-form__row + .c-form__row {
  margin-top: 15px;
}
@media only screen and (max-width: 480px) {
  .c-form__row + .c-form__row {
    margin-top: 20px;
  }
}
.c-form__row--align-top {
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.c-form__head {
  min-width: 230px;
  max-width: 230px;
}
@media only screen and (max-width: 1023px) {
  .c-form__head {
    min-width: 180px;
    max-width: 180px;
  }
}
@media only screen and (max-width: 600px) {
  .c-form__head {
    min-width: auto;
    max-width: none;
  }
}

.c-form__detail {
  padding-left: 20px;
  width: calc(100% - 230px);
}
@media only screen and (max-width: 1023px) {
  .c-form__detail {
    width: calc(100% - 180px);
  }
}
@media only screen and (max-width: 600px) {
  .c-form__detail {
    padding-left: 0;
    margin-top: 10px;
    width: 100%;
  }
}

.c-form__text-input {
  border: 1px solid #ddd;
  background-color: #fafafa;
  padding: 10px;
  max-width: 100%;
  width: 100%;
  font-size: 16px;
}
.c-form__text-input--postcode {
  width: 100%;
}

.c-form__pulldown-wrap {
  display: inline-block;
  position: relative;
  max-width: 100%;
}
.c-form__pulldown-wrap::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  border-top: 10px solid #004382;
  border-bottom: 0;
  z-index: 1;
}

.c-form__pulldown-input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 130px;
  border: 1px solid #ddd;
  background-color: #fafafa;
  padding: 10px 35px 10px 10px;
  max-width: 100%;
}
.c-form__pulldown-input--wide {
  width: 200px;
}
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.c-form-name-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 -5px;
}

.c-form-name-flex__col {
  width: 50%;
  padding: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.c-form__head-text {
  font-weight: bold;
}
@media only screen and (max-width: 480px) {
  .c-form__head-text {
    font-size: 15px;
  }
}

.c-form-name-flex__input-wrap {
  width: 100%;
}

.c-form__post-code-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.c-form__post-code-item {
  position: relative;
  width: 80px;
}

.c-form__post-code-separator {
  margin: 0 8px;
  position: relative;
  top: 8px;
}

.c-form__required {
  color: red;
  font-weight: bold;
}

.wpcf7-not-valid-tip {
  padding-top: 5px;
}

.c-form__annotation {
  margin-top: 5px;
}

.c-form__radio input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.c-form__radio label {
  cursor: pointer;
}
.c-form__radio .wpcf7-list-item {
  margin: 0;
  display: inline-block;
  cursor: pointer;
}
.c-form__radio .wpcf7-list-item + .wpcf7-list-item {
  margin-left: 15px;
}
.c-form__radio .wpcf7-list-item-label {
  position: relative;
  padding-left: 20px;
}
.c-form__radio .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 16px;
  height: 16px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
}
.c-form__radio .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  background-color: #2d6499;
  border-radius: 50%;
  opacity: 0;
}
.c-form__radio--vertical .wpcf7-list-item {
  display: block;
}
.c-form__radio--vertical .wpcf7-list-item + .wpcf7-list-item {
  margin-left: 0;
  margin-top: 5px;
}

[type=radio]:checked + .wpcf7-list-item-label::after {
  opacity: 1;
}

.c-form__text-area {
  border: 1px solid #ddd;
  background-color: #fafafa;
  width: 100%;
  padding: 10px;
  min-width: 100%;
  max-width: 100%;
  resize: vertical;
  font-size: 16px;
}

.p-inquiry__send-btn-wrap {
  margin: 50px auto 0;
  max-width: 280px;
  position: relative;
  padding-bottom: 30px;
}
.p-inquiry__send-btn-wrap .wpcf7-spinner {
  position: absolute;
  top: auto;
  left: 50%;
  bottom: 0;
  -webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
  margin: 0;
}

.c-form__submit-btn {
  width: 100%;
  display: block;
  background-color: #2d6499;
  color: #fff;
  font-weight: bold;
  padding: 15px;
  cursor: pointer;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
@media only screen and (min-width: 768px) {
  .c-form__submit-btn:hover {
    opacity: 0.8;
  }
}

.js-inquiry-type-hint {
  display: none;
  font-weight: bold;
  background-color: #fafafa;
  padding: 10px;
}
.js-inquiry-type-hint.is-show {
  display: block;
}

.p-inquiry__hint {
  margin-top: 15px;
}

.p-thanks-head {
  text-align: center;
  font-weight: bold;
  font-size: 28px;
}
@media only screen and (max-width: 480px) {
  .p-thanks-head {
    font-size: 24px;
  }
}

.p-thanks-text {
  margin-top: 30px;
  text-align: center;
}
@media only screen and (max-width: 480px) {
  .p-thanks-text {
    margin-top: 20px;
    text-align: left;
  }
}

.p-thanks-btn {
  margin: 50px auto 0;
  max-width: 200px;
}
@media only screen and (max-width: 480px) {
  .p-thanks-btn {
    margin-top: 30px;
  }
}

.p-thanks-btn__btn {
  width: 100%;
  display: block;
  background-color: #2d6499;
  text-decoration: none !important;
  padding: 15px;
  cursor: pointer;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .p-thanks-btn__btn:hover {
    opacity: 0.8;
  }
}

.p-thanks-btn__text {
  color: #fff;
  font-weight: bold;
}